I'm developing a custom module that calls hook_update_N.
When I got to the testing phase, I backed up my DB ( $ mysqldump --skip-opt --add-drop-table -u USER -pPASSWORD DB > FILE.sql)
The update didn't quite do what I wanted it to, so I restored the database ( $ mysql -u USER -pPASSWORD DB < FILE.sql), changed the code, and tried again.
Now it doesn't work at all. Whenever I run update.php, I get probably 100+ errors along the lines of:
I put my site into maintenance mode and upgraded the ctools module. After the upgrade I am unable to access the main page. It comes up completely white with no errors. I tried increasing the memory available and adding the error logging to the index.php file with no success. The /user and /?q=user pages are also completely blank. I can access update.php but it gives me the access denied error and tells me to change $update_free_access = FALSE; to TRUE in settings.php still with no success it still takes me to the access denied page.
This is the first time I have upgraded a version of Drupal. (I've done Wordpress before though).
I followed the instructions to do a Minor Version Update 7.0 Beta3 (from Beta2) all the way to checking the Admin > Reports > Status to see if any problems. However, rather than go to Admin > Configuration > development > Maintenance mode to turn site back on, I was tempted by an option to do it on the Report status page. So I clicked it and now the site is stuck offline in Maintenance Mode.
I have built the base from my web-site - everything is ready except the content - I have to start adding content and put it live.
I built the web-site with Drupal 6, but as I am about to put all the content in it - product picture, articles etc. I am wondering if I should upgrade to Drupal 7 so that I do not do it after that with all the content.
The last changelog that appears on the changelog.txt is of 5.1, but I'm not sure of its version, cause I remember installing drupal 4, not 5.
So, now I want to upgrade to last 6.x version, and I wonder if there is a guideline for upgrading it.
I dont need to keep any theme or module, just my database.