osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

After installation

This is a discussion on After installation within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; Hi, I get this message: Warning: session_start(): open(/tmp\sess_73c1858554795b3130cc10582adde104, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php on ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-07-2004, 01:48 PM
Anonymous
Guest
 
Posts: n/a
Default After installation

Hi,
I get this message:

Warning: session_start(): open(/tmp\sess_73c1858554795b3130cc10582adde104, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php:67) in C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php:67) in C:\Inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67
Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.


What should i do?

Regards

/ANNA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-07-2004, 02:45 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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

Linux: if you have root server access, create the /tmp directory in the main server dir, and make it writeable. If you do not have root access, change the sessions settings in the admin and catalog configure.php files to say 'mysql' and the problem will go away...

Windows: create a /tmp folder on the C: drive and make it writable. You may have to experiment where to put the tmp dir. Start in c:, and work your way down the webserver directories until it works. Changing the configure.php session setting to 'mysql' will work on windows systems as well...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #3  
Old 01-08-2004, 06:42 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

The quickest solution is as Mike pionted out - store session in MySQL....

The better solution (in a bit more detail)....
Look in your php.ini to see where your "tmp" directory should be. More than likely c:\tmp or c:\php\tmp. Make sure it exists. THEN MAKE SURE on NT/2000/XP/2003 servers the "IUSR" has R/W/M permission on this directory. Without that set the web server (and thus php) can not use this directory.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-08-2004, 01:11 PM
Anonymous
Guest
 
Posts: n/a
Default

Hi JPF,

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:\PHP\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)

i have created this folder, and i stil get same message, ther "user", "admin" have modify permission.

/anna
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-09-2004, 06:40 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

We are talkin about sessions - not uploads.....

Look for something like:
session.save_path = C:\PHP\sessiondata
or
session.save_path = C:\PHP\tmp
or
session.save_path = C:\tmp
or
session.save_path = /tmp
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-09-2004, 08:08 AM
New Member
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
janehamilton
Default

Quickest way I know to locate your OS Commerce php settings (ie what directory session.save_path points to etc) is via entering http://yourserver/catalog/admin/server.info.php (replace yourserver with localhost or your domain name whichever applies) into your browser.

For your problem look under the heading 'session' in the column Directive you will them be able to find where session.save_path points to on your system. The Local value column has a value that you can set via the OS Commerce admin panel under Configuration-Sessions-Session Directory, click edit and enter say /example (this is just to show you how the value you enter here shows up in your server_info.php file) this will then be the directory which is mapped to the Master value which in my case (on my system) is C:\PHP\sessiondata. You would then as mentioned need to set permissions via your servers settings to enable this directory to be written to.

I am new to OS commerce and PHP but I think it is better to get your sessions written to a file in a directory rather than writing to the database which is what the mysql setting does by adding mysql as the value to the STORE_SESSIONS constant in the configure.php file
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-31-2004, 10:55 PM
Anonymous
Guest
 
Posts: n/a
Default

Jane,
The correct url to the server info page is actually http://yourserver/catalog/admin/server_info.php

Note the underscore instead of a period.

Hope everything is working out for you now, I'm still having what appears to be one last difficulty, but it's worth the wait.

Regards,
Obewanz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
installation tclhost osCMax v2 Installation issues 1 07-28-2005 05:23 AM
Installation Help Please! BHenderson osCommerce 2.2 Installation Help 5 01-24-2005 09:15 PM
OSC-MAX v1.7 Installation Chippy osCMax v1.7 Discussion 2 08-11-2004 12:46 AM
installation help divishow osCMax v1.7 Installation 5 06-02-2004 11:18 AM
Mod installation aalex osCMax v1.7 General Mods Discussion 3 01-25-2004 03:05 PM


All times are GMT -8. The time now is 04:16 AM.


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