displayimage.php displayimage.php
 

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

Started by justasec, December 21, 2006, 12:01:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

justasec

Hi,

I've installed cpg a while ago, and got it to run without any major problems, but lately I've been getting a weird pop-up everytime I wanted to see one of my images fullsize.

It's about displayimage.php. I get one of those regular download pop-ups asking whether I want to save the php-file, or open it.
I've reuploaded the cpg-files, but the problem is still there.

It might have something to do with the image-size, but I'm not sure. I've got another gallery (same hostingservice) and the images stored there are about 1024x768, while the ones that are causing the error are 1280x720. The reason I think this might be the cause is the fact that normal uploading of the 1280-images causes errors as well, I have to upload smaller images first and replace those with the originals.




rphMedia



rphMedia

Well first off, you have spaces in your folder (album) names.  I can't even get to some of the intermediates from the random block.  Spaces in folder and filenames should always be avoided on the web.  Not saying that that is your only problem, but it would be a start.

justasec

Quote from: rphMedia on December 21, 2006, 12:21:17 PM
Well first off, you have spaces in your folder (album) names.  I can't even get to some of the intermediates from the random block.  Spaces in folder and filenames should always be avoided on the web.  Not saying that that is your only problem, but it would be a start.

Yeah, I know about that, but I've never had any problems with cgp before I switched hosts and upgraded to the newest version.
I've always been using folder names like these. Do you really think it could be the problem?

Joachim Müller

I get blank pages when clicking on the random thumbs, so I rather suspect that displayaimage.php or one of the included files are corrupt. This could have happened if you edited the files in a WYSIWYG editor, or because you used the wrong FTP mode, or because the files just broke on the server. I suggest downloading a fresh Coppermine package and re-uploading all files (as if you were performing an update).

justasec

Quote from: GauGau on December 21, 2006, 12:32:21 PM
I get blank pages when clicking on the random thumbs, so I rather suspect that displayaimage.php or one of the included files are corrupt. This could have happened if you edited the files in a WYSIWYG editor, or because you used the wrong FTP mode, or because the files just broke on the server. I suggest downloading a fresh Coppermine package and re-uploading all files (as if you were performing an update).
Thanks, I just noticed that the random thumbs are the only ones giving the error atm as well.

I'll reupload the whole thing again and hope it will work

Thx for all the help