Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

- MAJOR - HELP -


Zoi

Recommended Posts

Hi,

 

I had a shop, up running, @ blabla.com/test

and i did a backup of it (downloaded the hole shop, into my HDD)

becuase I wanted to change the /test folder, to something like /Shop etc.

to make it look more professional for people visit it.. (look no serious if it said test)

so I made backup, deleted the shop,

 

and then did a new catalog named /shop, and it went up as default.

but when im replaced my backup, in the shop, catalog @ the ftp, i displayed error!

that said..

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

Now, HOW The fu*k, do i make it work ?

i also, tryed, to change it back with other catalog name /test (like i used first time when it worked) but i got the same Error there also!

could you please help me out ?

 

thanks!!!! / tears , Andrew :(

Link to comment
Share on other sites

post both admin and catalog includes/configure.php files the information for the database in these files is wrong

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

241 / Steve

 

How do you mean ?

shall i post the, admin and catalog includes/configure.php

code in this thread?

or replace them on the server? please tell me more detailed on how you mean?

 

Im Swedish, so i need more detailed explanation.. (srry for beeing a pain in the ass) :/

Link to comment
Share on other sites

you have been working on your hard drive and now you want to load to the server but the configure.php files are set to work on your hard drive not the server so the configure.php files require to be set up for the server so the paths have to reflect the paths on the server and this includes the database information

 

example

 

define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'http://localhost');

may have been fine on your local machine but not on the server

 

example 2

 

define('DIR_FS_ADMIN', 'c:/apache/www/public_html/catalog/admin/');

may have worked on your local machine however not on the server

 

example 3

 

define('DB_SERVER', 'localhost');

may have worked on your local machine but not on the server

 

these things for me are easier done than said so if you want you can pm me the information and I will make up the two configure.php files or post them for someone to work on or better still dig in there yourself and make the changes, the best way to learn

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...