Upgrade from 2.3.5 to 3.0.0 not working [message #167506] |
Wed, 04 July 2012 17:14 |
AutoHost
Messages: 99 Registered: October 2002
Karma: 0
|
Member |
|
|
When I run upgrade.php I get the following error after authenticating:
ERROR: Unknown column 'users_opt' in 'where clause'
QUERY: SELECT id FROM fud23_users WHERE login='ron' AND passwd='XXXX' AND (users_opt & 1048576) > 0
Looks like FudForum 2.3.5 doesn't have a 'users_opt' column.
Where are the old upgrade scripts, so I can attempt to upgrade in smaller steps?
Ron Miller
Stars! AutoHost
[Updated on: Wed, 04 July 2012 17:14] Report message to a moderator
|
|
|
|
|
|
Re: Upgrade from 2.3.5 to 3.0.0 not working [message #167511 is a reply to message #167510] |
Thu, 05 July 2012 04:06 |
dennisp
Messages: 49 Registered: December 2004 Location: Belize
Karma: 0
|
Member |
|
|
Screen 1) After adding the users_opt field and running upgrade.php for the first time.
--------------------------------------------------------------------------- -------------------------
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 42
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 43
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 44
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 46
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 47
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 48
Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 50
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 54
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 57
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 58
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 59
After the above, I had the login screen for the admin user to authenticate and start upgrade.
In the login screen there is a check box asking "Have you manually modified FUDforum's SQL structure? (leave unchecked if unsure)"
Not sure what ramifications that has....
[Updated on: Thu, 05 July 2012 04:07] Report message to a moderator
|
|
|
Re: Upgrade from 2.3.5 to 3.0.0 not working [message #167512 is a reply to message #167511] |
Thu, 05 July 2012 04:12 |
dennisp
Messages: 49 Registered: December 2004 Location: Belize
Karma: 0
|
Member |
|
|
After Login as admin:
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 42
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 43
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 44
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 46
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 47
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 48
Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 50
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 54
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 57
Warning: array_walk() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 58
Warning: reset() expects parameter 1 to be array, null given in D:\xampp\htdocs\sah\forum\include\reg_globals.inc on line 59
Do the upgrade
Checking if SQL permissions to perform the upgrade are available.
Disabling the forum.
Forum is now disabled.
Beginning the file upgrade process.
Beginning to decompress the archive.
Finished decompressing the archive.
File Upgrade Complete.
All changed files were backed up to: "D:\xampp\htdocs\sah\forum/errors/.backup/".
Beginning SQL Upgrades.
Convert table fud23_action_log to UTF-8.
Convert table fud23_announce to UTF-8.
Convert table fud23_ann_forums to UTF-8.
Convert table fud23_attach to UTF-8.
Convert table fud23_avatar to UTF-8.
Convert table fud23_blocked_logins to UTF-8.
Convert table fud23_buddy to UTF-8.
Convert table fud23_cat to UTF-8.
Convert table fud23_custom_tags to UTF-8.
Convert table fud23_email_block to UTF-8.
Convert table fud23_ext_block to UTF-8.
Convert table fud23_forum to UTF-8.
Convert table fud23_forum_notify to UTF-8.
Convert table fud23_forum_read to UTF-8.
Convert table fud23_groups to UTF-8.
Convert table fud23_group_cache to UTF-8.
Convert table fud23_group_members to UTF-8.
Convert table fud23_group_resources to UTF-8.
Convert table fud23_index to UTF-8.
Convert table fud23_ip_block to UTF-8.
Convert table fud23_level to UTF-8.
Convert table fud23_mime to UTF-8.
Convert table fud23_mlist to UTF-8.
Convert table fud23_mod to UTF-8.
Convert table fud23_mod_que to UTF-8.
Convert table fud23_msg to UTF-8.
Convert table fud23_msg_report to UTF-8.
Convert table fud23_nntp to UTF-8.
Convert table fud23_pmsg to UTF-8.
Convert table fud23_poll to UTF-8.
Convert table fud23_poll_opt to UTF-8.
Convert table fud23_poll_opt_track to UTF-8.
Convert table fud23_read to UTF-8.
Convert table fud23_replace to UTF-8.
Convert table fud23_search to UTF-8.
Convert table fud23_ses to UTF-8.
Convert table fud23_smiley to UTF-8.
Convert table fud23_themes to UTF-8.
Convert table fud23_thread to UTF-8.
Convert table fud23_thread_notify to UTF-8.
Convert table fud23_thread_rate_track to UTF-8.
Convert table fud23_thr_exchange to UTF-8.
Convert table fud23_title_index to UTF-8.
Convert table fud23_users to UTF-8.
Convert table fud23_user_ignore to UTF-8.
SQL Upgrades Complete.
Creating Avatar Cache.
Reserving id for anon users
Adding GLOBAL Variables.
Compiling theme default.
Executing the Consistency Checker.
If the popup with the consistency checker failed to appear you MUST >> click here << to complete the upgrade.
Please remove the upgrade script to prevent hackers from running it. The script is located at D:\xampp\htdocs\sah\2-3-5\upgrade.php
Also another window poppedup/opened asking me to login as admin. Assuming for consistency check.
|
|
|
|
|
|
|
|
|
Re: Upgrade from 2.3.5 to 3.0.0 not working [message #167522 is a reply to message #167520] |
Thu, 05 July 2012 10:36 |
dennisp
Messages: 49 Registered: December 2004 Location: Belize
Karma: 0
|
Member |
|
|
But as Autohost said and as I tried, the upgrade script fails with the following error:
ERROR: Unknown column 'users_opt' in 'where clause'
QUERY: SELECT id FROM fud23_users WHERE login='ron' AND passwd='XXXX' AND (users_opt & 1048576) > 0
I can confirm since I tried to upgrade from 2.3.5 to 3.0.0 to test it out.
Hence I suggested that one put it in manually.
Because of said error: Autohost wanted to do an incremental upgrade from 2.3.5 to probably 2.5 or something and then go to 3.0.0 and was thus looking for the relevant upgrade scripts.
What do you think is the way around this? or through it?
[Updated on: Thu, 05 July 2012 10:37] Report message to a moderator
|
|
|
|
|
|
|