View Full Version : Banners do not link correctly when on CMPS
Brent
02-01-2006, 10:45 PM
When I click a banner on my homepage http://www.mustangevolution.com it does not link to the sponsors website it gives me a page not found. When I click the banner on my actual forums it works.
The Geek
02-01-2006, 11:03 PM
I assume that is outside your forum root? Try copying the gab_redirect script to your root folder
Brent
02-02-2006, 01:03 AM
I assume that is outside your forum root? Try copying the gab_redirect script to your root folder
I get this error
The Geek
02-02-2006, 09:11 AM
when you copy the gab_redirect.php file to your root folder?
Brent
02-02-2006, 06:10 PM
when you copy the gab_redirect.php file to your root folder?
Yes
Warning: main(./global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/mustangevolution.com/httpdocs/gab_redirect.php on line 46
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/mustangevolution.com/httpdocs/gab_redirect.php on line 46
The Geek
02-02-2006, 07:28 PM
In your copy, try changing:
require_once('./global.php');
to
require_once('/global.php');
Note you may need to modify the above line to reflect the path to your global file.
Im currently working on a big update where this has been addressed. Fingers crossed we should have something in a couple days.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.