Jump to:

4873 Posts in 7171 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Unix to Windows migration - CMS Login not working

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

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

Page: 1 2
Go to End
Author Topic: 3964 Views
  • banal
    Avatar
    Community Member
    901 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    That's strange. The error regarding the session is most likely because some content is written before the session started. Make sure you don't have any whitespace (or other content) before <?php and after ?> in your _config.php.

    When did you enable the Translatable extension? Did you have a working site before?

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    Hi,

    There isn't space before <?php and after in _config.php.
    I had not this problem before...
    Yes, this is a beta site to rc0..

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    I resolved the problem, but I don't know what happened...
    I had reinstall SS ( without copy files and databases ) using install.php.
    After that , SS goes ok.
    I seen before this step that .htaccess was empty!
    Why? Is a SS bug?

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    Hi,

    I had the same problem with another site, but this time I remember what's happen.
    We have this type of error when you made this steps:

    - upload a changed php class file
    - you aren't admin logged
    - you haven't setup defaul admin in config.php

    then you launch build command.

    For recovery from this error, you must upload install file and made setup.

    Bye

  • kcd
    Avatar
    Community Member
    54 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    I had the same problem and ran install.php too.

    I then noticed the following in _ss_environment.php

    define('SS_DEFAULT_ADMIN_USERNAME','admin');
    define('SS_DEFAULT_ADMIN_PASSWORD','somepasswordiforgot');

    I bet this overrides the Security::setDefaultAdmin in _config.php ... if someone confirms perhaps update the following page http://doc.silverstripe.org/doku.php?id=configuration

  • bw
    Avatar
    Community Member
    2 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    I am having issues accessing CMS on windows 2008.

    If I go to /admin I get 404 Not Found. If I go to /Security/Login I can enter the login name and password but then I get page cannot be displayed. I have entered Security::setDefaultAdmin("username", "password"); in /mysite/_config.php still unable to login.

    I have re-installed, tried everything that has been suggested on the other forum posts and still no access to CMS.

    The website works great with this one exception, I can see a lot of people have had this problem but I can't seem to find out if anyone has ever managed to get it resolved? Does anyone have any clues on what else I can be looking at?

    Many thanks in advance for any help.

  • BigChris
    Avatar
    Community Member
    63 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    bw

    Have you tried to access the cms on another web browser?

    Reason I ask is we have had rogue problems logging into sites via IE 8 and it appears to be down to the Addons on IE8. Dont know which addons are causing the hiccups but some seam to affect the ability to login.

    You may have already tried another browser but thought I would suggest it.

    Chris

  • bw
    Avatar
    Community Member
    2 Posts

    Re: Unix to Windows migration - CMS Login not working Link to this post

    Hi Chris,

    I have tried Firefox, Opera and IE7, and the same thing happens on all of them. I have done a clean install to make sure it was nothing in my customisation, the rewrite seems to be working as all the menu links on the website works but I cannot access the admin in anyway.

    Anything else you might be able to suggest. I am really keen on using silverstripe but its a bit of a problem if I can't add any content.

    Thanks for you suggestion any more ideas are much appreciated

    Cheers

    Bw

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