forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Guvner on May 08, 2005, 05:41:12 am

Title: Fatal Error
Post by: Guvner on May 08, 2005, 05:41:12 am
I already search and checked the faw but didn't see an answer to my problem so here it is ..


I been running this coppermine for more than year and today I get an error sudden of all trying to upload image ..

This is the error I get ..

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /home/httpd/vhosts/findmall.com/httpdocs/gallery/include/functions.inc.php on line 114


No changes had been made to the coppermine or the server itself ..


Any idea what may had cause this error?

Thanks
Title: Re: Fatal Error
Post by: Joachim Müller on May 08, 2005, 09:38:37 am
http://forum.coppermine-gallery.net/index.php?topic=5843.0
Title: Re: Fatal Error
Post by: Guvner on May 08, 2005, 06:53:17 pm
Pleae re-read my post again ..

I already saw that post and it not the issue I am having ..

I have no problem for over a year  and suddenly it start doing this .. give me that error explained in my previous post .. not the same error that your link explain and I know my php.ini setting is fine .

I have full access to the server and I know there been no upgrade/changes done to the server.

Bill
Title: Re: Fatal Error
Post by: Nibbler on May 08, 2005, 10:01:11 pm
That's odd - looks like coppermine got a result from the database that was too huge to fit into a php array.

It's this code here:

Code: [Select]
function db_fetch_rowset($result)
{
        $rowset = array();

        while ($row = mysql_fetch_array($result)) $rowset[] = $row;

        return $rowset;
}

I'm not sure what to suggest other than looking for anything strange in your database.
Title: Re: Fatal Error
Post by: Guvner on May 10, 2005, 08:41:48 am
Checked the database and did a repair database but change nothing .. still same error ..


Title: Re: Fatal Error
Post by: Guvner on May 10, 2005, 08:53:16 am
Funny thing is .. it still upload the picture and post it fine ..

it just give that error every time after the upload completes ..


Title: Re: Fatal Error
Post by: Guvner on May 10, 2005, 09:37:06 am
I just said to myself "screw this" and upgraded it to coppermine 1.3 instead of trying to fix this problem..

Problem is gone now but I can't help and wonder why this problem appeared in the first place ..