Page 1 of 1

Insert Media - Done Button does not work

Posted: Thu Jun 24, 2010 10:03 am
by Murando
Hi,

I upgraded to 1.5.3 and moved to another server. Now I cannot insert files from the media library any more. The pictures appear, I can select one but when I click on the "Done" button nothing happens.

No entries in the Firebug log.

Any hint?

- Markus

Re: Insert Media - Done Button does not work

Posted: Thu Jun 24, 2010 11:13 am
by garvinhicking
Hi!

Did you upgrade first and move later, or move first and then upgrade, or how did you exactly go on?

Do you get javascript errors when clicking on "Done"? Did you make sure to adapt all paths and upload all files properly, especially templates/default/admin?

Regards,
Garvin

Re: Insert Media - Done Button does not work

Posted: Thu Jun 24, 2010 1:19 pm
by Murando
garvinhicking wrote: Did you upgrade first and move later, or move first and then upgrade, or how did you exactly go on?
First move, then upgrade. Unfortunately I did not check this part before the upgrade.
garvinhicking wrote: Do you get javascript errors when clicking on "Done"? Did you make sure to adapt all paths and upload all files properly, especially templates/default/admin?
No Errors. Just uploaded templates/default/admin again, did not help.
Adapted all paths in Administration/Configuration. Anywhere else?
Thumbs are shown, uploading new picts works fine.

Edit:
Firebug shows errors:

Code: Select all

f['serendipity[alt]'] is undefined
 alt = f['serendipity[alt]'].value.replace(/"/g, """); 
serendipity_editor.js line 324
Regards

- Markus

Re: Insert Media - Done Button does not work

Posted: Thu Jun 24, 2010 1:49 pm
by Murando
Reinstalled Serendipity - now it works.

Re: Insert Media - Done Button does not work

Posted: Thu Jun 24, 2010 2:19 pm
by garvinhicking
Hi!

It might have been related to serendipity_editor.js, maybe even due to a cached version in the browser - or due to some other file. Glad to hear though that you got it working!

Regards,
Garvin

Re: Insert Media - Done Button does not work

Posted: Sun Sep 12, 2010 2:08 pm
by Michiel
Hi,
I've upgraded my 1.2 installation to 1.5.4. yesterday. I've had some problems with the upgrade and ended up doing the sql updates manually to get it right. (It always said I needed to upgrade db script 1.5.3 to 1.5.4 or something, but never the sql scripts before that)
When I try to insert images using the media manager now, I have the same problem: "done" button does nothing. Looking with firebug to the javascript error it also says:

Code: Select all

f['serendipity[alt]'] is undefined
When I comment out the line 324 in serendipity_editor.js it gives me the same error on the next line

Code: Select all

f['serendipity[title]'] is undefined
After commenting this line out too, I get it working.

I've already uploaded all my files again, but the error keeps coming up.
Any idea what the reason of this could be?
Can I leave those 2 lines commented out, or am I going to have problems with it?

Thanks a lot,
Michiel.

Re: Insert Media - Done Button does not work

Posted: Mon Sep 13, 2010 9:37 am
by garvinhicking
Hi!

Did you try to clear your browser's cache? I can only assume that there might be some javascript/html mismatch...?

Regards,
Garvin

Re: Insert Media - Done Button does not work

Posted: Tue Sep 14, 2010 4:56 pm
by Slideshow Bob
Hey there! Unfortunately I have the same problem. Also the same line in that JavaScript file which causes the problem. It also isn't a browser cache issue, since the problematic line of code is part of the serendipity_editor.js file of the latest Serendipity version.

I also just did an upgrade from an older version (forgot the version number) to the current one.

Edit: The following line "title = ...." causes the same error message. If you comment out both lines inserting images works again.

Re: Insert Media - Done Button does not work

Posted: Tue Sep 14, 2010 8:29 pm
by garvinhicking
Hi!

Could either of you give me an editor access to your s9y installation so that I could check out the error?

Regards,
Garvin