Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can anyone help?


tefa

Recommended Posts

Posted

I can't login and I got some error message about:

Query was empty - Query was empty

 

Query was empty

 

[TEP STOP]

 

Query was empty - Query was empty

 

Query was empty

 

[TEP STOP]

 

 

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

May anyone help me.thank you.

 

Lin Te Fa

Posted

Hi tefa,

 

It sounds like a sessions problem to me.

 

You can check out (MAKE SURE TO BACK UP FIRST!):

 

If you do not already have mysql as the default handler for your store's sessions set in both your catalog and admin configure.php files,  

you can change it from the empty ' ' setting to mysql and see if that helps.

 

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

 

Look for this section in your catalog/includes/configure.php

 

// define our database connection

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

 

And also:

 

catalog/includes/application_top.php

 

define('PHP_SESSION_SAVE_PATH', '/home/your_username/public_html/tmp/');

 

Make sure to change this to where your tmp directory is on your Web server, the one I have shown you above is only an example.

 

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

 

Look for this section in your admin/includes/configure.php

 

// define our database connection

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

 

And also:

 

admin/includes/application_top.php

 

define('PHP_SESSION_SAVE_PATH', 'http://www.yourdomain.com/tmp/');

 

Make sure to change this to where your tmp directory is through your domain, the one I have shown you above is only an example.

 

 

Good luck!

Running osC - 2.2MS2. P.S. Please don't ask for a link to my site, it is on a production server and not available for the general public, yet!

Posted
Thank you,

I have solution the problem.

 

tefa

 

I have the same problem.

What was the solution that worked for you?

Archived

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

×
×
  • Create New...