Quote:
Originally Posted by grahamsmythe
When installing vB.Sponsors, I was unsure of the path of my forum, so I ran the 'settings-check', and it came back with the following:
Directory name is: /home/v/i/myforumname_co_uk
Forum directory:: /home/v/i/myforumname_co_uk
So, in my link.php file, I changed it so it now reads as follows:
/home/v/i/myforumname_co_uk/
* Modify this to reflect the path to you forums*/
chdir('/path/to/forums/');
As I said at the beginning, when I click on the sponsor, a new window opens with an error message that says "Parse error: parse error, unexpected '/' in /home/v/i/vincentownersclub_co_uk/vB.Sponsors/link.php on line 29"
|
It looks like line 29 got messed up in link.php. Here's what lines 28 through 32 should look like for you:
PHP Code:
/********************
* Modify this to reflect the path to you forums*/
chdir('/home/v/i/myforumname_co_uk/');
require_once('./global.php');
I'm guessing you accidentally deleted one of the slashes in that comment line on line 28. All else fails, start with a fresh link.php.
Quote:
Originally Posted by geevest.com
i have some problem about vbsponsor......
banner show but if click banner
what happen? anybody can help? this verry urgent for me
|
Check that the path to your forums directory is correct. When you enter the path to the forums on line 30 in link.php, be sure that it ends with a forward slash ( / ).