Install error

Installation issues with WoWRoster

Install error

Postby Aeetes » Wed Mar 10, 2010 1:52 pm

Hello

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
Aeetes
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Wed Mar 10, 2010 1:34 pm

Re: Install error

Postby zanix » Wed Mar 10, 2010 5:26 pm

I think this was an issue with an apostrophe in either the database name, username, password, or prefix

This has been fixed since v2.0.0
It seems you are using an older version of Roster. Also, I think the Roster you downloaded is a module for either nuke or DragonFlyCMS.

I would suggest downloading the latest version which is 2.0.2 as of this post Downloads/index.php?dir=WoWRoster
Download "roster202_no-imagepack.zip" and then go here for the image packs Downloads/index.php?dir=WoWRoster/Interface%20Image%20Pack

There is also a module for DragonFlyCMS, if you are using that topic5858.html
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron