Tuesday, 25 November 2014 20:56
beggarly

Can't Edit Photos After Uploading

zOOm Media Gallery for Joomla 1.5

Can't Edit Photos After Uploading

Postby joshr04ca » Mon Jul 28, 2008 5:13 pm

First off, thanks for porting over ZMG to J1.5 I've been using ZMG for years with J1.0. and love it.

I've installed and uploaded a few photos but I cannot edit the either in the front of backend. I click on the Save button and nothing happens.

Anyone have any tips or ideas as to what may be happening?
joshr04ca
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Mon Jul 28, 2008 5:28 pm

Re: Can't Edit Photos After Uploading

Postby guilleva » Tue Jul 29, 2008 2:38 am

Hi, can you see anything in the JavaScript error console using firefox?
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Can't Edit Photos After Uploading

Postby joshr04ca » Tue Jul 29, 2008 11:17 am

This is what I see from the Firefox Error Console:

Code: Select all
Error: invalid flag after regular expression
Source File: http://www.jmlryan.info/administrator/index2.php?option=com_zoom&page=mediamgr&task=edtimg&catid=1&key=1&Itemid=76&PageNo=1&tmpl=component
Line: 2, Column: 11
Source Code:
<b>Warning</b>:  Missing argument 1 for JEditor::getContent(), called in /home/content/j/o/s/joshr04ca/html/components/com_zoom/www/admin/editimg.php on line 241 and defined in <b>/home/content/j/o/s/joshr04ca/html/libraries/joomla/html/editor.php</b> on


It seems to be a problem with the popup editor in J1.5. Does the same in both Front End and Back End.
joshr04ca
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Mon Jul 28, 2008 5:28 pm

Re: Can't Edit Photos After Uploading

Postby guilleva » Tue Jul 29, 2008 9:16 pm

Hi, to fix this you can edit the file /components/com_zoom/www/admin/editimg.phh and look for:

Code: Select all
echo $editor->getContent();


and replace it by:

Code: Select all
$editor->getContent('newdescr');


Or, you can download the full package again and reinstall it!
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Can't Edit Photos After Uploading

Postby joshr04ca » Wed Jul 30, 2008 12:35 am

Thank you for the fix! :)

*Note that I couldn't find the code in the editimg.php file. I used Kate to try and find the code and it came back with nothing. So I just reinstalled as you said.

Do you have a version history, or build number that I can find some wheres within the software or your website for any future updates/fixes? I just noticed that the same file was install and still had the same version number: 2.5.1 RC4 wk08 :?:

Anyways, thanks again for the help
joshr04ca
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Mon Jul 28, 2008 5:28 pm

Re: Can't Edit Photos After Uploading

Postby puffermedia » Fri Aug 08, 2008 11:05 pm

I'm having this same issue. I tried the fix but it didn't help. Once photos have been published there is no way to edit them in the front end.
puffermedia
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Thu Jul 17, 2008 10:43 pm

Re: Can't Edit Photos After Uploading

Postby Tux » Sun Aug 17, 2008 8:29 pm

Had the same problem. With a fresh install.
After applying the patch it worked again for the backend, however in the frontend I can still not edit. The save button doesn't do anything at all.
Tux
Fresh Boarder
Fresh Boarder
 
Posts: 15
Joined: Sun Jun 01, 2008 8:37 pm

Re: Can't Edit Photos After Uploading

Postby guilleva » Mon Aug 18, 2008 2:20 pm

Hi, could I take a look at your front end?

Please pm me a user login information that I can use to reproduce the problem.

Thanks in advance!

Guillermo Vargas
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica


Return to zOOm



Who is online

Users browsing this forum: No registered users and 2 guests