Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Lastup Slide on Startpage leads to memory_overflow or blank page  (Read 5148 times)

0 Members and 1 Guest are viewing this topic.

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Lastup Slide on Startpage leads to memory_overflow or blank page
« 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
« Last Edit: January 17, 2011, 06:46:11 pm by Αndré »
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #1 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


Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #2 on: December 20, 2010, 11:57:56 pm »

problem occurs just on the startpage ...  ???
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #3 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.
Logged

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #4 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 !
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #5 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...
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #6 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).
Logged

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #7 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 .
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1513
  • aka 'i-imagine'
    • Home Page
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #8 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.

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #9 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
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1513
  • aka 'i-imagine'
    • Home Page
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #10 on: December 30, 2010, 12:00:30 am »

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #11 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 ...
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #12 on: January 06, 2011, 09:20:41 pm »

please delete this thread !! very important. thank you
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #13 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.
Logged

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #14 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!
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #15 on: January 11, 2011, 05:51:05 pm »

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

http://www.nasiri.com

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Lastup Slide on Startpage leads to memory_overflow or blank page
« Reply #16 on: January 17, 2011, 06:47:03 pm »

Security for the domain name  ??? Anyway, removed as requested.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.