I cant edit images
19 posts
• Page 1 of 2 • 1, 2
I cant edit images
Hello!
Any know what can be this error? i cant edit images:
Notice: Use of undefined constant _ZOOM_CANCEL - assumed ´_ZOOM _CANCEL in /home/xxxx/public_html/components/com_zoom/www/admin/editimg.php on line 242 _ZOOM_CANCEL
thanks!
Any know what can be this error? i cant edit images:
Notice: Use of undefined constant _ZOOM_CANCEL - assumed ´_ZOOM _CANCEL in /home/xxxx/public_html/components/com_zoom/www/admin/editimg.php on line 242 _ZOOM_CANCEL
thanks!
- Yukiko
- Fresh Boarder

- Posts: 17
- Joined: Fri Jul 11, 2008 11:30 am
Re: I cant edit images
Maybe because you are using your backend in spanish, try adding the following line into your spanish.php file
define('_ZOOM_CANCEL','Cancel');
define('_ZOOM_CANCEL','Cancel');
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: I cant edit images
The error has gone, but i cant edit pictures yet, when i click on save button, nothing happens.
can you help me?
thanks
can you help me?
thanks
- Yukiko
- Fresh Boarder

- Posts: 17
- Joined: Fri Jul 11, 2008 11:30 am
Re: I cant edit images
Hi again
can you answer me please?
thanks
can you answer me please?
thanks
- Yukiko
- Fresh Boarder

- Posts: 17
- Joined: Fri Jul 11, 2008 11:30 am
Re: I cant edit images
Please provide more info, can you check your php error log file?
Try downloading the package and replace your file spanish.php with the one in the package.
Try downloading the package and replace your file spanish.php with the one in the package.
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: I cant edit images
In the php error log file i dont find anything related... this error its similar to one that i had before (i couldnt click in save button in galleries). I think that you fixed this changing some parameter in spanish.php, but i dont know if this is similar... :_
- Yukiko
- Fresh Boarder

- Posts: 17
- Joined: Fri Jul 11, 2008 11:30 am
Re: I cant edit images
Almost same problem here
I'm not receiving any error from php itself, it's simply impossible to commit any change to the media once it's uploaded (from either frontend and backend)
Looks like the "Save" button and the "Cancel" button simply don't work (putting apart the translation issue for the moment)
No evidence of any type in the error logs
I'm not receiving any error from php itself, it's simply impossible to commit any change to the media once it's uploaded (from either frontend and backend)
Looks like the "Save" button and the "Cancel" button simply don't work (putting apart the translation issue for the moment)
No evidence of any type in the error logs
- tranky
- Fresh Boarder

- Posts: 9
- Joined: Wed Sep 03, 2008 10:53 pm
Re: I cant edit images
Hi, I have found some problems with the image edition page. I'm attaching a patch for those errors. Please try it and let me know if that fixes your problem. If not, plese tell me if you get any JavaScript error when you attempt to save the image. Preferable if you are using Firefox. In case you dont know how to do that, in FF go to Tools->Error console, click over the Clear button, and then try saving the image.
Thanks.
Thanks.
- Attachments
-
zoom-edit-images-patch.zip- Patch for editing images (updated)
- (27.91 KiB) Downloaded 381 times
Last edited by guilleva on Wed Sep 10, 2008 4:50 pm, edited 1 time in total.
Reason: Updated attachement with the corrections on this thread
Reason: Updated attachement with the corrections on this thread
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: I cant edit images
I'm sorry, I forget to write the instructions for that patch!
Replace the files
/components/com_zoom/www/admin/editimg.php
/components/com_zoom/lib/zoom.class.php
with the ones in the attached zip file.
Replace the files
/components/com_zoom/www/admin/editimg.php
/components/com_zoom/lib/zoom.class.php
with the ones in the attached zip file.
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re: I cant edit images
applied the patch, no changes in the behaviour
the console logs the error:
"Errore: invalid flag after regular expression
Source file: http://www.staisereno.info/index.php?op ... m&Itemid=0
Row: 2, Column: 11
Source code:
<b>Warning</b>: Missing argument 1 for JEditor::getContent(), called in /home1/staisere/public_html/components/com_zoom/www/admin/editimg.php on line 241 and defined in <b>/home1/staisere/public_html/libraries/joomla/html/editor.php</b> on line <b>190</b"
HTH
the console logs the error:
"Errore: invalid flag after regular expression
Source file: http://www.staisereno.info/index.php?op ... m&Itemid=0
Row: 2, Column: 11
Source code:
<b>Warning</b>: Missing argument 1 for JEditor::getContent(), called in /home1/staisere/public_html/components/com_zoom/www/admin/editimg.php on line 241 and defined in <b>/home1/staisere/public_html/libraries/joomla/html/editor.php</b> on line <b>190</b"
HTH
- tranky
- Fresh Boarder

- Posts: 9
- Joined: Wed Sep 03, 2008 10:53 pm
19 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 0 guests