Jump to:

546 Posts in 2222 Topics by 237 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Login not working on Rackspace Cloud Sites

What you need to consider when choosing a hosting provider and plan.

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

Page: 1 2
Go to End
Author Topic: 4939 Views
  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Login not working on Rackspace Cloud Sites Link to this post

    Hello,

    I have just migrated two of our site to Rackspace (mosso) cloud linux platform. Sites are working fine at the front end but I am not able to login using my user credentials. I have migrated the database also.

    I checked and compared the member table and can't find any difference.

    Thanks.

    Siddharth Menon

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    A few people have issues with hashing on different server setups. See http://open.silverstripe.com/ticket/3004 for more information. To just get into the CMS you can hard code a member login in your _config file - Security::setDefaultAdmin('user', 'password');

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    I am still having Bad time here.

    I have also applied the latest patch from the ticket but still in vain. When I login via Firefox I get blank screen and in IE I get Error 500.
    Well this problem did solve on other installation but not working for a particular one. I have upgraded to 3.2.4

    I need to complete my project and I am not able to login to admin.

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    Okay a temp solution here is change Environment to DEV ... Cannot login using live mode.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    Have you looked at your error logs on the server? They would contain more useful information. Could be something live mode specific like BasicAuth.

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    Thanks Willr,

    I traced php error to following.

    [11-Dec-2009 23:01:19] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /mnt/stor2-wc2-dfw1/426404/www.mywebsite.com/web/content/sapphire/thirdparty/jsmin/JSMin.php on line 79

    Happens only in Live mode. I have hosted on Mosso Cloud (Apache Server).

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    Ah ok

    a) The reason why its only on the live site is SS tries to do some concatenation and minification of JS files - which it doesn't do in devmode. You can disable this by setting Requirements::set_combined_files_enabled(false); in your _config.php

    b) If this is throwing a PHP memory error on this process you're quite likely to be close to the limit even without it on so the longer term fix is to pump up the PHP memory in your php.ini

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Login not working on Rackspace Cloud Sites Link to this post

    Thanks Willr,

    But I think I solved this problem ones and for all.

    I updated the JSMin.php from 1.1.0 to 1.1.1 from http://github.com/rgrove/jsmin-php
    And now everything is working fine.

    Would recommend including latest version in future SS package

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