close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

This is the error that I'm getting: Warning: Unknown: open(/home/content/35/2405535/tmp/sess_pk041uvfr3ik2eiac2o7aup4c3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Pleas

Thread begun 12/28/2017 7:16 pm by elewis93815 | Last modified 1/17/2018 7:12 pm by Ray Borduin | 2761 views | 9 replies |

elewis93815

This is the error that I'm getting: Warning: Unknown: open(/home/content/35/2405535/tmp/sess_pk041uvfr3ik2eiac2o7aup4c3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please veri

This is the error that I'm getting when I try to add a product to my cart: Warning: Unknown: open(/home/content/35/2405535/tmp/sess_pk041uvfr3ik2eiac2o7aup4c3, 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 () in Unknown on line 0

the url is www.yastylus.com/shop.php

Sign in to reply to this post

Ray BorduinWebAssist

It is probably an issue with your php.ini file and the session_save_path setting pointing to a folder that either doesn't exist or doesn't have proper read/write privileges. Show the message to your hosting provider and they should be able to solve it for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

  Hi Ray, I just spoke to godaddy about this issue and they said that I should talk to you about the possibility of a file being missing and to speak to the developer about a fix?  



Unfortunately a lot of the support people you get in touch with don't understand what is going on. If you give them more information than they need, like telling them you are using a third party shopping cart, it makes it too easy for them to pass the buck.

Just create a new blank page with this code:

<?php
@session_start();
$_SESSION['savetest'] = "working";
?>

Then create a new blank page with this code:
<?php
@session_start();
var_dump($_SESSION['savetest']);
?>

Visit the first page and then go to the second page. It should show the session variable "savetest" has the value "working".

It it doesn't, show that to GoDaddy and they won't be able to pass the buck because the code is so simple you can see that the session variables aren't being set properly. You probably just got a bad support person.

Sign in to reply to this post
Did this help? Tips are appreciated...

elewis93815

Hi again! I spoke to GoDaddy and they informed me that they did an upgrade / migration of our hosting server and thought that the problem may be in the version of php ??? I've attached all of the files, not sure if this is just another hand off on there part or not so I thought I'd send everything and see if we can take care of it from there. Thank for your help

Sign in to reply to this post

Ray BorduinWebAssist

The problem is probably exactly what I said it was originally. The value of the session_save_path in the php.ini file is set to a non-existent directory or the directory doesn't have the proper privileges.

Did you use the steps and code I outlined above? What was the result? Can I see the url to the test pages I suggested you create?

Sign in to reply to this post
Did this help? Tips are appreciated...

elewis93815

I went to the first page, this is what i got:
Warning: Unknown: open(/home/content/35/2405535/tmp/sess_i0cftkdi2ep7t88ps7jtt5h4c4, 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 () in Unknown on line 0

Then to the second page and got this:
NULL
Warning: Unknown: open(/home/content/35/2405535/tmp/sess_i0cftkdi2ep7t88ps7jtt5h4c4, 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 () in Unknown on line 0

Not sure if this is what was suppose to happen but these are the results. GoDaddy has been unhelpful to say the least. Thanks for your help!

Sign in to reply to this post

Ray BorduinWebAssist

The issue is exactly what the error says the issue is:

session.save_path has a bad value in the php.ini file. You will need to contact godaddy support and have them address it.

Don't give them any background information that might confuse them. Just show them the two extremely simple pages I had you make and they should be able to fix it for you. I've seen this dozens of times on GoDaddy and they always fix it once the problem is clearly identified to them.

Sign in to reply to this post
Did this help? Tips are appreciated...

elewis93815

Thanks Ray, I'll contact them!

Sign in to reply to this post

elewis93815

Can you tell me what version of eCart we have? Our GoDaddy hosting account is set up on a php version of 5.2 which seems outdated. The GoDaddy rep I spoke to thought that the language version could be a problem. I shared with him the two pages that you had us create and he looked at the php.ini file and didn't see any issues or any permissions that were missing. He said that when the hosting account migrated to a different server on Dec 26th that may have messed up the ability to use the php 5.2 version. Im not sure if any of this makes sense, however, that is what we are being told. Thanks again for your help!

Sign in to reply to this post

Ray BorduinWebAssist

The two pages I had you create should demonstrate the problem outside of eCart. There is no way the issue can be eCart or the php version.

You shouldn't be discussing eCart or anything else other than the two sample pages with the tech so that they don't get confused. The issue is that the session_save_path is set to a directory that either doesn't exist or have the proper permissions.

Only show the tech the two pages that demonstrate the problem in the fewest lines of code possible. They shouldn't be able to deflect it that way and claim it is an eCart or php issue.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...