Installation roster 171

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

Installation roster 171

Postby onemal » Wed Dec 13, 2006 2:21 pm

Hey all,

my problem is very simple but i dont know it,...

I´ve installed roster171 on my webserver. php is all right and mysql too but where i have to insert the host and user and password from the db ?
The roster cant know it, if i dont insert it anywhere like conf.php or install.php
So he tells my always: MySQL Module: Available: No Required: Yes
but its allready there - the db is installed and working

I hope my problem is clear?

thanks
onemal
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Dec 13, 2006 2:09 pm

Installation roster 171

Postby PleegWat » Wed Dec 13, 2006 2:41 pm

If the installer tells you mysql isn't installed then either it isn't or it's not linked to php correctly. If mysql is installed and linked to php correctly the installer will pop up a some input fields for database host/user/pass/name/prefix.
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

Installation roster 171

Postby onemal » Wed Dec 13, 2006 3:16 pm

Ok thanks
but where I can link it to php correctly?

How does the roster known that i have a db ?
onemal
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Dec 13, 2006 2:09 pm

Installation roster 171

Postby zanix » Wed Dec 13, 2006 6:23 pm

Roster uses a php function to check for the mysql extension
extension_loaded('mysql')

You have to have the extension enabled in php for mysql
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

Installation roster 171

Postby onemal » Tue Dec 19, 2006 10:21 am

OK - I`ve found it

thanks a lot
onemal
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Dec 13, 2006 2:09 pm

Installation roster 171

Postby Blewcheeze » Tue Dec 19, 2006 11:59 am

OK, here is the deal. Roster installed just fine, but my webhosting provider requires me to use "mysql" instead of "localhost" for my $db_host. Roster would not install until I changed this option from "localhost" in the setup.
Now when I try to tun the "admin.php" from my web browser it gives me this error:

settings.php: line[121]
Could not connect to database "roster"
MySQL said:
1045: Access denied for user 'daniel'@'localhost' (using password: YES)

Shouldn't the user read daniel@mysql? This seems to me the same reason it would not install until I changed my $db_host.....

Thanks for any and all help.
P.S. I am very new to PHP, BE GENTLE!!!!!!!
Blewcheeze
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Tue Dec 19, 2006 11:47 am

Installation roster 171

Postby zanix » Tue Dec 19, 2006 9:17 pm

Open conf.php in a text editor and see if it is set to localhost still
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 General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron