upgrade problem [message #17000] |
Tue, 09 March 2004 15:24 |
zhangming
Messages: 24 Registered: March 2004
Karma: 0
|
Junior Member |
|
|
I'm upgrading from 2.3 to 2.6 using upgrade script dated 1/4/04.
First of all, is there a bug in line 444 about $k vs k?
As I watched, the script tried to upate the users table by first creating a tmp version of each of the MYI and MYD files, but as soon as the size of the tmp files reach the size of the originals, the script stops and prompts me for login again. Once I logged in, the process will start all over again.
When I first stared I saw some message on my screen, but not any more, now, as soon as I log in, the script goes directly to the users table, and spins wheels there.
Any suggestions? Thanks!
|
|
|
Re: upgrade problem [message #17001 is a reply to message #17000] |
Tue, 09 March 2004 15:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The typo online 444 was fixed, thanks for letting me know about the problem.
Which database backend are you using? (name & version please)
Could you please add a .txt file with the structure of your users table.
FUDforum Core Developer
|
|
|
|
Re: upgrade problem [message #17003 is a reply to message #17002] |
Tue, 09 March 2004 16:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ok.
The temporary 'tables' that are being created are actually being created by MySQL when it modified the table structure of the table. Your table needs quite a few modifications performed on it.
The fact that the script stops implies some sort of an error, that I would expect to see on screen. Please check the following:
1) Make sure that PHP errors would be displayed on screen of they are not that they are logged to a file (check that file for errors).
2) Check your webserver log to see if perhaps PHP/Apache is crashing?
3) Try modifying the function q($query) to print the $query string to screen so you can see on what query does it die.
4) Ensure that your MySQL data directory has sufficient space.
FUDforum Core Developer
|
|
|
|
Re: upgrade problem [message #17007 is a reply to message #17006] |
Tue, 09 March 2004 16:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To edit the file follow these simple instructions:
1) Get a new files from the FUDforum upgrade archive.
2) Add echo
<?php $query ."<br />\n"; ?>
inside the q() function before the query execution.
3) Save the file, (before you save the file make sure that your editor didn't wordwrap the file or convert \n to \r\n).
FUDforum Core Developer
|
|
|
|
|
Re: upgrade problem [message #17014 is a reply to message #17000] |
Tue, 09 March 2004 17:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you want give me access to the server and I'll try to figure out and resolve the problem. It is possible that there is a bug in the upgrade script, which is why you are having all these problems.
FUDforum Core Developer
|
|
|
|
|
|
Re: upgrade problem [message #17051 is a reply to message #17046] |
Fri, 12 March 2004 20:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The SQL modifications that may take a long time (you probably have a very large forum) will not happen if they already occurred. The changes that are being made based on the table structure comparison, if it is good the previously made changes were successful it won't try to re-apply them.
The function pmsg_fldr() will be called right after fldr field was added to pmsg table.
FUDforum Core Developer
|
|
|
|
Re: upgrade problem [message #17111 is a reply to message #17105] |
Wed, 17 March 2004 14:48 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Could you do me a favor and send me the complete table structure of all your forum tables (without data).
FUDforum Core Developer
|
|
|
|
|
Re: upgrade problem [message #17143 is a reply to message #17119] |
Thu, 18 March 2004 13:13 |
zhangming
Messages: 24 Registered: March 2004
Karma: 0
|
Junior Member |
|
|
With 2.61 I've gone further this time, but it stopped again at a later place, please advice!
Reserving id for anon users
Q: SELECT * FROM fud23_users WHERE id=1
Q: INSERT INTO fud23_users (id, login, alias, time_zone, theme, email, passwd, name, users_opt) VALUES(1, 'Anonymous Coward', 'Anonymous Coward', 'America/Montreal', 1, 'dev@null', '1', 'Anonymous Coward', 4488117)
Q: SELECT * FROM fud23_stats_cache
Q: INSERT INTO fud23_stats_cache VALUES(0,0,0,0,0,0,0)
Q: UPDATE fud23_ses SET action=REPLACE(action, 'http://bb.prohost.org/mm/', '')
Adding GLOBAL Variables
Q: SELECT theme, lang, name FROM fud23_themes WHERE (theme_opt & 1) > 0 OR id=1
Compiling theme default
Undefined template: "iemail_CHARSET" inside "iemail.inc.t"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|