Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error when changed /tmp in config.php


Guest

Recommended Posts

I'm starting to get really frustrated, it keeps on giving errors. First, it said that sessions couldn't be stored, and /tmp should be created. I used the search function on this forum, and found out that I should change

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

 

to

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

 

So I did, and now I'm not able to open /catalog, and get this error;

 

Warning: mysql_pconnect(): Access denied for user: '[email protected]@localhost.localdomain' (Using password: YES) in /home/virtual/site87/fst/var/www/html/catalog/includes/functions/database.php on line 17
Unable to connect to database server!

 

But I haven't even changed anything in that file, right?

 

*pulls hair out of head* :(

Link to comment
Share on other sites

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

 

above this line is the line for pc_connect

define('USE_PCONNECT', 'false');

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...