iTropics.net

  • Increase font size
  • Default font size
  • Decrease font size

Newsflash

Watch the latest Filipino entertainment shows and Philippine teleserye online without advertisement like Agua Bendita, Queen Seon Deok, Kung Tayo'y Magkakalayo, Rubi, Diva and many more. Visit www.ebenta.com

Home Computers PHP, MySQL, ASP Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

E-mail PDF
User Rating: / 1
PoorBest 

OsCommerce - Sessions Directory error /tmp folder

 

When installing OsCommerce locally, you usually get this error "The sessions directory does not exist: /tmp. Sessions will not work until this directory is created."

To fix the issue, do the following:

  1. Open your configure.php located in your /catalog/includes folder. If your configure.php is not writable, make it writable by unticking the "Read-only" checkbox in General properties attributes.
    OsCommerce-writable-configure.php

  2. Browse for
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
  3. And change it to
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
  4. Save the file configure.php
  5. Refresh your website.

blog comments powered by Disqus
Last Updated on Saturday, 08 August 2009 21:48