forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: nasiri on December 20, 2010, 11:54:24 pm

Title: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 20, 2010, 11:54:24 pm
Hey cpg-team,

got this strange bug or maybe just php problem for removed (testdomain) if i want to see the last album lastup.
if you are inside of a category the link is working good.

removed

for testing ...

any purposes ??

thank you guys
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 20, 2010, 11:56:38 pm
i can add just :

if i am logged in as admin i get this error :


Fatal error: Out of memory (allocated 61079552) (tried to allocate 46 bytes) in /var/www/acount/html/include/functions.inc.php on line 289

if i am logged in as normal user :

i get just a blank page


Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 20, 2010, 11:57:56 pm
problem occurs just on the startpage ...  ???
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Αndré on December 21, 2010, 11:12:35 am
if i want to see the last album lastup.
Please post a link to that page or elaborate, as I don't know what exactly you mean.
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 21, 2010, 08:22:25 pm
login with the userinfos above and go to "alblist" and try to see a thumbnail from "lastup", doesn't work if you aren't inside of a category on the alblistpage ... hope u can see what i mean !
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 21, 2010, 09:06:01 pm
function cpg_db_fetch_rowset($result)
{
    $rowset = array();

    while ( ($row = mysql_fetch_assoc($result)) ) {
        $rowset[] = $row;
    }

    return $rowset;
}


seems to be a problem with the while line here...
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Αndré on December 21, 2010, 09:13:37 pm
I can see what you mean. Please try if it works with the theme 'curve' or 'water_drop'. You can also try if it works when you disable the plugin engine and/or increase the PHP memory limit (but that shouldn't the point as it works with gallerys that have less memory).
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 21, 2010, 09:28:53 pm
it works if i disable the plugin api ... i found the problem it's the lightbox script fromLightBox NotesFor.net (lightbox_notes_for_net): v3.1 .
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Joe Carver on December 21, 2010, 11:35:47 pm
.......it's the lightbox script fromLightBox NotesFor.net (lightbox_notes_for_net): v3.1 .
Without looking I can guess that you did not set a limit to the number of files in the LightBox list.

Please read the help page that was provided with the plugin. This has been discussed before.

I do plan to preset a limit of 500 in the next version. This might be delayed further, I am very busy now. However setting a limit will not solve the basic problem.

The basic problem is not reading the help page. I can not fix that.
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 29, 2010, 06:47:30 pm
limiting doesn't help either... turned it to 2.

getting Fatal error: Out of memory (allocated 61079552) (tried to allocate 129 bytes) in /var/www/webxxx/html/include/functions.inc.php on line 289
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Joe Carver on December 30, 2010, 12:00:30 am
Please post a link to that page
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on December 30, 2010, 02:01:28 am
mhm i doesn't use the lastup anymore ... so problem is not solved but not longer present ...
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on January 06, 2011, 09:20:41 pm
please delete this thread !! very important. thank you
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Αndré on January 06, 2011, 10:04:47 pm
Threads remain
We don't delete threads if the request starter has found the answer he was looking for: the point of a support board is that questions and answers remain available for others with similar issues. For the benefit of others, threads don't get deleted. You have to understand this when composing your message in the first place - compose it wisely. The ability for regular users to edit their postings has deliberately been removed because of frequent abuse in the past. It's up to the decision of the board staff (admins, moderators, developers) wether a thread remains or not.
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on January 11, 2011, 01:51:35 pm
its about security for the domain name ... there is no solution anyway ... so please delete. thank you!
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: nasiri on January 11, 2011, 05:51:05 pm
then just delete username and url of first post please, that would do it ;)
Title: Re: Lastup Slide on Startpage leads to memory_overflow or blank page
Post by: Αndré on January 17, 2011, 06:47:03 pm
Security for the domain name  ??? Anyway, removed as requested.