lightbox etc. does not work anymore

Found a bug? Tell us!!
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

lightbox etc. does not work anymore

Post by stm999999999 »

hello,

I have a great problem:

On all my s9y-blogs:

http://blog.stephan.manske-net.de/archi ... spiel.html
http://www.sankt-joseph-siemensstadt.de ... irche.html (both own s9y-installations)
http://blog.defo.info/archives/180-Wahl ... daten.html (a supersized.org-Blog)

the images do not use lightbox, greybox, etc. - a click on the picture gives the
picture in the whole window and no overlay picture!

the two own installations have the newest lightbox-Plugin-Version, the supersized is unkown to me.

The error occurs on two different computers and with Opera 9.02 and 9.10 and Firefox 2.0.2

Only with the IE7 it works fine!

1) Can someone confirm the problem? On my blogs and/or on other s9y-blogs?

2) Any idea?
Ciao, Stephan
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

Its also broken here (Serendipity 1.1.2).

Seems like the internal variable for js or css is not correctly parsed. Have a look in the header of your blogs html code.

But seems like you have fixed it?
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

Do you have a link to your blog?

And yes, it looks being fixed in the moment - but I did not do anything!?!?
Ciao, Stephan
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

I disabled the plugin on my blog, but this was the error:

Code: Select all

<script type="text/javascript">var thickbox_path = "http://mybl0g.com/plugins/serendipity_event_lightbox/thickbox";</script>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Did you maybe use the 1.2 snapshot? Might be related to that entryproperties bugin we're discussing in a parallel thread.

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/
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

No, i use Serendipity 1.1.2, as long as this informationen in the bottom of my blog is right :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi modules!

What's your URL?

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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

garvinhicking wrote: Did you maybe use the 1.2 snapshot? Might be related to that entryproperties bugin we're discussing in a parallel thread.
Do you mean me? I dont believe that itis a problem with this plugin: 1) now it works fine without any changes and all three blogs uses different s9y-versions.
Ciao, Stephan
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

Tried again with a fresh installation.

http://s9y-forum.paupau.org/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

it works there - for me.
Ciao, Stephan
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

Its working for me too. But only in Safari.
On Firefox it seems to be broken.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I believe this happens because of 2 reasons:

1. The thickbox plugin does emit invalid HTML:

Code: Select all

<link rel="stylesheet" type="text/css media="screen" href="/plugins/serendipity_event_lightbox/thickbox/thickbox.css" />
Note that the "type" is not closed with double quotes. I just fixed that in version 1.3 of the plugin that should be avaialble in the next day.

Then the other issue is this in your HTML output of the page:

Code: Select all

<a href="/index.php?/archives/1-unknown.html"><div ...</a>
This seems to stem from faulty HTML markup in your entries.tpl file - did you edit that? I wonder where the "<div..." comes from?

The same happens with this:

Code: Select all

<div class="serendipity_imageComment_img"><a class='thickbox'  class='serendipity_image_link' ...</a>
Note the unclosed <a> tag here. I wonder where those "..." come from?? Did you enter those? Did you modify any files? Maybe any other event plugins that rewrite some input, like glossary or the 'Content-rewrite' 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/
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

garvinhicking wrote:
This seems to stem from faulty HTML markup in your entries.tpl file - did you edit that? I wonder where the "<div..." comes from?

...

Note the unclosed <a> tag here. I wonder where those "..." come from?? Did you enter those? Did you modify any files?
No, i made no modifications. Its a fresh installation.
Maybe any other event plugins that rewrite some input, like glossary or the 'Content-rewrite' plugin?
Here is a list of installed plugins:

Sidebar plugins:
* Calendar
* Quicksearch
* Archives
* Categories
* Syndicate This Blog
* Blog Administration
* Powered by

Event plugins:
* Markup: Serendipity
* Markup: Emoticate
* Markup: NL2BR
* Browser Compatibility
* Spam Protector
* Spartacus
* Lightbox/Thickbox JS/Graybox

I will try to update thickbox plugin to 1.3 in the next days.
modules
Regular
Posts: 43
Joined: Tue Apr 12, 2005 9:51 am

Post by modules »

garvinhicking wrote:I just fixed that in version 1.3 of the plugin that should be avaialble in the next day.
Thx garvinhicking, its working now.
Post Reply