Lastup Slide on Startpage leads to memory_overflow or blank page Lastup Slide on Startpage leads to memory_overflow or blank page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Lastup Slide on Startpage leads to memory_overflow or blank page

Started by nasiri, December 20, 2010, 11:54:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nasiri

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
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

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


Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

Quote from: nasiri on December 20, 2010, 11:54:24 PM
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.

nasiri

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 !
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

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...
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

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).

nasiri

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 .
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Joe Carver

Quote from: nasiri on December 21, 2010, 09:28:53 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.

nasiri

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
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com


nasiri

mhm i doesn't use the lastup anymore ... so problem is not solved but not longer present ...
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

Quote from: Joachim Müller on September 28, 2008, 12:45:45 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.

nasiri

its about security for the domain name ... there is no solution anyway ... so please delete. thank you!
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

then just delete username and url of first post please, that would do it ;)
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

Security for the domain name  ??? Anyway, removed as requested.