Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 335375

Status
Not open for further replies.

shames

New Member
Messages
7
Reaction score
0
Points
0
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 335375 bytes) in /home/shames/public_html/includes/database.mysql.inc on line 301

I was trying to install Drupal and It was succesfully installed until I get that error when i' visited the module section in admin.

i know this is not a support site for such script like drupal but before i post here I already tried searching answer from drupal support website and find out that the problem was value of memory_limit in php

source: http://drupal.org/node/76156

after studying how to fix this i tried editing the .htaccess file in my root directory adding this line

php_value memory_limit 12M

but the result was worst, i get 500 internal server error message when i try to visit my site. so i edited again the .htaccess back to what it was before.


i h0pe anyone could help me fix this problem.. thanks


I'm using Drupal.

cPanel username: shames
Subdomain: shames.x10hosting.com
Package: adfree
(planning to upgrade in advance)
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,550
Reaction score
205
Points
63
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 33

When did you upgrade to intermediate PHP?

Intermediate PHP is way over 12M for it's memory_limit
 

shames

New Member
Messages
7
Reaction score
0
Points
0
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 33

thanks sir. the problem is already gone. i just upgrade my account into intermediate PHP.
 
Status
Not open for further replies.
Top