Navigation button misdirecting links Navigation button misdirecting links
 

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

Navigation button misdirecting links

Started by bretts, January 09, 2006, 09:10:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bretts

Hello,
I've searched the forums and can not seem to find how to correct this issue. Everything on CPG 1.4.3 seems to be working except the two navigation arrows < > above the picture. The problem is experienced in multiple templates so I'm figuring a PHP configuration or Include/init.inc.php problem.

When I hover over  the < arrow, I get a javascript:; text reference at the bottom of my IE page. When I hover over the > arrow, I'm getting a file reference of: file:///C://mywebsite/cpg143/displayimage.php?album=1%26pos=1

I know the sub folders are correct in the above but, shouldn't the reference be right to my web page? i.e. www.mywebpage.com/cpg143/displayimage.php?album=1%26pos=1

I really could use a guiding hand (or if needed, a smack in the noggin') to figure this one out. Appreciate any help.

Scott


Joachim Müller

post an actual link instead of a dummy placeholder url.

bretts

#2
http://nolongerneeded/cpg143/index.php


Tranz

In Config, what do you have set for the gallery URL?

bretts

#4
URL of your coppermine gallery folder (no 'index.php' or similar at the end)  = http://www.nolongerneeded.com/cpg143/

URL of your home page = index.php (Default)


Tranz

Have you modified any of your files with a WYSIWYG editor?

bretts

#6
No that's the thing, I haven't changed anything out of the ordinary. My PHP and MYSQL all seem to intergrate fine, Photos transfer ok, and generally the program works fine.  I've looked through any of the files where I thought I might be able to identify a misconfigured redirect.

I'll re-install CPG 1.4.3 and ensure base setting are maintained. I'll post back if the same problem is experienced or not.

bretts

#7
Ok, I did a re-install and met with the same problem right after logging in. I attempted to go to my gallery for file placement but again showing a file:///C://... instead of the needed http://.....

This leads me to say that CPG is not causing the issue but most likely php.ini is misconfigured somewhere. I put a copy of php.txt on my ftp server

ftp://nolongerneeded.com         User: php, no password 

My server is WinXpPro using Keyfocus as the WebServer.

Any suggestions or help is appreciated.

*Update*

Well, I rebuilt my Webserver, still the same....
Reinstalled PHP... same thing....
I'm really at a loss for why these navigation buttons show as a file folder path rather than a url string.

bretts

Well, after hours of searching and testing, I can attribute the problem to my Keyfocus webserver. It appears that something within the CPM143 doesn't play well with my webserver.

In line with that, I would like to ask how the navigation buttons are scripted to act? It seems strange still that all the other navigation functions work short of a few features that simply move you back and forth and redirect to other pages.

Thanks,