Hi,
I'm hoping that someone can help with the following. I'm a bit of a newb with this stuff, so I'm betting it's something I didn't do properly.
When trying to run update.php after over-writing all the 6.9 folders with the 6.10 ones, I get the following:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 901 bytes) in /home/costarm/public_html/includes/database.mysql-common.inc on line 41
Run update again, and I get:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 76 bytes) in /home/costarm/public_html/includes/bootstrap.inc on line 501
Also, the admin interface now seems completely different; unless that's a factor of a pootched Drupal install. How do I manage modules? Where do I switch back to on-line mode? There are currently only three admin choices available:
- Content Management (no tasks available)
- Site Building/Blocks
- Site Configuration/Actions (able to add advanced actions from a pop-up list)
- User Management/Access Rules (and there's no way to add a rule)
- Reports (I don't seem to have any administrative tasks set up)
Is there THAT much difference between 6.9 & 6.10, or is there something seriously broken?
Comments
The problem is what the error
The problem is what the error message says. Your PHP memory limit is 32M and Drupal needed a few bytes more for that page. Obviously you were already "almost" out of memory.
You need to increase your PHP memory limit to 48M or 64M, or remove some modules. See http://drupal.org/node/207036
After you fix the problem, run update.php again to rebuild the menus.
To switch to online mode, login at the /user page and then go to /admin/settings/site-maintenance
Doh! I really feel dumb!
Yep, reading the message would help, wouldn't it?
Thanks once again for the pointer, cog.rusty. So, now I've set the .htaccess PHP memory setting to
and I now get:
Possibly a limit set by my hosting company?
Also, I've tried a couple of experiments with settings. With .htaccess edited to
and no change to settings.php, I still get the message above.
With .htaccess unchanged (the above commented out), and the settings.php file changed to include
One other wierd thing; settings.php shows a modified date of 01/01/70 12:00 AM. Trash it and start again?
I can get back to the "Site Off-line for technical problems" screen. And, I can't login with "http://www.co-starmedia.com/?q=user"
It is possible that your
It is possible that your server restricts the use of .htaccess for some settings, but the ini_set() line in your settings.php should work. Doesn't it?
Don't worry about the file date, it doesn't matter.
Notice the error message at the end of your "off-line" screen. It says "Access denied for user 'costarm_drpl1'@'192.168.2.7' (using password: YES)." Maybe some of your login information are wrong and you need to fix them in your settings.php file, $db_url line.
DB_user access problem
Hi cog.rusty
I successfully edited both .htaccess and settings.php (after changing permissions on both to do so). I had success with the settings.php change, but not with the .htaccess change, having tried first one, then both, then the other.
I've got my hosting tech support on it now. The funny thing is that the DB username hasn't changed from 6.9 to 6.10, nor has the password for that db & userID, so something may have gone corrupt in the DB? I've run repair on it a couple of times.
Aha!!! Problem identified! It was something weird happened to the settings.php file. Somehow, and I didn't change it, the url setting got changed from "localhost" to an IP address. The tech guy sorted it out, and bang, it's now working, going through the updates.
Still running through Update.php
After several hours, update.php just runs on and on. When I close the window, and try and log back on (site is still in maintenance mode) with /?q=user, I've got a partially working site, as described in the initial post. I have increased the php memory settings, and removed all but the core modules, but still have a pootched site.
Further suggestions, or would I be better off scrapping this, reinstalling a clean version, and attaching to the existing DB?