Jump to content
The Uniform Server Community
brossmac

session.save_path

Recommended Posts

I'm trying to install Simple Machines Forum on my localhost but I get this error:

 

Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

 

I don't know how to chmod the tmp folder and I've looked all around. I'm running XP-Home (and I see at the MS site that XP-Pro and 64bit allow you to turn off "simple folder sharing").

 

Any ideas?

 

Many thanks.

Share this post


Link to post
Share on other sites

There is no way to chmod a folder on Windows. Chmoding is only for *nix based OS. :P

 

About the error you can either contact the owners and tell them that you are using a WAMP Package and if there is a way to bypass that... :)

 

session.save_path = "/tmp"

 

Tell them about the error and they should be able to help you. Other scripts have been tested and they work using this config.

 

Thanks :) and if they are not able to help you, you can reply back and we will ask around.... :D

Share this post


Link to post
Share on other sites

I am having the same problem

but I am using UniServer3_2a on my localserver when I try to install Simple Machines Forum

 

Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

 

my web site is not on server

can you help me to correct this problem??

what I need to do??

 

I have one more problem

when I go to http://localhost/a/ and click on

Shutdown the server link I get this error

Security alert!

Possible attack HTTP_REFERER is not localhost. but ''.

 

(to disable this warning go: /home/admin/CGI/Secure.pm)

 

please help me out

Share this post


Link to post
Share on other sites

About the security alert, edit the Secure.pm file as it says you should and comment out the part it says you should in the file. Comment it out with '#' :)

 

About the error, i believe this is caused by the script. Somehow they are checking to see if the directory is writeable but that does not work in Windows so all they will get is a NO but it is.

 

Try doing this, make sure the /tmp file is there and if it is, create a file called log.log and try and see if it will work.. i do not know what file it creates in the session but i know other scripts work just perfect.

 

You might have to contact the creators and tell them to tell you the way around this on a Windows Machine... I believe thats the problem, the fact that Chmoding is not on the Windows OS :D

 

Please contact the developers and get back to us on whatever they say.

 

Good Luck :huh:

Share this post


Link to post
Share on other sites
Oh BTW, are you related to Joomla? So we can have connections to the team in case someone needs help... like we do for phpBB (AlleyKat) :D

2079[/snapback]

 

yes I have a joomla support site http://forum.joomla.gen.tr/

 

! visit all the english joomla forums.. you should do the same too

joomla is booming and everybody installing joomla on local server

I think uniform server is the best one to run joomla on local server.

 

I even run uniform server and joomla on a memory stick (USB 2)

 

how come there are no posts about Joomla Offline Server (JOS) in this forum

I'd installed it and runs like a charm !!

http://uniformserver.com/index.php?us=affiliate

 

you need to check these web sites

http://projects.securitywonks.net/projects...ils.php?file=71

 

http://forum.joomla.org/index.php/topic,23650.0.html

 

http://forum.joomla.org/index.php/topic,23650.30.html

 

http://forum.joomla.org/index.php/topic,20457.0.html

 

http://forum.joomla.org/index.php/topic,6857.0.html

 

when will the new version of uniform server will come out??

I can't wait to get my hand on it !!

 

thanks for a great product

Share this post


Link to post
Share on other sites

The new version comes out on Christmas Day.... About the post and everything, believe me, i have read them all :) I keep updated and do a search of us on Google, Yahoo, MSN, and also read our stats... Thats how i get paid or should i say thats my money in this.. lol, it brings me joy to see us spreading and people using/spreading the word :D with that i need no $$$ from you all :D

 

There are like 4 Stand Alone Servers for Joomla that uses Uniform Server... and we are the power behind Stand Alone Servers for products like Xoops and Mambo... we pratically made it possible just to say :)

 

k :D going to sleeep now.... 3:46AM :huh: lol

Share this post


Link to post
Share on other sites

good night and sleep tight !

I am in Las vegas... we are open 24 hours !!

 

by the way JOS has joomla 1.02 version installed

they should upgrade it to joomla 1.04 with upgrade file

I did it myself but, some people might not know how to do it

Share this post


Link to post
Share on other sites

here is the fix for SMF installation with usb2 stick

if you get this error

 

Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

 

DO THIS

 

 

Find in install.php:

 

 

if ((session_save_path() == '/tmp' && substr(__FILE__, 1, 2) == ':\\') || !is_writable(session_save_path()))

 

Change that to:

 

 

if (false)

Share this post


Link to post
Share on other sites

where is that line of code in install.php of smf folder, nothing via a search in install.php

 

Pls help, i want to use uniform server.

Share this post


Link to post
Share on other sites

here is the fix for SMF installation with usb2 stick

if you get this error

 

Please inform your host that the session.save_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

 

DO THIS

Find in install.php:

if ((session_save_path() == '/tmp' && substr(__FILE__, 1, 2) == ':\\') || !is_writable(session_save_path()))

 

Change that to:

if (false)

Thanks - just what I needed - btw it's no longer exactly that string but if you search for session_save_path you'll find what you're after. :)

 

Cheers again!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...