installation problem conf.php

Installation issues with WoWRoster

installation problem conf.php

Postby scripts » Fri Jan 16, 2009 10:23 pm

for the love of god i cant get bypass this

WoWRoster Installation
Step 1
Installation Errors
NOTICE

The conf.php file does not exist and could not be created in Roster's root folder.
You must create an empty conf.php file on your server before proceeding. And give it write access

Version
Using: 2.0.2
Latest: 2.0.2

PHP Info
View phpinfo()
Version: Using: 4.4.8 Required: 4.3.0 +
MySQL Module: Available: Yes Required: 4.1.0 +
GD Module: Available: Yes Required: Optional

Directory Access
Cache:



i created a blank conf.php like it suggested, then i created one with all my database info and still cant pass the step 1. please help
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

installation problem conf.php

Postby scripts » Fri Jan 16, 2009 10:39 pm

this is what i get when i create conf.php with my info in it

/home/ohmthjba/public_html/roster/lib/roster.php: line[136]
Could not connect to database ""
MySQL said:
1045: Access denied for user 'nobody'@'localhost' (using password: NO)
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

installation problem conf.php

Postby zanix » Fri Jan 16, 2009 11:11 pm

After you create a blank conf.php file, you need to give it write access.
Set the attribute to 777.

If you create a conf.php file with your DB info, the installer will think you already installed Roster.
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 problem conf.php

Postby scripts » Fri Jan 16, 2009 11:14 pm

done that and still no go
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

Re: installation problem conf.php

Postby tuigii » Sat Jan 17, 2009 12:14 am

scripts wrote:/home/ohmthjba/public_html/roster/lib/roster.php: line[136]
Could not connect to database ""
MySQL said:
1045: Access denied for user 'nobody'@'localhost' (using password: NO)


Does this mean that your SQL user is actually named 'nobody' - that your servers's adress is 'localhost' (note : this could be true) and that your NOT using a SQL user-password ?

What I mean, the roster install init , which uses the same install procedure as Joomla, e107, phpBB3, phpnuke, etc etc etc has to talk to an SQL server - and is has to select a database in it (an SQL server can manage many databases, each databases contains many tables, and each table contains many records.....).
You need the adress - something like an IP, or something like mysql-52 or even sql.host.com or .... whatever : the thing is, it should resolve to a server, often if not always, your hosts gives this address ou.
You need a SQL user (it should be there) - with it's own password.
This 'user' should eb able to CREATE, DROP, INSERT into a database, that you have to create first. Often, a database and user are already created for you.

This 'user' has to have a password.

Note that the first 'admin' user that maintains your database, or even your server, will be given t you by your host.

The only free of choice variable is the prefix, just leave it to roster_ and all will go well.

Please confirm this :
1) You can connect with PHPMyAdmin to your SQL server.
2 ) You server has at least on database in it - one that you should create, or it's already created for you.
3) A SQL user exists (these might be the same as the one you use with PHPMyAdmin) to acces this database.
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

installation problem conf.php

Postby scripts » Sat Jan 17, 2009 1:54 am

i have a user name a password

i created a database just incase is was need it for conf.php

yeha and i can connect to PHPMyAdmin
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

installation problem conf.php

Postby scripts » Sat Jan 17, 2009 3:17 am

man i give up thx for the help
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

installation problem conf.php

Postby zanix » Sat Jan 17, 2009 12:26 pm

If you PM me with your database and FTP username and password
I can attempt to get this installed for you
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 problem conf.php

Postby scripts » Sat Jan 17, 2009 10:16 pm

pm sent thank you so much
scripts
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Jan 16, 2009 10:16 pm

installation problem conf.php

Postby zanix » Sun Jan 18, 2009 10:22 am

Ok, I did get it installed and working correctly
But I would like you to try again, but with some help this time

I already uploaded an empty conf.php file and set the permissions to 777
You should have no trouble if you follow this guide


In cpanel, go to "MySQL® Databases"
Here, you can choose to either make Roster have it's own database, or if you want to share your cms database

Note
Whenever you make a new database or user, cpanel will always pre-pend your username to the name you enter

So entering roster as the database name will make a database named username_roster




Make Roster it's own database (suggested)


In the database screen, under Current Databases, you can make a new database
For example enter the following
Code: Select all
roster


This will make a new database called
Code: Select all
username_roster




Share your CMSs database



If you share your CMSs database, you don't need to make a new database for Roster to use

Just remember the database name of your CMS



Access to your database


Under Current Users, you can make a new user, enter roster in the box and enter a password to use

This will make a user named username_roster


Under Add Users To Your Databases, select username_roster from the User: box and select the database (username_roster if you made Roster it's own db)
Under Privileges: make sure ALL is checked
Click Add User To Database


When you install Roster, you will use username_roster for the database user, and the password you chose when making a new user
Depending on what you chose above, you either use username_roster or your CMSs database name for the database name



If you are still having trouble, I will install it for you
Last edited by zanix on Sun Jan 18, 2009 10:23 am, edited 1 time in total.
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 1 guest