Page 1 of 2
cannot add image to entry
Posted: Sat Aug 06, 2005 5:55 am
by IanR
I can upload images and view in media library.
When I try to insert into new entry I can't, The first window 'select file to insert' is no problem, however when the second window 'You chose ...' I click the 'done' button and nothing happens..
The image size is 100-200kb.
I'm using 0.8.3 any ideas?
Thanks
Re: cannot add image to entry
Posted: Sat Aug 06, 2005 1:04 pm
by garvinhicking
Please look at your browser's JavaScript output, there seems to be an error.
The image can only be inserted if you did not change the parent window of the popup, and if your browser's javascript is activated and working. Which browser do you use, BTW?
Regards,
Garvin
Posted: Sat Aug 06, 2005 3:34 pm
by Guest
IE
Posted: Sat Aug 06, 2005 3:56 pm
by garvinhicking
Please try to use Firefox and open the JavaScript console to look out for errors. Or tune your InternetExplorer so that it displays Javascript errors. You did make sure to not close the parent window with the edited entry inside of it?
Are you using the WYSIWYG editor?
Posted: Sun Aug 07, 2005 9:56 am
by Guest
I have exactly the same problem.
This was not happenning when I use 0.7 version.
I'm using 0.8.3 now with IE
My Javascript error:
Line 182
Char 5
Error: 'XHTML11' is undefined
Code 0
This is the same with or w/o WYSIWYG
Ming
Posted: Sun Aug 07, 2005 2:22 pm
by garvinhicking
Are you using any proxies or WebWasher like software? The only mention of "XHTML11" in the serendipity_editor.js file is this:
And then the file "serendipity_define.js.php" is called where XHTML11 variable is defined. Can you see if that file exists and what do you get when you call that file via HTTP?
Regards,
Garvin
Posted: Sun Aug 07, 2005 8:14 pm
by Guest
I'm not using any WebWasher like software.
I ddin't set proxy by myself, but I'm not sure if my ISP does.
The file "serendipity_define.js.php"does exist in my program folder.
I put
http://xxxxxxxx.net/cblog/serendipity_define.js.php
in my browser and I was asked if I need to open or download it.
Is that what you wanted me to try?
Another thing, I did get to put a picture on once, but just once.
All the settings are the same. Immediately before and after that
I couldn't do it. It sounds like something being updated all the time
is the culprit. I have no idea actually...
Thanks
Ming
Posted: Sun Aug 07, 2005 8:30 pm
by garvinhicking
You should look at the contents of your serendipity_define.js.php (so download the file and open it with an editor). Or tell me the full URL to it and I'll look at it myself.
If the problem persists I might need a simple editor account to your s9y installation to look if I can reproduce it...
Regards,
Garvin
Posted: Tue Aug 09, 2005 12:33 am
by Guest
This is my serendipity_define.js.php
<!-- // Hide from older browsers
// This page serves to carry through any variables without having to parse a complete .js file as .php
var XHTML11 = false;
// -->
Both of my home & office computer have this problem, so I guess it is not due to my browser settings?
Thanks.
Ming
Posted: Tue Aug 09, 2005 12:51 am
by garvinhicking
Hm, well...the JavaScript file is completely in order. This is very strange - would you be willing to give me a guest account on your s9y blog to check the image insertion? If you want to, please contact me via PM. You can remove my account once we're finished of course, and I can only give you my word to handle your data with care and do nothing else than to investigate the problem.
Else I'm a bit clueless on whya JS error pops up!
Regards,
Garvin
Cannot add image to entry
Posted: Tue Jan 17, 2006 4:12 pm
by stephenf
Hi,
Did you find a fix for this error as I am experiencing the same thing.
Regards,
Stephen Faul
cant insert media
Posted: Thu Feb 02, 2006 4:27 am
by jerwarren
This just started happening on my friend Tim's blog as well.
The javascript error I get is:
Code: Select all
Error: self.opener.serendipity_imageSelector_addToBody is not a function
Source File: http://crapstack.net/blog/serendipity_admin_image_selector.php?serendipity[step]=1&serendipity[textarea]=body&serendipity[image]=25
Line: 132
He actually has user registration + instant insertion turned on, so you can troubleshoot if you'd like.
Re: cant insert media
Posted: Thu Feb 02, 2006 10:56 am
by garvinhicking
The error happens because your LJ update plugin is failing. Either uninstall it, or try to configure it with the proper LJ credentials.
Regards,
Garvin
Posted: Mon Nov 20, 2006 2:33 pm
by Dawn
I've got exact the same XHTML11-Error as described.
The error happens because your LJ update plugin is failing. Either uninstall it, or try to configure it with the proper LJ credentials.
I really don't know what exactly you mean with LJ plugin. Can you please explain this a little bit more detailed?
Greets and best regards,
Dawn
Posted: Mon Nov 20, 2006 2:59 pm
by azel
The error happens because your LJ update plugin is failing. Either uninstall it, or try to configure it with the proper LJ credentials.
That means the username/pass combination is probably incorrect.