error when trying to read or post ("fatal error")

Support for IntegraMOD 140

Moderator: Integra Moderator

error when trying to read or post ("fatal error")

PostAuthor: kiwi » Tue May 30, 2006 6:48 am

i know this problem has been diskussed a few times in this forum and on integramod.com and i read all those threads and i tried everything but nothing worked for me!

there is a major error on my forum:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/www/web0/html/cows/includes/template.php(938) : eval()'d code on line 335

my forum is on the newest version of integramod 1.4 and i have it uploaded on my own virtual server. i couldnt find any memory restrictions on the virtual server and in the config.php there is no line about the memory size like its told in the other threads. I now have almost all my blocks deactivated but now its at the limit so i really need help.

Hope someone has an idea...

kiwi
Last edited by kiwi on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Fri May 19, 2006 5:06 am
Cash on hand: 0.00

Re: error when trying to read or post ("fatal error&quo

PostAuthor: grizzly_cs » Tue May 30, 2006 4:11 pm

More than likely your php.ini is set to 8 megs you may wanna look there...

Look in the php folder for your server

Code: Select all
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)


Change to

Code: Select all
memory_limit = 16M      ; Maximum amount of memory a script may consume (16MB)
Last edited by grizzly_cs on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 11:46 pm
Cash on hand: 0.00

PostAuthor: kiwi » Wed May 31, 2006 3:37 am

k, but i have no idea where to find that php.ini or the php folder for my server...
there is a folder on the server called "phptmp" but its empty...
Last edited by kiwi on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Fri May 19, 2006 5:06 am
Cash on hand: 0.00

Re: error when trying to read or post ("fatal error&quo

PostAuthor: grizzly_cs » Wed May 31, 2006 12:10 pm

Is the server hosted on one of your computers or at a host.. It looks like a windows server by the format... normally the php folder is in the root directory... If its at a host site then you have to request the admins to change it since they dont normally let you have access to the root directory. Some host will refuse to grant you extra memory as well..
Last edited by grizzly_cs on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 11:46 pm
Cash on hand: 0.00

PostAuthor: kiwi » Wed May 31, 2006 12:24 pm

its hosted and its linux! i will ask them to change it then, thx so far...
Last edited by kiwi on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Fri May 19, 2006 5:06 am
Cash on hand: 0.00

PostAuthor: grizzly_cs » Wed May 31, 2006 1:25 pm

You can also tell by goin to ACP > Tools > PHP Info

It will tell you where php.ini is as well as what the memory size is for the install... in my case its in the ./etc folder for my server
Last edited by grizzly_cs on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 11:46 pm
Cash on hand: 0.00

PostAuthor: kiwi » Wed May 31, 2006 1:42 pm

great!!! i got it changed now <img>

thx!
Last edited by kiwi on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Fri May 19, 2006 5:06 am
Cash on hand: 0.00

PostAuthor: grizzly_cs » Wed May 31, 2006 9:55 pm

Congrats hehehe I dont know but some default to 8 and some hosts default to 16
Last edited by grizzly_cs on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
grizzly_cs
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 11:46 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]