Small Upgrade Beta 4 to RC1 - White Screen

Started by Redgie, May 14, 2009, 04:59:44 AM

Previous topic - Next topic

Redgie

So I just did the upgrade from B4 to RC1, uploaded the files, overwrote old ones, ran the upgrade, only thing it complained about was the youtube embedding mod but it repaired that and carried on, installation finished successfully (or so it told me), now anywhere on my forum (www.redgies-rp.co.uk/forum/index.php) is just a white screen. Not sure where to go from here, errors from today are:

Quote[14-May-2009 02:13:38] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/august29/public_html/michellelazur/index.php:1) in Unknown on line 0
[14-May-2009 02:13:38] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/august29/public_html/michellelazur/index.php:1) in Unknown on line 0
[14-May-2009 04:18:53] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 13631504 bytes) in /home/redgiesr/public_html/forum/Sources/DbExtra-mysql.php on line 281
[14-May-2009 04:20:13] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 13631504 bytes) in /home/redgiesr/public_html/forum/Sources/DbExtra-mysql.php on line 281
[14-May-2009 04:20:13] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 13631504 bytes) in /home/redgiesr/public_html/forum/Sources/DbExtra-mysql.php on line 281
[14-May-2009 04:25:48] PHP Warning:  require_once(/home/redgiesr/public_html/forum/Sources/Subs-Db-mysql.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/redgiesr/public_html/forum/Sources/Load.php on line 2297
[14-May-2009 04:25:48] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/redgiesr/public_html/forum/Sources/Subs-Db-mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/redgiesr/public_html/forum/Sources/Load.php on line 2297
[14-May-2009 04:43:52] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/redgiesr/public_html/forum/Sources/Subs-Aevac.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/redgiesr/public_html/forum/Sources/Subs.php on line 2385
[14-May-2009 04:44:13] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/redgiesr/public_html/forum/Sources/Subs-Aevac.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/redgiesr/public_html/forum/Sources/Subs.php on line 2385
[14-May-2009 04:46:51] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/redgiesr/public_html/forum/Sources/Subs-Aevac.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/redgiesr/public_html/forum/Sources/Subs.php on line 2385

Any help is much appreciated, thanks!

EDIT: Posted in the 2.x section as well as the ugrade help section as I don't know if this was caused by the upgrade or the version of SMF, I will remove whiechever is deemed less appropriate by a moderator :)

JimM

Two things to check.  Make sure the index.php file in the /forum directory is complete.  If not, FTP the file from the upgrade pack.  Also take a look at you Settings.php file and make sure it contains all the correct info.
Jim "JimM" Moore
Former Support Specialist

Redgie

Both files seem fine, however I'm not entirely sure what to look for. index.php ends with the normal ?php> and looks normal to me, nothing obvious sticks out, and settings.php all seems to be correct.

Would it be worth uploading the index.php to be sure anyway?

JimM

I'm not sure I would overwrite it but compare the one from the upgrade package with the one on your forum.
Jim "JimM" Moore
Former Support Specialist

Redgie

Side to side comparison shows no differences, total lines are the same

Redgie

Tried upgrading to the full version of RC1 as that helped some people, still got the same problem.

Before doing all this, I made a MySQL backup using PhpMyAdmin, if I were to reinstall the forum from scratch and then replace all the MySQL with that stuff, would that recover everything?

Redgie

I hate to bump this but I'm in desperate need of help, my forum has now been down for 2 days and really needs to get back up. Thanks.

JimM

You database contains all the important data.  If you didn't take a full backup before attempting the upgrade, then about your only choice is to try a reinstall.  Have you looked at the database with phpMyAdmin to make sure the upgrade took? 

Have you tried refreshing all the upgrade files in case there was a problem with FTP?
Jim "JimM" Moore
Former Support Specialist

Redgie

Thanks for the reply.

Unfortunately Opera told me the full backup was downloaded, and in my naiviety I didn't check, but later realised it said it was done but had downloaded nothing.

When you say reinstall, do you mean delete /forum, reinstall it, and putt all the MySQL stuff back over?

I have tried 2 installs, so I shouldn't think the FTP is at fault, are there any particular files you would suggest refreshing?

babjusi

Look, can you log in to phpmyadmin and have a look at the smf_settings table and see what version it says there?

If you already reuploaded twice the files without any result, then I doubt as well that it could be a dropping problem with ftp.

About the db backup, open up the file and see if there is content in it. Cos without a backup, you can''t roll back the easy way.

For future reference, smf has a very nice option when you upgrade your forum, that it allows you to backup all the smf db tables in the database and stores them with the backup_prefix.

Redgie

Thanks for the reply babjusi.

I have just checked the current smf_settings and it is "smfVersion   2.0 RC1" whereas the backup I have is "('smfVersion', '2.0 Beta 4'),", this is understandable as the backup was taken prior to change and the first mentioned is the current one.

The pre-upgrade MySQL backup is about 600,000 lines long and looks about right with the correct content.

I know it does a backup, I selected that option but wasn't sure exactly where that left me, if you could shed any lgiht on that it would be great, thanks.

And thanks again for the help :)

babjusi

Well, if you selected the backup option before you ran the upgrader, look at the db that your forum resides on if there are tables there with the prefix backup

Redgie

There are, but unfortunately from when when I went from the small RC1 to the Large RC1 in the hope that it would help, so it is only a backup of the database after the forum had already broken.

However, I do still have the Database from before it all, so presumably that could serve the same purpose?

babjusi

Quote from: Redgie on May 16, 2009, 12:35:16 PM
There are, but unfortunately from when when I went from the small RC1 to the Large RC1 in the hope that it would help, so it is only a backup of the database after the forum had already broken.

However, I do still have the Database from before it all, so presumably that could serve the same purpose?

Yes, you can use the backup that you made from before it all. That will do as well :)

Redgie

So I should re-install BETA 4, then copy the database back over the new database, then it will be done?

Thanks again for the reply :)

babjusi

Quote from: Redgie on May 16, 2009, 04:05:09 PM
So I should re-install BETA 4, then copy the database back over the new database, then it will be done?

Thanks again for the reply :)

Yes. Simply restore the db backup copy and upload the files from the beta 4 package. And you should be all set :)

Redgie

Great thanks alot, is it just a case of deleting the current /forum, then uploading the BETA 4 installation stuff or is there a specific way to remove a forum that I don't know of :P

Thanks again, hopefully this will be the last one!

JimM

You should be able to overwrite the files instead of deleting.  It really doesn't matter.  Your choice on how you do it.  Let us know how it goes.
Jim "JimM" Moore
Former Support Specialist

Redgie

Okay heres the latest, I found an FTP backup I made just before all of this hidden away and uploaded it, the forum is now working perfectly as far as I can see, but the database is still RC1, all the data is there and working fine, is this an issue? I'm assuming B4 and RC1 both use the saame DB structures? If so, I'm wondering if I should use the motto of if it aint broke don't fix it...

JimM

If it's working then you should be ok.  Glad you had a backup.  It's always a good practice to take a full file and database backup prior to attempting to upgrade.

Jim "JimM" Moore
Former Support Specialist

Advertisement: