Jump to content


Photo

session.save_path


  • Please log in to reply
15 replies to this topic

#1 brossmac

brossmac

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 02 May 2005 - 04:39 PM

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.

#2 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 02 May 2005 - 06:47 PM

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

#3 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 15 December 2005 - 11:49 AM

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

#4 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 15 December 2005 - 04:05 PM

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:

#5 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 15 December 2005 - 11:49 PM

thanks for promp answer
I will try to get help from smf forums and let you guys know the outcome
thanks again

#6 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 16 December 2005 - 12:03 AM

Thanks... and Good Luck :D

#7 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 16 December 2005 - 12:29 AM

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

#8 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 21 December 2005 - 03:39 AM

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

View Post


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...hp?us=affiliate

you need to check these web sites
http://projects.secu...ils.php?file=71

http://forum.joomla....ic,23650.0.html

http://forum.joomla....c,23650.30.html

http://forum.joomla....ic,20457.0.html

http://forum.joomla....pic,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

#9 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 21 December 2005 - 03:47 AM

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

#10 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 21 December 2005 - 04:14 AM

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

#11 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 21 December 2005 - 04:24 AM

:D We get some sleep here in GA :huh:

#12 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 12 January 2006 - 06:04 AM

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)

#13 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 12 January 2006 - 08:59 AM

Thanks <_<

#14 mojito

mojito

    Junior Member

  • Member
  • Pip
  • 25 posts

Posted 27 April 2006 - 02:32 PM

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.
http://www.landed.at - a travel forum, please come along and post something about a destination you know.

#15 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 30 April 2006 - 06:55 PM

Depending on the version, things might have changed.

#16 Sampler

Sampler

    Newbie

  • Member
  • Pip
  • 5 posts
  • Location:Bradford, England
  • Main OS: Windows XP

Posted 14 January 2008 - 03:29 PM

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!
IPB Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users