Advanced search  

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

Pages: [1]   Go Down

Author Topic: Double Scrolling Bar, something to do with how it is linked!  (Read 18055 times)

0 Members and 1 Guest are viewing this topic.

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Double Scrolling Bar, something to do with how it is linked!
« on: April 19, 2007, 01:55:08 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #1 on: April 20, 2007, 08:40:44 am »

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.
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #2 on: April 20, 2007, 03:48:13 pm »

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
Logged

.carolinecblaker.

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #3 on: April 26, 2007, 08:11:25 pm »

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.
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #4 on: May 02, 2007, 04:00:45 am »

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

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

.carolinecblaker.

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #5 on: May 06, 2007, 06:57:32 pm »

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
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #6 on: May 08, 2007, 07:02:28 pm »

Yes, that is all that my .htaccess file contains
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #7 on: May 12, 2007, 05:44:57 pm »

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
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #8 on: May 14, 2007, 04:31:15 am »

Am using the fixed path for The location of coppermine installation

http://unrealcreation.com/cpg1410
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #9 on: May 15, 2007, 06:35:32 pm »

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

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #10 on: May 16, 2007, 05:53:14 am »

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.
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #11 on: May 16, 2007, 05:05:28 pm »

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
Logged

Kenshino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Double Scrolling Bar, something to do with how it is linked!
« Reply #12 on: May 16, 2007, 06:13:14 pm »

Will create new topic for login problems so this thread will stay on the weird double scroll bar problem
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.