coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: punjabicity on January 11, 2005, 11:16:13 PM

Title: displayimage.php problem
Post by: punjabicity on January 11, 2005, 11:16:13 PM
Hi I am flying out of the country tommorow and I really need someone to help me urgently. Theirs something wrong with my displayimage.php file but I dont know what.

Here's a link to an image in my gallery http://www.punjabicity.co.uk/cpg/displayimage.php?album=random&cat=0&pos=-275. You will see the image doesnt come up but it did before. This is like this for all my albums.

I am also attaching my file to this message.

Please could someone help me I will be so greatful to you.
Title: Re: displayimage.php problem
Post by: Tranz on January 12, 2005, 12:02:08 AM
It's a watermark hack gone wrong. If you try to view the image directly, http://www.punjabicity.co.uk/cpg/logo.php?picturename=albums/Asian%20Ball%20London%202004/ball13.jpg
you'll see a bunch of errors.
Title: Re: displayimage.php problem
Post by: punjabicity on January 12, 2005, 12:17:37 AM
how can I solve this?
Title: Re: displayimage.php problem
Post by: Tranz on January 12, 2005, 12:32:50 AM
Undo the hack/restore the files from the unmodified installation.

PS. please don't PM supporters unless requested. I would have helped regardless of your PM so no need to send me PMs to request that I read your threads. Thanks.
Title: Re: displayimage.php problem
Post by: punjabicity on January 12, 2005, 12:36:02 AM
im sorry i wont pm you again after this time, i have none of the files though becuase I have just restored my system  :( and really need to fix it somehow because I'm leaving tommorow.

I'm so paniced I don't know what to do. Please could you help me sir?
Title: Re: displayimage.php problem
Post by: Tranz on January 12, 2005, 12:43:37 AM
Don't assume people's gender, especially when mine is on the left-hand side of my post :P

Download fresh files from above's Downloads link.
Title: Re: displayimage.php problem
Post by: punjabicity on January 12, 2005, 12:47:45 AM
ohhhhhhhh im so sorry which files do I have to replace. because I dont want to overwrite my styles etc  ;)
Title: Re: displayimage.php problem
Post by: Tranz on January 12, 2005, 12:50:06 AM
You need to find the watermark hack that you used and see which files they told you to edit. Then replace those files. Backup before replacing files. Maybe you can fix things after your trip.