Jump to:

4945 Posts in 17703 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » CMS Login page returns to login page - also a warning during install

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2705 Views
  • Devin
    Avatar
    Community Member
    9 Posts

    CMS Login page returns to login page - also a warning during install Link to this post

    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.php

    Line 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?

  • Devin
    Avatar
    Community Member
    9 Posts

    Re: CMS Login page returns to login page - also a warning during install Link to this post

    I just reinstalled to the root directory and have the same issue...not sure what to do about this.

  • Devin
    Avatar
    Community Member
    9 Posts

    Re: CMS Login page returns to login page - also a warning during install Link to this post

    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.
    Trace

    session_start()
    Line 197 of Session.php
    Session::start()
    Line 69 of main.php

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: CMS Login page returns to login page - also a warning during install Link to this post

    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.

  • NARKOZ
    Avatar
    Community Member
    25 Posts

    Re: CMS Login page returns to login page - also a warning during install Link to this post

    Please look up in your php.ini file for this string:

    session.save_path =

    and check if there is a folder where it points.

  • Devin
    Avatar
    Community Member
    9 Posts

    Re: CMS Login page returns to login page - also a warning during install Link to this post

    ajshort hit the nail on the head. PowWeb fixed the path up last night and I'm up and going..

    Consider this closed!

    2705 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.