Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No changes that I make will be updated - Please Help


~john

Recommended Posts

I'm running OsC 2.2, Apache2, PHP and MySql on a Win XP.

I got to the point where I can browse around and look at everything but I'm unable to create Accounts - Go shopping and none of the changes that I make in the admin area will be saved.

Kind of guessed that I missed some part of allowing the OsC to write in MySql db or something around there.

 

Is there someone out there who knows how to fix this?? or knows where I can find the info on how to fix it.

Cause I've been looking through the 96 pages of messages and nobody there seemed to have the same problem as I.

:oops:

Link to comment
Share on other sites

Could it be you installed the shop on db 'firstshop'

but have the admin point to db 'secondshop'?

 

So you actually DO change things but you never get to see them,

ie DATABASE_NAME in Admin is different from the one in catalog...

 

(/catalog/includes/configure.php)

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Well it doesn't seems that way to me, anyway here's the lines from /catalog/includes/configure.php :

 

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

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

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

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

 

and from /admin/includes/configure.php

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

 

if you do have any other suggestions I'm greatful.

John

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...