4574 Posts in 1385 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2391 Views |
-
CMS Login page returns to login page - also a warning during install

20 August 2009 at 3:13pm
Attempting to get SilverStripe to run on PowWeb...Install goes fine with the exception of this Warning that pops up briefly before stating it installed successfully.
<quote>
Installing SilverStripe...I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
Creating 'mysite/_config.php'...
Creating /hermes/web08/b934/pow.mcbrided/htdocs/usertisement.com/mysite/_config.php
Creating '.htaccess' file...
Creating /hermes/web08/b934/pow.mcbrided/htdocs/usertisement.com/.htaccess
Building database schema...
Checking that friendly URLs work...
Friendly URLs set up successfully; I am now redirecting you to your SilverStripe site...[Warning] Unknown: open(/var/php_sessions/sess_e79d284849105a7cbb64c17cef0cf6db, O_RDWR) failed: No such file or directory (2)
POST /install.phpLine 0 in Unknown
Source
Trace
</quote>After the install, attempting to logon to the CMS causes me to be redirected back to the logon page immediately. I am unable to get in.
I host multiple domains through this account with PowWeb. I point my domains to a subfolder of the root dir (for example: /htdocs/domain.com/ - where htdocs is my root dir). Is this a problem?
-
Re: CMS Login page returns to login page - also a warning during install

20 August 2009 at 3:24pm
I just reinstalled to the root directory and have the same issue...not sure what to do about this.
-
Re: CMS Login page returns to login page - also a warning during install

20 August 2009 at 3:56pm
Enabling dev mode outputs:
[Warning] session_start() [function.session-start]: open(/var/php_sessions/sess_cf01a815f4cabefe2362f3eaee0f0816, O_RDWR) failed: No such file or directory (2)
GET /Line 197 in /hermes/web08/b934/pow.mcbrided/htdocs/sapphire/core/Session.php
Source
188 Session::set("FormInfo.$formname.message", $message);
189 Session::set("FormInfo.$formname.type", $type);
190 }
191
192 public static function start() {
193 self::load_config();
194
195 if(!session_id() && !headers_sent()) {
196 session_set_cookie_params(self::$timeout, Director::baseURL());
197 session_start();
198 }
199 }
200
201 /**
202 * Use the Session::$session_ips array to set timeouts based on IP address or IP address
203 * range.
Tracesession_start()
Line 197 of Session.php
Session::start()
Line 69 of main.php -
Re: CMS Login page returns to login page - also a warning during install

20 August 2009 at 6:02pm
This looks like a PHP configuration issue - PHP can't seem to properly start the session, so your login details never get recorded in it. If it's shared hosting I would contact your hosting provider about it.
-
Re: CMS Login page returns to login page - also a warning during install

20 August 2009 at 6:51pm
Please look up in your php.ini file for this string:
and check if there is a folder where it points.session.save_path =
-
Re: CMS Login page returns to login page - also a warning during install

21 August 2009 at 4:45am
ajshort hit the nail on the head. PowWeb fixed the path up last night and I'm up and going..
Consider this closed!
| 2391 Views | ||
|
Page:
1
|
Go to Top |



