I am getting the following error when going to install WoWroster...
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in F:\Site_Name\modules\Roster\install.php on line 543
I am going to the following URL:
http://siteurl/modules/roster/install.php
This is the code from line 536 to 553 of the install.php...
- Code: Select all
$config_file .= '$db_host = "' . $db_host . '";' . "\n";
$config_file .= '$db_name = "' . $db_name . '";' . "\n";
$config_file .= '$db_user = "' . $db_user . '";' . "\n";
$config_file .= '$db_passwd = "' . $db_passwd . '";' . "\n";
$config_file .= '$db_prefix = "' . $db_prefix . '";' . "\n\n";
$config_file .= '$module_name = "basename(dirname(__FILE__))";' . "\n";
$config_file .= '$roster_dir = "modules/'.$module_name'";' . "\n\n";
$config_file .= 'define(\'ROSTER_INSTALLED\', true);' . "\n";
$config_file .= '?>';
// Set our permissions to execute-only
@umask(0111);
if ( !$fp = @fopen('conf.php', 'w') )
{
Any help would be nice...
Thanks
Aeetes