Results 1 to 5 of 5

Another warning for me!

This is a discussion on Another warning for me! within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi all, I have added a product into my shop, set some controls, shipping etc and added a few bits, ...

      
  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    40
    Rep Power
    0


    Default Another warning for me!

    Hi all,

    I have added a product into my shop, set some controls, shipping etc and added a few bits, logo changed etc. All as worked great for a few days until today, I now get this error in pink when I go to my site.

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

    Obviously I just have to create the `sessions` folder, but where abouts?

    Many Thanks

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    40
    Rep Power
    0


    Default RE: Another warning for me!

    *NUDGE*
    for an answer anyone?

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: Another warning for me!

    Go to the admin panel and under Sessions, change the sessions directory to one that exists and has write permissions. Alternately, you can edit the configure.php file to save sessions in the database by changing the session constant to 'mysql'

    Both will fix your issue.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Member
    Join Date
    Aug 2005
    Posts
    40
    Rep Power
    0


    Default RE: Another warning for me!

    excellent, that did the trick, thanks msasek.

    I had the sessions directory created, just didn't set it in the Admins/Sessions

  5. #5
    Member
    Join Date
    Aug 2005
    Posts
    40
    Rep Power
    0


    Default RE: Another warning for me!

    Umm.. spoke to soon,

    I typed in sessions in the box in admin and all worked fine for 2 days, now 3rd day, I get this error when I log in to /admin
    -------error------
    Warning: session_start() [function.session-start]: open(sessions/sess_f93fec45ed540ceefed98cf88675f4bc, O_RDWR) failed: No such file or directory (2) in /home/shopycom/public_html/shop/admin/includes/functions/sessions.php on line 67

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/shopycom/public_html/shop/admin/includes/functions/sessions.php:67) in /home/shopycom/public_html/shop/admin/includes/functions/sessions.php on line 67

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/shopycom/public_html/shop/admin/includes/functions/sessions.php:67) in /home/shopycom/public_html/shop/admin/includes/functions/sessions.php on line 67

    Warning: Cannot modify header information - headers already sent by (output started at /home/shopycom/public_html/shop/admin/includes/functions/sessions.php:67) in /home/shopycom/public_html/shop/admin/includes/functions/general.php on line 86

    Warning: Unknown: open(sessions/sess_f93fec45ed540ceefed98cf88675f4bc, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (sessions) in Unknown on line 0
    ------------------------------------------------
    I have the sessions folder set to 777 all access, write etc etc

    Any help please?..

Similar Threads

  1. Warning: fsockopen(): php_network_getaddresses..........
    By developer_x in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-23-2005, 08:25 AM
  2. Warning: Division by zero
    By mogul in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 07-28-2003, 05:42 AM
  3. Warning message help.
    By Picman in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 06-05-2003, 05:30 PM
  4. Help about warning
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-09-2002, 01:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •