PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 9-16-03, 01:38 AM   #1
_j_
 
Posts: n/a
Help with error message on sessions.php

Hi all.

Thanks for all of the wonderfull info on this board, I have been able to solve many of my problems that I have been having by searching the forum.

I am getting a problem that I can not get rid of and have searched on this forum and can still not find an answer, I am getting a blank page in IE when attempting to access the SSL site, but when I use Netscape I am getting the site loading, but with the following error above the header:

Code:
Warning: session_start(): open (/tmp/sess_72a071b97d6d78660c8df96fe4fb0b6d, O_RDWR) failed: Permission denied (13) in /www/c/cosmicrustcr/htdocs/store/catalog/includes/functions/sessions.php on line 67

Can anyone help me with what is going on here?
 
Old 9-17-03, 01:16 AM   #2
JadedMan
Registered
 
Join Date: Sep 2003
Location: Canada
Posts: 15
Reputation: 5
Me too!

I am also having the same error message coming up:
Warning: session_start(): open(/tmp/sess_d1ce402e5c13cc984226b89b176f29d8, O_RDWR) failed: Permission denied (13) in /www/j/jubilee/htdocs/emerson/catalog/includes/functions/sessions.php on line 67
JadedMan is offline  
Old 9-25-03, 02:59 PM   #3
WenzlerPaul
 
Posts: n/a
Lightbulb my opinion

Hi,

About the error:

Warning: session_start(): open
(/tmp/sess_72a071b97d6d78660c8df96fe4fb0b6d, O_RDWR) failed: Permission denied (13) in
/www/c/cosmicrustcr/htdocs/store/catalog/includes/functions/sessions.php on line 67

There are actually a lot of reason why this would occur but let me just give you the major ones and how to get over it.

*Please take note that this does not guarantee, it may or may not work on this matter because it will depend on how your system works or how the site was configured.

One major reason you are receiving this is cache problem that is still residing on your Temporary Internet Files on Windows. Try deleting those plus delete the Cookies, close down the Shopping Cart and then open it again. Refreshing the page while it is still open will likely cause the same problem because some servers do hold on the same session of the server and the browser so you need to close the page and re open it.

Another major reason is actually a server issue, it is a configuration thing on the powweb server regarding the TMP folder or directory if it is allowed to be accessed by users other than the powweb admins. You need to ask the powweb staff about this matter.

One thing you may want to try out is plying around with this option under your configure.php file

look for this one
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

As of my theory, using mysql to store sessions may help because all users already have access to the database so no need to write a file on the TMP directory or folder. It will look like this if you edit it.

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

If it works, do both for admin and catalog.

I do apologize for not giving you a concrete solution on this since I have not yet tested that one, however this is the closest I can think of. You can also try to post your domain or url here so that me or other people could take a look and see what suggestions/solutions all of us can come up with.

If you need assistance, feel free to email me at wenzlerpaul@yahoo.com

Hope it helps,
Paul V. Barrera
 
Old 9-25-03, 03:17 PM   #4
_j_
 
Posts: n/a
Re: my opinion

Quote:
One thing you may want to try out is plying around with this option under your configure.php file

look for this one
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

As of my theory, using mysql to store sessions may help because all users already have access to the database so no need to write a file on the TMP directory or folder. It will look like this if you edit it.

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

If it works, do both for admin and catalog. [/b]


We have a winner!!!
Paul. I can not thank you enough.
Thanks so much for dropping by this thread!
 
Old 11-25-04, 02:21 AM   #5
ryulite
 
Posts: n/a
hey Paul! i read the thread and realise that i have same error to although not exactly the same but using your solutions it solved the warning sign!! thanks again!!
 
Old 1-17-05, 01:38 PM   #6
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Can't upload configure.php

I had the same problem and changed the configure.php file as suggested. But when I try to upload it I get a 553 error, "Cannot open that file -- permisssion denied." I uploaded other files without any problem. Why can't I upload configure.php?

I've tried a couple of different FTP programs and waited a while to see if it's a temporary powweb problem but get the same error.

Thanks for your help.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 1-17-05, 02:15 PM   #7
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
You will get this error if the file is protected against write on the server. Note that you can't change the protection remotely once it has been set no-write. One way to deal with it is to delete the old file and then upload a new one.
__________________
Steve
stevel is offline  
Old 1-17-05, 03:00 PM   #8
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Thanks, Steve. That fixed the first problem, but now I get this error message:

Warning: I am able to write to the configuration file: /www/h/u/huntpineywoods.com/htdocs/store/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

I recall having this same problem before. Thanks for any help you can give me to fix it.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 1-17-05, 04:03 PM   #9
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
See Jade's installatiion tutorial in the first sticky, or get my "Protection of Configuration" contribution.
__________________
Steve
stevel is offline  
Old 1-17-05, 05:23 PM   #10
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Does that involve new .htaccess and .htpasswd files? As I recall I spent a few days trying to make those work on the other site before begging for help. I'll give it another try.

Thanks for your help. (I think I'm going to make "Thanks for your help" part of my signature. )
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 1-17-05, 05:44 PM   #11
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
I did the protect.php upload and that fixed the problem. Then I noticed I had the sessions.php problem in the OSCommerce administration page, so I fixed that, too. I might get the hang of this in a few years. *lol*

Thanks for your help.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:31 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.