hi,
there was this problem....i logged into my local host ....my drupal version is 4.2.0..it was working fine..but suddenly the next time i logged in i got the following error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 423691 bytes) in /var/www/drupal/includes/database.mysql.inc on line 29
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 64 bytes) in Unknown on line 0
please advice me on what to do..it is very critical..help needed very urgently..
Comments
Comment #1
Vapor8 commentedSounds like you're hitting the 8meg limit on how much memory a PHP script can consume.
For now, take a look at your php.ini file (usually /etc/php.ini) and look for the following line:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
For now, bump it up to 16M and see if that gets you passed your issue.
Now, you need to figure out what in the world PHP is doing that needs over 8M of memory. Are you pulling down the contents of a large file? Only time I have seen this error on my end was when using Squirrelmail and trying to attach a file bigger than 8M. The script has to process the large attachment and hits the limit and stops.
Maybe you're processing a large image? Who knows...
Hope this points you in the right direction...
Vapor8
Comment #2
dries commentedDid you enable the locale module? If so, does disabling the locale module fix your problem?
Comment #3
harishkm commentedhey vapor8....thanx a lot..it work's...it is because of the image.module......
Hey,have a small problem now.....the filestore.module isn't working......i tried uploading files....but it ain't uploading.....there's no error and all.....
when i download it is shown as .exe for a file i uploaded which was .doc...
please help me ....thanx
Comment #4
Vapor8 commentedHarishkm,
Take a look at the following thread for a possible solution:
http://drupal.org/node/view/3802
Vapor8
Comment #5
Vapor8 commentedOriginal issue resolved.
Comment #6
harishkm commentedHey vapor8,
Thanx a lot on the interest shown.....i am really grateful.....
now the next thing when i click (administer mysitename) the theme i applied for mysite does not apply to the administrator page...........
i have applied unconed theme now but the admin page looks just plain....
any idea how a theme applied can effect to the admin page also...please help me...sorry if i am troubling a lot....
thanx in advance...
Comment #7
ax commented4.2 doesn't allow to change the admin style - it's always the same (misc/admin.css). if you want this, upgrade to 4.3.
Comment #8
(not verified) commented