Page 1 of 1

FIREFOX ISSUE - Pulling my hair out

Posted: Sun 26. Nov 2006, 05:40
by rescamilla
Ok, somebody please help me figure this out. I am using Friefox to test a page. When loaded in phpwcms, the page does not perform the way it was intended, but if I take that page source and put it into its own php file and call that doc in a browser, the page does what it is supposed to. I don't get it! It's the exact same source!

Here is an example: (I am using 1.2.8, you must use Firefox to see the problem)

In Firefox, bring up this page:
fixed
Click on one of the thumbnails. What happens? The image opens up in full view.

Now, in Firefox, bring up this page:
fixed
Click on one of the thumbnails. What happens? The image opens up in the Lightbox script, which is what its supposed to do. Why? Look at the source for both of these pages, they match exactly.

Why is it that when the page is outputted by phpwcms, the code does not work properly? But when that same source is put into its own php file, it works just fine!!!

I have spent days trying to figure this out. Somebody please shoot me.

-Ray

Posted: Sun 26. Nov 2006, 09:12
by Oliver Georgi
Really hard to say - but there is one main difference:

your phpwcms is set to:

Code: Select all

Content-Type: application/xhtml+xml; charset=utf-8
your test page uses:

Code: Select all

Content-Type: text/html
Don't know if your release still have this setting - but switch it in conf.inc.php to:

Code: Select all

$phpwcms['header_XML']        = 0;
At the moment your value must be "1".

And install all 1.2.8 patches/updates available.

Oliver

Posted: Sun 26. Nov 2006, 16:57
by Audax
Errhhmm... i'm using Firefox 2.0 and both pages react the same. They both show pictures in lightbox. So no problem here...

Posted: Sun 26. Nov 2006, 17:15
by marcus@localhorst
hi,
both provided sites showing the lightbox. no problem (I'm using FF 2.0).
If I understand right, the cms generated site show you only a popup instead the lightboxeffect, and the other testpage show the lightbox?

On the lightboxsite is a hint: Website must be fully loaded to use lightbox.
So i think your site is not fully loaded. the testpage loads faster, because of the blank html code.
try, let the site fully loaded.
best marcus

Posted: Sun 26. Nov 2006, 18:28
by Oliver Georgi
For me it was not working ;-) with FF2.0 (Windows)

Oliver

Posted: Sun 26. Nov 2006, 18:36
by flip-flop
For me it works FF1.5.

If you don“t use the csshover2.htc for flyout menus, kick it out.
conf.inc.php -> $phpwcms['IE_htc_hover'] = 0;

Regards Knut

Posted: Sun 26. Nov 2006, 19:15
by rescamilla
Guys, sorry, I did what Oliver said and that fixed the problem. Was not able to post here or I would have been late for church.

Oliver, as usual I worship you. Such an easy fix that you recognized immediately.

-Ray