Migration Problems, Blank Screen of Death
But, at this point, all I'm getting when I visit the new site is a blank page. I figure that the app is running into a PHP or MySQL error somewhere along the way and not displaying it. In hindsight, I probably should've changed the debug level from Production to Development in the dashboard before I migrated the app, but I didn't. Now that I can't get to the dashboard at my new install, does anyone know what settings to change to get errors to output?
I also did not disable/clear the cache or disable pretty URLs pre-flight, which I probably should have. If anyone has any experience or tips on what to try to get something to work, please let me know.
Set SITE_DEBUG_LEVEL to 1
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [-32000: Cache write error] in ...
I got the homepage to load once (turned out some of my database was missing), but I still can't reach the dashboard, and am just getting more blank screens since (but at least I'm getting errors output now). So, any tips on disabling the cache without dashboard access?
So now I have to figure out how to change owners on my thousands of files.
Depending on the needs of the webserver in an ssh session
is your friend here.
and the discussion thread the bottom(specifically @mnkras's comment)
So I was happily chown'ing and chgrp'ing my files and folders, and I was about to chown my whole web root recursively, when I accidentally hit the 'return' key after typing:
chown -Rv tms /
eh heh…… Of course I was intending to chown /home/tms/web/public, but instead I got to watch the verbose output of my entire machine being chown'd to tms. Doh!
I tried changing ownership back to root where applicable, but I'm afraid there were some other users in there, like sys and bin and stuff. My database has disappeared (probably because I lost permission to read it). So basically I'm screwed until Joyent bails me out.
If you can't use a MySQL database administrative panel then you can also do this.
Place this somewhere in your site php and view your page
$db = Loader::db(); $db->Execute("UPDATE `Config` SET `cfValue`=1 WHERE `cfKey`='SITE_DEBUG_LEVEL'");
Then remove it after you view it and you should be in dev mode.