Warning Message - Post ID 184876

User 2307637 Photo


Registered User
10 posts

When I publish my shopping cart to my site I get the following warning message at the top of the page.

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/61/3875461/tmp/sess_6bg5p95cf4ruvrp2hia92a5qk2, O_RDWR) failed: No such file or directory (2) in /home/content/61/3875461/html/newsite2/ccdata/php/page.cls.php on line 136

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/61/3875461/html/newsite2/ccdata/php/page.cls.php:136) in /home/content/61/3875461/html/newsite2/ccdata/php/page.cls.php on line 136

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/61/3875461/html/newsite2/ccdata/php/page.cls.php:136) in /home/content/61/3875461/html/newsite2/ccdata/php/page.cls.php on line 136

I have deleted all the files off the server several times and reloaded them and I still get the same message. I have also tried to access the site from different computers and I get the same message.

It is a Linux server is running PHP 5.2 and I have Shopping Cart Creator Pro 3.9. When I preview the site it works fine. Any ideas of what would cause this or how to fix it?
User 103173 Photo


VP of Software Development
0 posts

What is the URL to your shop?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 103173 Photo


VP of Software Development
0 posts

Chad Bruce wrote:
http://www.adhesivesplus.com/newsite2/index.php

PHP Sessions are not enabled. You will need to contact your provider and have them enable them.

http://www.adhesivesplus.com/newsite2/c … ertest.php
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2307637 Photo


Registered User
10 posts

Scott,

Thank you for your reply. I have requested that PHP be enabled. In the mean while I did some searching and found that I need a php5.ini file in my GoDaddy root directory. Is this a file that Shopping Cart Creator populates or do I need to make it myself?

Chad
User 103173 Photo


VP of Software Development
0 posts

Chad Bruce wrote:
Scott,

Thank you for your reply. I have requested that PHP be enabled. In the mean while I did some searching and found that I need a php5.ini file in my GoDaddy root directory. Is this a file that Shopping Cart Creator populates or do I need to make it myself?

Chad

You would make that file yourself.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2307637 Photo


Registered User
10 posts

Ok problem solved. In case anyone else runs into this problem. You need to have a php5.ini file in the root directory and it must contain the line "session.save_path = /tmp" You also need a tmp folder in your directory.

Here is my whole php5.ini file.
register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
session.save_path = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="


Chad

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.