View Full Version : parse error
revmitchell
07-03-2008, 04:21 PM
How do I fix this:
Parse error: syntax error, unexpected T_VARIABLE in /home/httpd/vhosts/pastors-source.com/httpdocs/vb/includes/config.php on line 27
What line is this?
noppid
07-03-2008, 04:37 PM
That's the first setting of the vB config.php and should look like...
$config['Database']['dbtype'] = 'mysql';
Make sure there are no stray characters on line 28.
revmitchell
07-03-2008, 04:47 PM
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';
What is wrong with this?
Opserty
07-03-2008, 04:50 PM
Private message me your config.php (blank out the database username and password). I'll take a look at it for you.
noppid
07-03-2008, 05:08 PM
What is wrong with this?
Show the next two lines. the problem is likely on line 28.
revmitchell
07-03-2008, 08:22 PM
I got it worked out. Thanks guys
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.