Conf.php

Installation issues with WoWRoster

Conf.php

Postby Cyphor » Fri Feb 22, 2008 10:33 pm

Ive uploaded the roster via ftp, put in the database info, chose my password, and uploaded the conf.php file to where its meant to go... But now its coming up with an error...

Parse error: syntax error, unexpected T_STRING in /home/killin/public_html/wow-reunion.co.uk/roster/conf.php on line 11

Link

Any help?
Cyphor
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 2:21 am

Conf.php

Postby Nefuh » Fri Feb 22, 2008 10:47 pm

Hy Cyphor,

look in your conf.php at line 10 and 11 both lines should end with ;

Nefuh
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Re: Conf.php

Postby Cyphor » Fri Feb 22, 2008 10:50 pm

They do..

Heres the conf.php

Code: Select all
<?php
/******************************
 * AUTO-GENERATED CONF FILE
 * DO NOT EDIT !!!
 ******************************/

$db_host   = "localhost";
$db_name   = "killin_reuniond";
$db_user   = "killin_reunion";
$db_passwd = "xxxxxxxxxxxx";
$db_prefix = "roster_";

define('ROSTER_INSTALLED', true);
?>


Obviously the password is different to that lol
Last edited by Cyphor on Fri Feb 22, 2008 10:51 pm, edited 2 times in total.
Cyphor
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 2:21 am

Conf.php

Postby Nefuh » Fri Feb 22, 2008 11:02 pm

Looks ok!

I can´t find any failure.

I don´t know why it tolds you that there´s an error on line 11.

Nefuh
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Re: Conf.php

Postby Cyphor » Fri Feb 22, 2008 11:09 pm

Neither do I... Its weird...
Cyphor
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 2:21 am

Re: Conf.php

Postby tuigii » Fri Feb 22, 2008 11:51 pm

Just to be sure that line 11 is line 11.

Throw away this part:
Code: Select all
/******************************
 * AUTO-GENERATED CONF FILE
 * DO NOT EDIT !!!
 ******************************/


Don’t touch the beginning < ?php and ending ? >

Then, i.e. take make you file look like this:

Code: Select all
<?php
define
('ROSTER_INSTALLED'true);
$db_name   "killin_reuniond";
$db_host   "localhost";
$db_user   "killin_reunion";
$db_prefix "roster_";
$db_passwd "xxxxxxxxxxxx";
?>


Get my point?
This editing is inoffensive; your roster still works afterwards - after you nailed the error down.
This way the error would move to another line IF the problem is actually on line 11, or just a string breaking character IN your password.
Last edited by tuigii on Sun Feb 24, 2008 4:18 am, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Conf.php

Postby zanix » Sat Feb 23, 2008 12:03 am

I bet the password has a quote " in it

Replace the " with \"
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Conf.php

Postby Cyphor » Sat Feb 23, 2008 1:47 am

Did remove the bit you said from the conf.php file and went up to line 6. But I changed the password, and it works well... Must of been because it had symbols with the password, but no ".

Thanks for the help! Much appreciated :)
Cyphor
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sat Aug 12, 2006 2:21 am

Conf.php

Postby PleegWat » Sat Feb 23, 2008 4:09 am

$? {}? Ending in a \?

And why aren't we single-quoting those strings?
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Conf.php

Postby zanix » Sat Feb 23, 2008 8:30 am

PleegWat wrote:$? {}? Ending in a \?

And why aren't we single-quoting those strings?
I dunno
Why are we not?

(I know, I know, its my code.... uhg)
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: 5543
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