Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

What is the /tmp directory?


Recommended Posts

I keep getting this error:


Warning: open(/tmpsess_10fbf8e2cdd8b77c8b8551093c857e7e, O_RDWR) failed: No such file or directory (2)


also I get this when I go to the catalog:


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


Where or how do I make this?


When I go to admin I get this:



1046 - No Database Selected


select configuration_key as cfgKey, configuration_value as cfgValue from configuration




What is this?

Link to comment
Share on other sites

the tmp directory is used when you turn on caching and possibly if you are saving sessions as files. If you are hosting your osc in a shared account, do not use the cache, as other shared accounts, could put their data there as well curropting your content.


The admin pages use their own configure.php located in the [path to admin]/includes folder.

Best Regards,


Salvatore Iozzia


Loaded Commerce - Oscommerce - All Loaded Up.

Link to comment
Share on other sites

If you are on Windows you will need to create a directory called tmp on your c: drive...



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

Link to comment
Share on other sites


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

  • Create New...