Jump to content

Osc And Admin


Recommended Posts

Hi,

 

I'm almost set up to use osc. I should be able to admin osc with an admin panel via domain.name/admin. When I do this I get the following message:

 

------------------------

1046 - No database selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

------------------------

 

Looks to me like I need to set a config file somewhere but don't know.

 

Thoughts?

 

Tx,

Brad Klein

Link to comment
Share on other sites

Hi Don,

 

Thanks for the response.

 

The db's were transferred to TotalChoice by the support crew. I came from another web host.

 

I can see the db's with phpmyadmin. I can also see that each user has been attached to each db using the cpanel/mysql tool. It tried two different logons/pw's. When I surf /admin, I still get the error.

 

Any other thoughts?

 

Did you install from your cpanel?

or download and install it your self,

if so the install instructions should have mentioned

creating a database, a database user , adding user to the database.

Link to comment
Share on other sites

Hi Bruce,

 

The dbs were transfered from another web host by the Total Choice support folks. They look to be intact, and are OK when I repair them. Aside from that, I have two users attached to each db and still cannot logon with either logon.

 

??

 

Brad Klein

Link to comment
Share on other sites

Not familiar with osc

but be sure the database config wherever it is is set up something like this.

 

host: localhost

database: yourCpanelName_databaseName

user: yourCpanelName_databaseUser

password: mypassword

 

* Note password is just as the password,

do not add the CpanelName to it.

Link to comment
Share on other sites

Hi Bradkl, welcome to the forums!

 

I haven't used OSC for a while, but there should be two configure.php files. One in the includes folder, and one in the admin/includes folder. Make sure both of those configure.php files have the correct information, such as the database login information and the paths to the catalog and admin folders, etc.

 

Hope that helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...