Bug report, after I pressed "crop and rotate," says "error on page." Bug report, after I pressed "crop and rotate," says "error on page."
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Bug report, after I pressed "crop and rotate," says "error on page."

Started by cpthk, January 05, 2006, 08:57:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cpthk

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg209.imageshack.us%2Fimg209%2F2765%2Funtitled5os.jpg&hash=0923bdb4f05161854249317944f9d3b28eef7695)

It's the fresh installed cpg 1.4.3(newest version).
I'm sure my computer is fine, cuz it happens on my friend's pc too.
Windows XP SP2+
Internet Explorer
Any other pages are fine, only this one has error.
After tried many ways to figure out the problem. I have tried to install again(fresh install, not upgrade or copy old fileS) with different directory and database, error still apears.
Tried older version(1.3), realized that error doesn't apears at older version, it only happens on this version, so i'm sure it's not my server's problem, cuz the older version works fine.
I have uploaded the page source code.

Here is the detail of the error after I set IE to display the details of the error.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg207.imageshack.us%2Fimg207%2F3311%2Funtitled24ps.jpg&hash=8b5b13eaa0a1d83901b439a2ae2895fdb3b24e46)


cpthk

Which one is the Known Issue you talking about?
There are so many over there.

Crop/rotate doesn't work with GD1...?
Rotate causing distorted image for large files...?
EXIF and IPTC information are lost when rotating...?

Joachim Müller

all of them might apply, depending on your setup, but most importantly "Rotate causing distorted image for large files". It should tell you that there might be issues with rotation. Details can be viewed by browsing the bugs board.
You tried uploading your pic to the competition album of the demo - don't do that in the future (I deleted it). Only actual contributions should go there.
To solve your issue, rotate on your client before upload!

energy0m

I think im getting the same error ..... 

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fcarson.nswebhost.com%2F%7Escholz%2Ferror2.jpg&hash=f55802f71f1138e3d567690532ed106adec0c3bf)
another error appears when you click the "Enable clipping, apply to crop" box which throws an error on line 402 character 1

on line 331 it states
<body onload="libinit()">
and on line 402 it states

but im not using GD1 im using imageMagick ... 

would the bug still apply o me ...  ??
SPefcifically just to restate i am getting this error when going to the crop/rotate page ...
and the functionality that is lost is the ability to crop or rotate the picture ... 


energy0m

Wait i think i fixed it  ... look on line
451 - 354 of picEditor.php

   
<script type="text/javascript">

    <![CDATA[



i edited this to

   
<script type="text/javascript">





then on line
1021 i removed the     ]]>

then on line
1153 i removed the    <!--

Then on line
1209 i removed the    -->



after i did this and uploaded and replaced my picEditor.php it started functioning normal again ... had the litle handles for cropping the files and it looks like there were a afew more options that were commented out such as scaling ... havent tried those yet bt im guessing they work??? anyone know?

ANyhow ...this seems to of fixed it... can someone please verify if these were correct actions to take ?