Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
RapNation Posted March 21, 2013 Posted March 21, 2013 Recently moved from shared hosting to a VPS The VPS is running lighttpd, PHP (previously 5.4.x but I just downgraded it to 5.3.3.7) and MySQL 5.5 Everything is working fine after changing the DB login details, etc.. and restoring the backup from the old server. However, when enabling/disabling/making any add-on modifications, I just get a plain white screen. I have checked the error logs, and nothing shows up. I also get the blank page when selecting recache apps. Enabling/disabling hooks is fine though. What could be causing this?
AndyF Posted March 21, 2013 Posted March 21, 2013 Blank pages are still usually a php error, sometimes hidden. Try this: Open /initdata.php and just after the opening tag on a new line add: ini_set('display_errors',1); Save / upload. Now try again to see if the real error is displayed, if not have a look here (external link) > http://invisionfocus.com/tutorials/article/149-blankwhite-pages/
RapNation Posted March 21, 2013 Author Posted March 21, 2013 thanks, just added error reporting, changed error reporting to E_ALL, and all I get is a bunch of notices about the themes I enabled it, get a white screen, go back and refresh, and the app shows in "enabled" but I can't change any settings or the tabs don't show up after restoring the backup (ALL web files, and the entire DB) I made sure the owner is www-data for everything, and even changed permissions to 777 (it's not a shared server) but nothing :(
AndyF Posted March 21, 2013 Posted March 21, 2013 I wonder if that's the problem as locally I cannot get php5.3 to run with mysql 5.5, specifically 5.3.4 with mysql 5.5.24, going to php5.4.3 and everything worked immediately. I'm not really sure what else to suggest as server configuration is well beyond my area. Is it a totally unmanaged / unsupported VPS ? Perhaps the host can at least shed a bit of light on the likely causes if nothing else ?
RapNation Posted March 21, 2013 Author Posted March 21, 2013 Nah, it's an unmanaged VPS I'm gonna message the old hosts and ask them what version of PHP they were using (the SQL backup says they were running 5.1) I can't imagine the MySQL version making a difference though? Thanks for the help Andy!
AndyF Posted March 21, 2013 Posted March 21, 2013 You're welcome, sorry I could not help anymore. :smile: You could try in Server Management with a new topic or I could drop this one into there if you prefer. I'm not sure my version problem is the cause although I do know with Wamp locally those versions do not play nicely together here for me but going up to 5.4 with mysql5 and its fine, its the only thing I could immediately think of (as I say sever config is not my area at all)
AndyF Posted March 22, 2013 Posted March 22, 2013 Topic moved to Server Management, Resources, Optimization as requested.
Dmacleo Posted March 22, 2013 Posted March 22, 2013 I see this sometimes when using varnish, restarting apache always fixes it for me. not sure if lightptd works that way. when it happens I just trigger the apache restart and its fixed.
Grumpy Posted March 23, 2013 Posted March 23, 2013 thanks, just added error reporting, changed error reporting to E_ALL, and all I get is a bunch of notices about the themes I enabled it, get a white screen, go back and refresh, and the app shows in "enabled" but I can't change any settings or the tabs don't show up after restoring the backup (ALL web files, and the entire DB) I made sure the owner is www-data for everything, and even changed permissions to 777 (it's not a shared server) but nothing :sad: Just random tip (didn't read much in this thread...) Don't use E_ALL when trying to get to the root of such problems. It will give way too many junk that'll get in the way of finding the actual problem. Try something like... E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT so that you can get to the root of your critical issue first.
RapNation Posted March 23, 2013 Author Posted March 23, 2013 Thanks, will keep that in mind. However, this appears to be the error causing issues 2013-03-23 18:00:19: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Warning: Illegal string offset 'required_applications' in /var/www/forum/admin/applications/core/modules_admin/applications/hooks.php on line 3341 Any ideas? Thanks Edit: nvm, only a warning anyway :(
Dmacleo Posted March 25, 2013 Posted March 25, 2013 seen that error on cpanel server running apache caused by a file ownership (chown) after changing php handlers however it did not cause white page for me.
RapNation Posted April 1, 2013 Author Posted April 1, 2013 seems it was caused by not having ioncube installed on the server thanks IP support :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.