Results 1 to 8 of 8

Thread: Install Trouble (Wirtable Session Save Path Invalid)

  1. #1
    mrtopher is offline Member
    Join Date
    Jul 2006
    Posts
    7

    Question Install Trouble (Wirtable Session Save Path Invalid)

    I'm trying to install Sugar on a Unix shared server running PHP 4.3.11 and I am having problems with the writable session save path in the pre-req's. It keeps comming up with an error saying that the path is not a valid directory. However, when I run PHP Info the path that it has there is the same as the path that Sugar is displaying in the install wizard.

    When I contacted my hosting company they said that I could change the php.ini file using htaccess files to fix this problem. But, since the values are the same I'm not really sure what the problem is.

    Any ideas?

  2. #2
    piers is offline Member
    Join Date
    Jun 2006
    Posts
    9

    Lightbulb Re: Install Trouble (Wirtable Session Save Path Invalid)

    Unfortunately in this case appearances can be deceiving: The info.php confirms the path is identical to the one Sugar needs so it looks like Sugar should accept it. Unfortunately, being on a shared server complicates the installation.

    You're lucky though, It sounds like you have a VPS since you have access to your own php.ini. Just change the setting session.save_path to /tmp.

  3. #3
    mrtopher is offline Member
    Join Date
    Jul 2006
    Posts
    7

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    I was told by my hosting company that I can't make changes to the php.ini file. I would have to do it via an htaccess file. Is it possible to change this particular attribute of the ini file using an htaccess file or am I out of luck?

  4. #4
    piers is offline Member
    Join Date
    Jun 2006
    Posts
    9

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    Being on a shared server is a tough obstacle, especially if you're using Plesk as your front end. The rate of success using an .htaccess file seems sporadic, but its worth trying.

    Change the path using an .htaccess file like this:
    php_value session.save_path "/your/new/session/save/path/"

    Let me know if you need help making the .htaccess file
    Last edited by piers; 2006-07-15 at 08:42 PM.

  5. #5
    mrtopher is offline Member
    Join Date
    Jul 2006
    Posts
    7

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    Yeah, I could use some help with the .htaccess. file. If you could post an example of what I would need to do I would really appreciate it!

  6. #6
    piers is offline Member
    Join Date
    Jun 2006
    Posts
    9

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    Okay, start with a fresh Notepad text.

    Type:
    php_value session.save_path "/your/new/session/save/path/"

    Substituting your path for my imaginary one.
    (Tip: Make sure you keep the whole command on a single line.)

    Now select "File" -> "Save As"
    From the "Save As Type" drop down choose "All Files"
    Now for the "File Name" type .htaccess
    Select "Save"

    Now upload this file to your server (in ASCII mode) with your FTP program of choice.
    (Tip: an htaccess file affects both the directory it's placed in and all it's sub-directories.)

    Again, try not to set your expectations too high on this; it's not a watertight solution.
    Last edited by piers; 2006-07-15 at 08:48 PM.

  7. #7
    mrtopher is offline Member
    Join Date
    Jul 2006
    Posts
    7

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    That appears to have solved my problem (at least as far as that stage of installaion is concerned). Now I'm having problems with the version of MySQL running on the server, but thats a fight to be taken up with the hosting company.

    Is this a reliable fix to this problem or am I going to have issues once the program is successfully installed?

  8. #8
    piers is offline Member
    Join Date
    Jun 2006
    Posts
    9

    Default Re: Install Trouble (Wirtable Session Save Path Invalid)

    Being a shared server your hosting company probably won't want to install a different version of MySQL. But they might be willing to transfer your hosting account to another server running more up to date software.

    As to reliability; Sugar can be less than congenial even on a dedicated server so if it misbehaves, don't immediately assume the culprit is your shared hosting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •