Solved

JOOMLA: save.session_path not writable

Posted on 2011-03-22
16
1,067 Views
Last Modified: 2012-05-11
I have scowered the net and read upwards of 40 forums and spent hours of testing different things, but NO WORKIE!

Server:  Windows 2003, IIS6, PHP5
PHP Version       5.2.9-1
register_globals       Disabled
magic_quotes_gpc       Disabled
safe_mode       Disabled
MySQL       Yes
xml       Yes
zlib       Yes
mbstring       Yes
iconv       Yes
save.session_path       C:\PHP\temp   Not Writable
Max. Execution Time       300 seconds
File Upload       Enabled


All other PHP apps work fine on this server.  I have verified the C:\PHP\temp directory is 100% writable on the system.  In fact, even with the everyone user full access, it still shows as "not writable"

Please do not just point me to something you Googled, I have been down that path. I really need to get this working.  

Any help is greatly appreciated.
0
Comment
Question by:isiHelpDesk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 2
  • +2
16 Comments
 
LVL 11

Expert Comment

by:mattibutt
ID: 35196932
You need to change folder permission to give acess to everyone.
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35197302
Did you try to change "\" to "/" ?
I assume you double checked php.ini settings for session save path ?
0
 
LVL 4

Expert Comment

by:nickvillaume
ID: 35197557
What is the behavior you are experiencing? I see you are getting the error, but when does this error occur?
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35200585
Mattibut:  As I said in the post " even with the everyone user full access, it still shows as "not writable"

Roads: Yea, I verified the session save path....even tested it and did verify that PHP picked up that setting properly. Tried setting the temp with / instead of \ too, same result.

Nick:  using phocagallery, I am able to create folders and post images, however, each time I do get a warning message:  JFile::read: Unable to open file: 'C:\PHP\temp\phpB8.tmp'

0
 
LVL 21
ID: 35200689
With IIS I have found it best to place the folder within the wwwroot folder.

Example:

C:\wwwroot\PHP\temp
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35200778
HiTech: We tried moving the temp dir and still same result.
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35317017
Come on guys...there has to be someone out there that can assist
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35317045
Another few cents from me:
try to replace your slashes (and back ones) with doubles
/ to //
or
\ to \\
0
 
LVL 4

Expert Comment

by:nickvillaume
ID: 35317062
As soon as I saw IIS, I had to back out. I run on Linux only for this very reason.

My advise: "Get off windows and call me in the morning."

Sorry, I could not be of more help.
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35319270
OK, I found the issue.  HOWEVER I need to figure out how to do this.

When I set the session.save_path to C:\domains\ISI\xxxxxxx\xxxxx\www\tmp
Which is inside the sites www root, it works!

Now the question is, how the heck do I set the session.save_path for a specific site on a windows server.  There must be a way to specify specific variables when using PHP CGI on a windows server
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35319829
Can anyone point to how I can ovveride session.save_path on a specific website on a shaed hosting server.

There must be something I can specify to do this?
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35320767
Well, it would have to be the relative path then.
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35320912
I tried putting in like \www\tmp  or just \tmp

neither worked.....Am I putting in the relative path correctly?
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 500 total points
ID: 35320927
Try
./www/tmp
or
./tmp
0
 
LVL 2

Author Comment

by:isiHelpDesk
ID: 35321077
Roads you got it!  Thank you so much!!!!!
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35321129
Great, thanks.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question