displayimage.php Blocked??? displayimage.php Blocked???
 

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

displayimage.php Blocked???

Started by sec187, March 08, 2008, 05:17:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sec187

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?

Nibbler

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

sec187


Nibbler

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

sec187

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

Nibbler

It's a config setting. Use any other block you like, the problem is the randomizing.