Stuck at Step 8 - session.save_path Warning UPDATED
Posted: Wed Mar 19, 2008 3:37 am
I am stuck at Step 8 - session.save_path Warning. Since this is a "Recommended Setting", and not a "Required Setting" I chose to move on. Unfortunately, I then get stuck on Step 10.
Here's what I've done so far:
I downloaded cmsmadesimple-1.2.3.tar.gz, and using the Quick Install via FTP instructions I was able to breeze through all of the steps. My host provider is StartLogic. Start Logic allows me to create a database, and confirm that permissions are set to all on the administrator account. Once I got to Step 8 I received this warning:
Also, once I get the warning to go away will I get past Step 10?
Thank you for your time,
- Justin
--UPDATE--
I decided to move past Step 8, and focuse on Step 10. I asked my web host for the database location, and was able to get to the login page. Then I got stuck again. So I took the above mentioned code, and placed it into my include.php file. Everything works fine now.
Thanks,
Here's what I've done so far:
I downloaded cmsmadesimple-1.2.3.tar.gz, and using the Quick Install via FTP instructions I was able to breeze through all of the steps. My host provider is StartLogic. Start Logic allows me to create a database, and confirm that permissions are set to all on the administrator account. Once I got to Step 8 I received this warning:
And this warning:Checking if session.save_path is writable
Your session.save_path is "/var/php_sessions". Not having this as writable may make logins to the Admin Panel not work. You may want to look into making this path writable if you have trouble logging into the Admin Panel. This test may fail if safe_mode is enabled (see below).
Searching through StartLogics knowledgebase I found this:Checking if sessions are enabled
Although the PHP support for sessions is not mandatory, it is highly recommended. Logins and other things may slow down and you may have difficulty with some addon functionality without this capability.
I'm not sure which file this needs to go into. I've tried inserting it into include.php, and config.php, but nothing happened. Could somebody please help me? Will this work? Should I try something else? I've searched through all the other posts dealing with this problem, and non of them work.Question/Problem
Configuring: Running PHP sessions
Answer/Solution
To run PHP sessions, include the following code at the top of any PHP script that uses sessions:
session_save_path("your home directory path"/cgi-bin/tmp);
session_start();
* Log into the PHP Scripting page for actual path to your home directory. Replace "your home directory path" with the path shown.
* Set session_save_path to a directory within your cgi-bin: either /cgi-bin/tmp as in the example above or another directory as long as the absolute path is correct.
For details on how PHP sessions work, review PHP's Session Handling Functions.
Also, once I get the warning to go away will I get past Step 10?
Thank you for your time,
- Justin
--UPDATE--
I decided to move past Step 8, and focuse on Step 10. I asked my web host for the database location, and was able to get to the login page. Then I got stuck again. So I took the above mentioned code, and placed it into my include.php file. Everything works fine now.
Thanks,