osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Can you help me to fixe my first warnings ? session + right

This is a discussion on Can you help me to fixe my first warnings ? session + right within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello, I'm french and new in the Oscommerce's world. So I just have finished my first install but I don't ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-30-2003, 08:26 AM
Lurker
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gregv
Default Can you help me to fixe my first warnings ? session + right

Hello,
I'm french and new in the Oscommerce's world.
So I just have finished my first install but I don't know how to fixe these warnings appeared on my index.php ?
It seems to be about "create the sessions directories" and I don't know how to do it ...
Could anyone help me to start ?


1°)
Warning: session_start() [http://www.online.net/support/]: open(/tmp/.sess_d9db44e2eb57a02270a09856028d5d7d, O_RDWR) failed (you probably forgot to create the 'sessions' directory): Invalid argument (22) in sessions.php on line 67

2°)
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/42/j/o/u/jouetenligne.com/www/Oscommerce/includes/functions/sessions.php:67) in sessions.php on line 67

3°)
Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script is not allowed to access a file owned by another uid in header.php on line 30 :
Header :
(// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {)


4°)
Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.
I put a /tmp every were but no way

5°)
Warning: I am able to write to the configuration file: /var/www/42/j/o/u/jouetenligne.com/www/Oscommerce/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

(I check the right : it is to CHMOD 644 ??? )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-30-2003, 10:56 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

You should store session in MySQL...

In BOTH configure.php files - change the 2nd last line:

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'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-03-2003, 01:22 AM
Lurker
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gregv
Default

Thank you. Now it's ok with session.
But I always have a warning about configure.php.
I check the CHMOD value and it's correct i think : CHMOD 644.
This is the warning :
Warning: I am able to write to the configuration file: /var/www/42/j/o/u/jouetenligne.com/www/Oscommerce/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.What can I do ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-03-2003, 08:26 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,074
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

CHMOD 444
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Strange warnings. Help! EPierre osCommerce 2.2 Discussion 0 11-09-2006 07:27 PM
Session Cookies and Cache Warnings Plastic osCMax v2 Installation issues 0 12-04-2005 06:30 PM
SSL Errors, Session Cookie, Session Cache, NOVICE Problems? hanool osCommerce 2.2 Modification Help 1 09-07-2003 12:49 PM
Please help: Warnings... laonux osCommerce 2.2 Installation Help 3 02-23-2003 09:10 AM


All times are GMT -8. The time now is 10:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax