• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1074
  • Last Modified:

JOOMLA: save.session_path not writable

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
isiHelpDesk
Asked:
isiHelpDesk
  • 7
  • 5
  • 2
  • +2
1 Solution
 
mattibuttCommented:
You need to change folder permission to give acess to everyone.
0
 
Lukasz ChmielewskiCommented:
Did you try to change "\" to "/" ?
I assume you double checked php.ini settings for session save path ?
0
 
nickvillaumeCommented:
What is the behavior you are experiencing? I see you are getting the error, but when does this error occur?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
isiHelpDeskAuthor Commented:
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
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
With IIS I have found it best to place the folder within the wwwroot folder.

Example:

C:\wwwroot\PHP\temp
0
 
isiHelpDeskAuthor Commented:
HiTech: We tried moving the temp dir and still same result.
0
 
isiHelpDeskAuthor Commented:
Come on guys...there has to be someone out there that can assist
0
 
Lukasz ChmielewskiCommented:
Another few cents from me:
try to replace your slashes (and back ones) with doubles
/ to //
or
\ to \\
0
 
nickvillaumeCommented:
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
 
isiHelpDeskAuthor Commented:
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
 
isiHelpDeskAuthor Commented:
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
 
Lukasz ChmielewskiCommented:
Well, it would have to be the relative path then.
0
 
isiHelpDeskAuthor Commented:
I tried putting in like \www\tmp  or just \tmp

neither worked.....Am I putting in the relative path correctly?
0
 
Lukasz ChmielewskiCommented:
Try
./www/tmp
or
./tmp
0
 
isiHelpDeskAuthor Commented:
Roads you got it!  Thank you so much!!!!!
0
 
Lukasz ChmielewskiCommented:
Great, thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 7
  • 5
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now