Only /admin/* pages are not loading. All other pages seem to be loading fine - perhaps somewhat slower than on the devel server - but all loading.
Here are differences:
1. PHP - both are 5.2x - fine, no difference
2. MySQL - devel was 4.1 production is 5.x The database seemed to move OK via phpMyAdmin export then import.
But mysqli is not installed on production server so I had to change database connection string from:
$db_url = 'mysqli://username:password@localhost/databasename';
to:
$db_url = 'mysql://username:password@localhost/databasename';
---- I am thinking the MySQL thing is the problem, though possibly stuff below is -----
3. I am running the production site in a folder to test before putting it in server root.
$base_url = 'http://123.123.23.24/folder';
4. I am using the domain access module and have posted about this there:
Thanks for any advice.
Comments
To be clear, I can log in
To be clear, I can log in fine to the production site and it does not appear to be any kind of access control problem to get to the admin pages. There is no error or access denied message - the /admin/* pages just try to load but never load.
Update Status module was the problem
I just wanted to update that the problem I encountered when moving to the production server had something to do with Update Status module. When I disabled it (via phpMyAdmin - go to system table and set status of module to 0) I could then get to my production sites admin pages. Perhaps Update Status was hanging trying to phone home or whatever it does.
Thanks for the tip. I just
Thanks for the tip.
I just encountered the same scenario. It seemed as if all of a sudden, I could not access any administration page without timing out. Your solution worked for me.
THANKS RICK
After battling for 4 days on this, blaming everyone from my hosting provider (they just moved all of our folders to another box), all the way to COMCAST (they had issues, too), your fix totally saved me. I am under trememdous pressure to fix this particular site as the request came last week and i have been DOWN HARD since.
THANK YOU!!!!
Changing the update field in the system table TOTALLY fixed it.
Fixed for me too
In my case, there was an issue moving a site from our live server to a dev server. To be more specific about the fix, look in the system table in the database for a row where the filename field refers to modules/update/update.module. Edit the row, changing the value in the status field from 1 to 0. When you reload the admin page and visit admin/reports/status, you'll notice that Update Notifications are now disabled. The problem you were having could quite possibly relate to http://drupal.org/node/245990.
This worked to get my admin
This worked to get my admin pages back up and functional... but how do I get the update status module working again?
worked for me too, but....
what causes this and how do I re-enable the update module?
This fixed the problem (at
This fixed the problem (at least temporarily) for my local dev site. A bit of an annoying problem, but no major issue whilst i test out various items.
Nice trick !
Apparently when moving drupal 5 sites with update_status module activated, admin section is getting stuck.
So login to your database and run this query :
# if mysql
use %DRUPAL_DATABASE_NAME%;
update system SET status=0 where name='update_status';
# fi mysql
Thanks a lot for this piece of advice !!!
this is what fixed for me..
I increased PHP Memory allowance by adding the following to the settings.php file
ini_set('memory_limit', '32M'); // increased memory size to 32M
Rick's answer saved me!
Rick's answer saved me! thanks a lot.
Still Relevant in D6
I came across this issue when my office updated from 32bit XP to Windows 7 64bit, requiring an updated WAMP Server. My data dump worked fine, all of the content pages loaded but the admin pages just timed out.
The only difference to note for Rick's Fix in Drupal 6 is that the field name is now simply called 'update,' rather than 'update_status'.