Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Strange behaviour can't access admin or site

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

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

Page: 1
Go to End
Author Topic: 1556 Views
  • trevor
    Avatar
    53 Posts

    Strange behaviour can't access admin or site Link to this post

    Hi,

    I've been working away most of the day on a new site and then hit a problem. First pages stopped displaying and then I couldn't access the database. I've checked my code and even undone some of the later changes which have only been to templates and filter on some getData queries.

    Now the site doesn't display and I can't access the cms via admin (Security/login).

    The only other thing I was doing before this was duplicating some pages and moving them into new sections.

    It seems that something has happened with the database but I don't no what can anyone give me any ideas of things to check or any debug url parameters ?debug=1 return nothing either.

    TIA

    Trevor

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Strange behaviour can't access admin or site Link to this post

    Do you receive any errors or just a blank page when visiting the admin section?? I assume you have rebbuilt the database and tried all the normal ?flush=1 refreshing methods

  • trevor
    Avatar
    53 Posts

    Re: Strange behaviour can't access admin or site Link to this post

    solved but thanks for your response.

    I chatted on IRC and through this found the problem which was a typo mistake by me.

    I had left the comma on a getData filter by mistake and you know how it is it doesn't matter how hard you look you just don't see it sometimes. Anyway the php.log revealed a parse error although I'm not sure why nothing was shown in the browser or why this affected the cms too.

    I had tried the db/build and flush but these wheren't showing and results either.

    Thanks again.

    Trevor

  • Dave_
    Avatar
    4 Posts

    Re: Strange behaviour can't access admin or site Link to this post

    I'm experiencing the same problem. My admin login panel is displaying correctly but I can't access (login) the cms. No errors apears. I'm doing only small changes for translation in silverstripe-v2.0.2b\sapphire\core\model\GhostPage.php file. I'm asking for a solution or tip.

  • trevor
    Avatar
    53 Posts

    Re: Strange behaviour can't access admin or site Link to this post

    I've never changed the GhostPage before but I normally extend the existing class rather change the current.

    I did once by mistake change Page.php and this seemed to mess everything up so I don't know if this is something for you to look at. all i can suggest is check your code again as already said I had left a comma in by mistake so the php parser was erroring the code and check your log files.

    HTH

    Trevor

  • Dave_
    Avatar
    4 Posts

    Re: Strange behaviour can't access admin or site Link to this post

    Thanks Trevor. It seems to be a good advice. Now i have almost 50% of silverstripe translation to polish language.

    Good luck.

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