chrometweaks.org

Web iPage hosting service, got a coupon for Host Gator. Sounds good, any experience?

Click Here To View All Answers...


First of all Web iPage hosting service, got a coupon for Host Gator. Sounds good, any experience? Thanks for any comment. My 2nd question... Hi, I get this error with my oscommerce store but my settings (config file) etc are not wrong..

1046 - No Database Selected.

Select configuration_key as cfgKey, configuration_value as cfgValue from configuration.

[TEP STOP].

My host told me this.

Can sumone shed a little light on what he means as he is a busy guy I wondering if any of you could explain what he means further..

Many thanks.

Scott..

Comments (178)

Yea, there are plenty of iPage promo deals out there. Awesome chance to save dough on iPage now. I urge you to you to subscribe for their emails so you can receive their recent online discounts. They typically send them out once a month or so..

Comment #1

Sounds like you need a new host!.

Is MySQL up and running? If you say your osc config file is correct....can you see the database via PHPMYAdmin ?

Comment #2

Yes I can see it in phpmyadmin, I was thinking maybe chmod, I was using it on a local windows server so it wasnt a problem but this is a linux sever. Do you know which ones I should chmod and to what??..

Comment #3

644 is normal.

But I dont think that is it...

Post your config file here....

And yes I would look at other hosts, wht the hell is a OSCOMMERCE demon anyway???..

Comment #4

Hmm,.

Maybe server problem his server info.

Www.dezigna.3rror.com/info.php.

<?php.

/*.

 osCommerce, Open Source E-Commerce Solutions.

 [URL=http://www.oscommerce.com]http://www.oscommerce.com[/URL].

 Copyright 2003 osCommerce.

 Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

 define('HTTP_SERVER', 'http://dezigna.3rror.com'); // eg, [URL=http://localhost]http://localhost[/URL] - should not be empty for productive servers.

 define('HTTPS_SERVER', ''); // eg, [URL=https://localhost]https://localhost[/URL] - should not be empty for productive servers.

 define('ENABLE_SSL', false); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'localhost');.

 define('HTTPS_COOKIE_DOMAIN', '');.

 define('HTTP_COOKIE_PATH', 'cata2/');.

 define('HTTPS_COOKIE_PATH', '');.

 define('DIR_WS_HTTP_CATALOG', '/cata2/');.

 define('DIR_WS_HTTPS_CATALOG', '');.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'/languages/');.

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

 define('DIR_FS_CATALOG', ' /home/dezigna/public_html/cata2/');.

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

 define('DB_SERVER_USERNAME', 'secret');.

 define('DB_SERVER_PASSWORD', 'also a secret');.

 define('DB_DATABASE', 'dezigna_catalogue');.

 define('USE_PCONNECT', 'false'); // use persistent connections?.

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

?>.

This post has been edited by.

Scotte.

: 12 July 2004, 17:42..

Comment #5

1046 - No Database Selected.

Select configuration_key as cfgKey, configuration_value as cfgValue from configuration.

This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files.

You can get the database name from connecting using phpMyAdmin..

Comment #6

I promise you that was the first thing I checked and checked and checked..

They match.

Taken from the top line of phpmyadmin.

This post has been edited by.

Scotte.

: 12 July 2004, 17:48..

Comment #7

Well I see a few things.

First the Config you posted is for "cata2".

The error is occuring in "catalog".

That is probally the main reason....

You have 3 differant installs it looks like, 2 of them producing the CF error and on producing a File not found Error.....

Maybe if you tell me why you have 3, what your goals are I can help you.

Right now it looks like you have Config issue in all 3 installs..

Comment #8

I wish to have one install on the server, a fresh install with a database I have already made on my local server (so I am transferring the store live)..

I have 3 becoz accidently installed one inside another one. The clean install one is found at.

Http://www.dezigna.3...includes/cata2/.

That one is clean have touched nothing else..

The other two I have tried chmoding file permissions and I get diff errors..

So the link is a fresh install with the first error message I get..

Where to go from here?..

Comment #9

Hi, I get this error with my oscommerce store but my settings (config file) etc are not wrong..

1046 - No Database Selected.

Select configuration_key as cfgKey, configuration_value as cfgValue from configuration.

[TEP STOP].

My host told me this.

Can sumone shed a little light on what he means as he is a busy guy I wondering if any of you could explain what he means further..

Many thanks.

Scott..

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.