Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
LinkBack Thread Tools Display Modes
Old 01-17-2005, 02:30 PM   #1 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
BOSI2 setup question

Ive reached the point in the installation where you sign as admin with the password of admin. When I do this, i get this message:

Error: No Database Selected trying to read user/pass dbuser = DBUSER

I know I created a DB during the installation so im not real sure on how to continue. If anyone has any ideas, let me know.

Thanks,
Zach
deuelz is offline  
Old 01-17-2005, 02:31 PM   #2 (permalink)
All Star Reserve
 
Mr.Opinion's Avatar
 
Join Date: May 2003
Location: SkiFree Lodge
Posts: 869
Thanks: 5
Thanked 25x in 15 posts
Are you trying to set this up on a webserver or a personal machine?
__________________
Mr.Opinion is offline  
Old 01-17-2005, 03:28 PM   #3 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
A webserver.
deuelz is offline  
Old 01-17-2005, 05:13 PM   #4 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Sounds like you forgot to modify the constants.inc file.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 01-17-2005, 05:53 PM   #5 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
I checked the constants.inc file and I did modify it, along with the header.inc file. Im going to try and poke around some more too see if I can figure it out. Let me know if you all have any more ideas.
Thanks.
deuelz is offline  
Old 01-17-2005, 05:56 PM   #6 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
It doesn't report the line number or file or anything when you get the error?
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 01-17-2005, 06:02 PM   #7 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
No, when i get to the admin page, and put in the password and login as admin I get that error.

I dont know squat about programing, but when i created the data base in step 2 or 3 of the installation process, wouldnt i need to upload that to the server or is it already there. I just looked for it in the file manager and couldnt find it. I checked the installation instructions again, and it doesnt say anything about uploading the data base you create (the one with the tables.sql script). So maybe i messed up there. Could this be the problem?
deuelz is offline  
Old 01-17-2005, 06:17 PM   #8 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Did you create the database using phpMyAdmin from your browser? Assuming you did then you already created it on the server.

Can you view your database using phpMyAdmin or whatever tool your host supplies?
__________________
Dave
HFTC Commish

Last edited by DaveHorn; 01-17-2005 at 06:18 PM.
DaveHorn is offline  
Old 01-17-2005, 06:23 PM   #9 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
Yes database was created using phpMyAdmin. The database is there under phpMyAdmin, but i dont know where it is when I went to look for it using the file manager.
deuelz is offline  
Old 01-17-2005, 06:44 PM   #10 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Its not a single file. Its a collection of files that are all managed through MySQL and assuming you are on a shared host, you likely don't have access to their location. If you can see and access the database through phpMyAdmin then that part is fine.

You double checked and made sure you editing the constants file to include the full info for all 4 following variables?

$DBHOST =
$DBNAME =
$DBUSER =
$DBPASSWORD =
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 01-17-2005, 06:51 PM   #11 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
I think thats it. I didnt change the database host. I'll try that and see what happens. Thanks for all the suggestions and info Dave. I really appreciate it.

Zach
deuelz is offline  
Old 01-17-2005, 07:10 PM   #12 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Just a note, sometimes localhost works, but sometimes you need to be more specific it dependent upon your host. They should have that info in within your Control Panel or whatever tool you host uses to set manage your account. Look around where you set up the database in your control panel if you can figure it out.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 01-17-2005, 07:14 PM   #13 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
Yeah, localhost didnt work, so i will look around and try a few different things. Thanks again for the help.
deuelz is offline  
Old 01-17-2005, 07:52 PM   #14 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
localhost is the right host, but still cant get it to work. I think im going to go back to the beginning and try it again. Hopefully its something else.
deuelz is offline  
Old 01-18-2005, 01:53 AM   #15 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
Update, I tweak a few things and now this is the error i get at the admin screen:

Error: No Database Selected trying to read user/pass dbuser = bosi2

Any late nighters out there have any thoughts?
deuelz is offline  
Old 01-18-2005, 05:19 AM   #16 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
Finally figured it out. I got into the admin page and im off and runnig. Thanks again for those that helped me along the way.
deuelz is offline  
Old 01-18-2005, 10:01 AM   #17 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
What was the problem duelz. It will help the next person who stumbles into the same thing, does a search, think they found it, only to look at the end of the thread with no answers.

Plus I'm curious.
__________________
Dave
HFTC Commish
DaveHorn is offline  
Old 01-18-2005, 02:59 PM   #18 (permalink)
Minors (Double A)
 
deuelz's Avatar
 
Join Date: Nov 2004
Location: Redlands, CA.
Posts: 160
Thanks: 0
Thanked 0x in 0 posts
It was simply that I didnt put in the right database name and user name. For some reason, I assumed the didnt use the prefix of your cpanel username. Say I create the db and username bosi and cpanel name is frank. I should have been using frank_bosi as my db and user names. Instead I was just using bosi. So when it went to go look for the database, it couldnt find it. I know, a rookie mistake, but im learning slowly but surely.
deuelz is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments