Monday, 28 July 2014 10:23
beggarly

I cant edit images

zOOm Media Gallery for Joomla 1.5

I cant edit images

Postby Yukiko » Sat Aug 30, 2008 7:52 am

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!
Yukiko
Fresh Boarder
Fresh Boarder
 
Posts: 17
Joined: Fri Jul 11, 2008 11:30 am

Re: I cant edit images

Postby guilleva » Sat Aug 30, 2008 2:55 pm

Maybe because you are using your backend in spanish, try adding the following line into your spanish.php file

define('_ZOOM_CANCEL','Cancel');
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby Yukiko » Sat Aug 30, 2008 3:16 pm

The error has gone, but i cant edit pictures yet, when i click on save button, nothing happens.

can you help me?

thanks
Yukiko
Fresh Boarder
Fresh Boarder
 
Posts: 17
Joined: Fri Jul 11, 2008 11:30 am

Re: I cant edit images

Postby Yukiko » Wed Sep 03, 2008 2:19 pm

Hi again

can you answer me please?

thanks
Yukiko
Fresh Boarder
Fresh Boarder
 
Posts: 17
Joined: Fri Jul 11, 2008 11:30 am

Re: I cant edit images

Postby guilleva » Wed Sep 03, 2008 2:59 pm

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.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby Yukiko » Mon Sep 08, 2008 3:51 pm

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
Fresh Boarder
 
Posts: 17
Joined: Fri Jul 11, 2008 11:30 am

Re: I cant edit images

Postby tranky » Wed Sep 10, 2008 8:28 am

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
tranky
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Wed Sep 03, 2008 10:53 pm

Re: I cant edit images

Postby guilleva » Wed Sep 10, 2008 1:01 pm

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.
Attachments
zoom-edit-images-patch.zip
Patch for editing images (updated)
(27.91 KiB) Downloaded 580 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
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby guilleva » Wed Sep 10, 2008 1:08 pm

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.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: I cant edit images

Postby tranky » Wed Sep 10, 2008 2:29 pm

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
tranky
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Wed Sep 03, 2008 10:53 pm

Next

Return to zOOm



Who is online

Users browsing this forum: No registered users and 3 guests