FIREFOX ISSUE - Pulling my hair out

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

FIREFOX ISSUE - Pulling my hair out

Post 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
Last edited by rescamilla on Sun 26. Nov 2006, 19:17, edited 1 time in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Audax
Posts: 32
Joined: Wed 8. Jun 2005, 17:01

Post 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...
Cogito, ergo sum..
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

For me it was not working ;-) with FF2.0 (Windows)

Oliver
Last edited by Oliver Georgi on Sun 26. Nov 2006, 20:19, edited 2 times in total.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

Post 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
Post Reply