Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to remove the warnings on the pink background


Richyy

Recommended Posts

Yeah please I need some help?

I just install it.

and i have 2 warnings on the top pink background of my Catalog .

How can I remove these warnings?

 

Warning: I am able to write to the configuration file: /home/www.cutstudio.com/html/Cubashop/oscommerce-2.2ms2/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

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

Link to comment
Share on other sites

1- chmod back to 644 both catalog and admin/includes/configure.php

2- in both catalog and admin/includes/configure.php store session in mysql

 

The_Bear

Link to comment
Share on other sites

Hi , thank You the Bear

It has worked like Magic

But How can I store a session in mysql so the last warning can be removed from my top pink background.

 

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

Link to comment
Share on other sites

2- in both catalog and admin/includes/configure.php store session in mysql

In both files toward the bottom change the line to look like this:

 

  define('STORE_SESSIONS', 'mysql');

 

Or did you do so and you still get the warning?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...