Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » install issues

Our old forums are still available as a read-only archive.

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

Page: 1 2
Go to End
Author Topic: 2518 Views
  • scorche
    Avatar
    Community Member
    8 Posts

    install issues Link to this post

    I've got a problem that I keep having.
    I annot log into my account, because I keep going back to the login page. It seems that this is a caching issue, as by the time it goes to the next page, it forgets who I am. This is not a browser issue though. I've had the same thing happen a few months back when I tried to install sNews. I eventually gave up and now I find myslf in the same problem.

    I installed SS in a separate folder, I thought that I would have to specify where it was, but it seems that the install already takes care of the .htaccess ( although not having to put / at the end would be nice too).

    I'm running PHP 5
    Almost certain that it is an appache server, but I can't seem to figure out what it is
    I also have wordpress running on root and am wonderig if that could be interfereing

    any ideas ?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: install issues Link to this post

    Is there a member created in the database? If you are using WAMP or MAMP or some server with phpmyadmin installed view your SS database and browse the members table and see if there is any records in there.

    Other thing you can do is to hard code a member via the code. You can add this to your mysite/_config.php file - Security::setDefaultAdmin("user", "superCoolPassword"); which will create you a super user account which you can login and manage the users etc

  • scorche
    Avatar
    Community Member
    8 Posts

    Re: install issues Link to this post

    thanks for the speedy reply

    the Member:admin did get created

    and adding my superuser did not help, it still keeps refreshing the same login site

  • scorche
    Avatar
    Community Member
    8 Posts

    Re: install issues Link to this post

    does it make any difference if I chmod the directory from 755 to 775 (or 777)

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: install issues Link to this post

    did you install with the BlackCandy option? Security::setDefaultAdmin should work.

    Otherthing you can do is to remove the admin member from the database (delete row) then run yoursite.com/db/build?username=admin&password=password to recreate the user

  • scorche
    Avatar
    Community Member
    8 Posts

    Re: install issues Link to this post

    yes, it was blackcandy.
    do you know where I should be looking for the php error log?

    and I can't do install again because it says:
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

  • scorche
    Avatar
    Community Member
    8 Posts

    Re: install issues Link to this post

  • scorche
    Avatar
    Community Member
    8 Posts

    Re: install issues Link to this post

    the NumVisit is incremented every time I try to log in.

    I've tried removing the yoursite.com/db/build?username=admin&password=password before, but it didn't help

    2518 Views
Page: 1 2
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.