Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Lost My website

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2
Go to End
Author Topic: 1316 Views
  • EcoWarrior
    Avatar
    Community Member
    2 Posts

    Lost My website Link to this post

    I recently took over the administration of our website www.ecoenergycs.co.uk which is hosted by A2 hosting. I changed the password admin pass word and around the same time they upgradedtheir MYSQL software and since then I am unable to access the website. The have not been particularly helpful and say the problem may be with silverstrip. As I am a novice to websites and hosting can someone please take a look and advise.
    Thanks
    Andy

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: Lost My website Link to this post

    Does the database or the database user still exist?

  • EcoWarrior
    Avatar
    Community Member
    2 Posts

    Re: Lost My website Link to this post

    Hi
    Yes it does
    if you go to https://www28.a2hosting.com:2083
    user name <deleted>
    password <deleted> you can see the account
    Cheers
    Andy

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: Lost My website Link to this post

    mate, if thats your password to cpanel, i'd edit that post and remove them. You shouldnt really be putting that info out on the web...

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Lost My website Link to this post

    I've edited EcoWarrior's post and removed the details.

    EcoWarrior. You want to temporarily add line like this to your mysite/_config.php (replacing <username> and <password> with something of your choosing).

    Security::setDefaultAdmin("<username>", "<password>");

    Then use that to log onto the admin/security section, create the a new admnistrator account and delete any "admin" accoutn created automatically, and then remove the Security::setDefaultAdmin(); line from your _config.php

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: Lost My website Link to this post

    Sam, that would be a bit hard when he's unable to access the admin section

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Lost My website Link to this post

    @AdamJ: The procedure described by Sam will actually grant the user access to the admin section (using the user/pass combo set with Security::setDefaultAdmin)

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: Lost My website Link to this post

    @banal: Yes I understand that, but whats the point in having an administrator login, when you can't access the website to login to?

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