coppermine_Selector error

Creating and modifying plugins.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

So does the URL still change frmo http://cambigue.com/ to http://www.cambigue.com/ ? This should not happen - please either configure your s9y URL to http://cambigue.com/ or use http://www.cambigue.com/ to login to your panel.

I really think there are cross-domain javascript security issues applying so that the popup window cannot access the parent window because their URL is not the same.

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

The new error in the java console is :

Code: Select all

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://www.cambigue.com/serendipity/serendipity_editor.js :: mozWrap :: line 37"  data: no]
any thoughts? This was after I made sure that all domain names were exactly the same.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, okay...I'm a bit helpless. Can you try that with the MSIE browser? Which firefox version are you using, do you have another version to try with?

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

The version of Foxfire is 1.5b2, but I have tried it with 1.0.6, 1.0.7 and 1.5b1 with no success. I have also tried it with IE5, and IE6 sp1 and sp2. I'm stumped...

Here is what I get from IE6sp2

Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Theseus,

are you maybe using the WYSIWYG editor? The coppermine plugin AFAIR doesn't support the WYSIWYG editor...?!

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

I am only using the editor that is normal with Serendipity. I'm not using another editor like TinyMCE.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

What is your option value in your personal configuration for "WYSIWYG" editor? Serendipity has a WYSIYG bundled (htmlarea) that can be activated, and with which the cpg selector also doesn'T work...

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

I see what you mean.... Please pardon my studpidity. It's working now..... :oops:
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

I'm getting a new error message...

Post by theseus »

Code: Select all

Warning: Division by zero in ./serendipity/plugins/serendipity_event_cpgselector/cpgselector.inc.php on line 380
The plugin still works but I am always getting this message...
Any thoughts?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I'm getting a new error message...

Post by garvinhicking »

Hm, which version of the plugin are you using? In my line 380, this is the last line of the code without any division executed?!

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

2.01 according to Configure Plugins in the Administration Suite. I have the latest nightly build running as well.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Ah, I was looking at the wrong file. The error happens because the image height of certain images is not set in your coppermine installation?!

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

I think it happens when it comes across a .zip file, which of course, has no height or width. Could we write a bit of code that would bypass this if it was not an image?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

sure, I just committed version 2.02 of the plugin :)

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/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

Sparticus doesn't seem to be fetching the new version... I just downloaded Oct 31 CVS. It still shows 2.01
Post Reply