Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.


Guest

Recommended Posts

Posted

Hi I have installed with no problems, or at least I think so, however I still get this warning at the top Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

My question is; were do I creat the "sessions directory" of were abouts in my server directory.

 

Help much appreciated

Posted
Hi I have installed with no problems, or at least I think so, however I still get this warning at the top  Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

My question is; were do I creat the "sessions directory" of were abouts in my server directory.

 

Help much appreciated

 

A better solution especially if you are on a shared server is to go to your two configure.php files and change

 

This

 

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'

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
A better solution especially if you are on a shared server is to go to your two configure.php files and change

 

This

 

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'

 

Hi Richard, were abouts do i edit these from?

I am a bit lost here

Posted
Hi Richard, were abouts do i edit these from?

I am a bit lost here

 

 

includes/configure.php

admin/includes/configure.php

 

It is the last line in each file. If you have not edited any files yet you can use notepad to edit them and then upload them back to the server. Do not use the online file manager in your osC admin as it will screw up your files.

 

If you are going to do much editing you should get a php editor.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Hi sorry for comming accross a real thick head here but I cant find define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

in any of the

includes/configure.php

admin/includes/configure.php

 

I have opend both these files in wordpad but cant see the line that needs chainging.

Posted
Hi sorry for comming accross a real thick head here but I cant find define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

in any of the

includes/configure.php

admin/includes/configure.php

 

I have opend both these files in wordpad but cant see the line that needs chainging.

 

First off do not use wordpad. Use notepad!!

 

The line is there it is the last line of the database information you need to make sure you are in the correct files

 

 

// define our database connection

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

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

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

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

 

If you do not see this then you have the wrong files.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...