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: displayimage.php Blocked???  (Read 2517 times)

0 Members and 1 Guest are viewing this topic.

sec187

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
displayimage.php Blocked???
« on: March 08, 2008, 05:17:44 am »

The "Random Images" section just stopped working yestarday.  I kept getting an error page on 90% of the images I clicked on in the "random images".  I contacted my host (Siteground) and after an investigation this is what they said,

"We have investigated your case thoroughly. As part of the investigation, we contacted our System Administrators and they found out that the issue is caused by the fact that our server blocks the displayimage.php script from being executed, because it consumes too many server's resources (memory mostly). Thus, we will recommend you to contact a developer, which is familiar with the source code of your application and possesses the required knowledge to revise the script and conduct the necessary optimizations. Once you have done that, you can update the ticket to inform us, so that we can revise the case further."

What should I do from here?
Logged

Nibbler

  • Guest
Re: displayimage.php Blocked???
« Reply #1 on: March 08, 2008, 12:47:05 pm »

Disable the random images section. It's not suitable for large galleries.
Logged

sec187

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: displayimage.php Blocked???
« Reply #2 on: March 08, 2008, 03:27:51 pm »

How do I do that?
Logged

Nibbler

  • Guest
Re: displayimage.php Blocked???
« Reply #3 on: March 08, 2008, 03:50:10 pm »

Read the manual. Go to the 'Content of the main page setting' and remove the random block.
Logged

sec187

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: displayimage.php Blocked???
« Reply #4 on: March 08, 2008, 04:06:58 pm »

Where do I find this code "catlist/alblist/random,2/lastup,2" to remove random? Can I insert one of the other codes like  'lastcom': last comments or 'lasthits': last viewed, or will I run into the same problem I had with the Random?

Thanks for your help
Logged

Nibbler

  • Guest
Re: displayimage.php Blocked???
« Reply #5 on: March 08, 2008, 04:09:21 pm »

It's a config setting. Use any other block you like, the problem is the randomizing.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.