Double Scrolling Bar, something to do with how it is linked! Double Scrolling Bar, something to do with how it is linked!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Double Scrolling Bar, something to do with how it is linked!

Started by Kenshino, April 19, 2007, 01:55:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kenshino

This is a very interesting thing I've found out.

http://www.unrealcreation.com/index.php?module=pnCPG

The link above creates double vertical bars.

However!

This link - http://unrealcreation.com/index.php?module=pnCPG

It does not create double vertical bars.

The only difference is the www in the address!

Anyone know why?

Joachim Müller

Be consistent in your use of the www subdomain. I suggest redirecting all your users who access your page with the www in the URL to be sent to unrealcreation.com using .htaccess

Please review similar threads:

Not sure though what actually causes the extra scroll bar - I'm not familiar with PN.

Kenshino

Yup! I did that but I realised that it could be valuable information in solving the problem of double scroll bars once and for all. So I removed the .htaccess for the time being till Casnuy looks at it

.carolinecblaker.

I'm not completely understanding how this is all to do with cookies and login, especially since pnCPG does this whether a user is logged into the gallery or not. Also, in my particular instance of pnCPG, it displays correctly with "www," not without. Why would it display "short" at all? Isn't there a line of code that could be adjusted? A touch of javascript, perhaps? .htaccess does not sound like a bad fix, but since there  are multiple paths to my gallery, finding all of the ways for the url to be displayed sounds like a guessing game.

Kenshino

It is indeed interesting that yours has the exact opposite behaviour from mine.

My .htaccess does not involve guessing, instead it rewrites all http://www attempts to just http://

It goes like this

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.eaglescoutgroup\.org$ [NC]
RewriteRule .* http://eaglescoutgroup.org/ [L,R=301]


.carolinecblaker.

I think it has to do with how the server is setup- my "root" folder is not actually that, and the www extension actually places the browser in the right place.

Is that all that your .htaccess file contains? headers? other cool info? thx

Kenshino


casNuy

Since I am working mainly with Windows, .htaccess will not be a general solution.
Are using a relative or fixed path in the settings of pnCPG ?
I already applied some java code to avoid those bloody bars.
Always open for ideas.
Cas

Kenshino


casNuy

Do you still have the problem with the latest version ?
Does it happen with IE and FireFox ?
Cas

Kenshino

Hi!

The new version does not fix the www and non-www problem.

However, I've discovered that if I set the cpg installation and postnuke installation roots to http://www.unrealcreation.com
instead of http://unrealcreation.com, then viewing the site gallery with www. loads it without double scrollbars.

But, should I try now with http://unrealcreation.com to view it, the gallery does not load properly and loads with extra scrollbars.

Has it something to do with - If the root settings are not exactly the same as entered in the address bar, it stops a few lines from loading therefore not removing the extra scrollbars?

Also, the new version does not log me into the gallery automatically. Is there something I must remove? I've initialised and activated the pnSSI module before updating the pnCPG module.

casNuy

First to the logging in.
You also copied my version of pnUser.php (comes with pnSSI) ?
You adjhusted the settings of pnCPG accordingly ?
Which version of Coppermine are you using (It says modified by L) ?

As for the scrollbars, will look into that later.
Cas

Kenshino

Will create new topic for login problems so this thread will stay on the weird double scroll bar problem