I just upgraded a multi-site install, and noticed the new javascript functions on the plugins page don't work.
Each multi-install blog has a .htaccess file with the following:
php_value include_path php_value include_path ".:/usr/local/lib/:/usr/local/lib/s9y/:/usr/local/lib/s9y/bundled-libs/"
The problem is that the script is included like this:
<script src="bundled-libs/dragdrop.js" type="text/javascript"></script>
Javascript obviously won't listen to the php_value include_path setting above.
One solution is to just symlink the bundled-libs folder in each directory. This probably isn't the best solution.
Any thoughts on the best way to solve this problem? Ideally, maybe the way that javascript file is included needs to be modified.
1.1 Multi Install Javascript Problem
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: 1.1 Multi Install Javascript Problem
Hi!
That's very good catch. Indeed this would make problems and I'm sorry for that position of the file.
I just committed a fix to our SVN that moves this file to the templates/default/ folder, so you will be able use the scripts on shared installations without symlinks in the future.
HTH,
Garvin
That's very good catch. Indeed this would make problems and I'm sorry for that position of the file.
I just committed a fix to our SVN that moves this file to the templates/default/ folder, so you will be able use the scripts on shared installations without symlinks in the future.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, I did move both of them. However the image editing is really only a stub for now and has no functionality yet
Best regards,
Garvin
Yes, I did move both of them. However the image editing is really only a stub for now and has no functionality yet
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,
not entirely sure this is related, but it apeared after resolving the missing YAHOO-class:
I want to add a picture via the media chooser and nothing happens when clicking "done".
JS-Console onf Firefox complains about
which is
S9y 1.1, shared Installation, tried with Firefox 2.0.0.1, Safarin and Camino as well.
[/quote]
not entirely sure this is related, but it apeared after resolving the missing YAHOO-class:
I want to add a picture via the media chooser and nothing happens when clicking "done".
JS-Console onf Firefox complains about
Code: Select all
Error: self.opener has no properties
Source File: http://####/serendipity_editor.js
Line: 247Code: Select all
if (typeof(self.opener.htmlarea_editors) != 'undefined' && typeof(self.opener.htmlarea_editors[textarea] != 'undefined')) {S9y 1.1, shared Installation, tried with Firefox 2.0.0.1, Safarin and Camino as well.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
If that happens, the popup window has lost its "opening" parent window.
How exactly did you proceed when opening the media popup? You are not allowed to change the page in the page from where you opened the popup...?
Best regards,
Garvin
If that happens, the popup window has lost its "opening" parent window.
How exactly did you proceed when opening the media popup? You are not allowed to change the page in the page from where you opened the popup...?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi ane!
Hm, that's tough. Can you temporarily give me a s9y account to your blog so that I could try it?
Maybe the .js file is not loaded, can you check a tool like firebug or livehttpeheaders to see response codes?
Best regards,
Garvin
Hm, that's tough. Can you temporarily give me a s9y account to your blog so that I could try it?
Maybe the .js file is not loaded, can you check a tool like firebug or livehttpeheaders to see response codes?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/