Jump to:

23377 Posts in 18296 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » All pages got unpublished, can't reach the login panel

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
Go to End
Author Topic: 564 Views
  • Bockbertil
    Avatar
    Community Member
    1 Post

    All pages got unpublished, can't reach the login panel Link to this post

    Hello all!

    I'm new to SilverStipre and I've run in to a serious problem. After installing SilverStripe my co-worker was putting on some finishing touches, and for some reason he decided to unpublish all the pages. Even the 'home' page. The only pages he left published (I think) were some sub-pages and the 404 page. Now I can't get access to the page anymore. Even when I try to access the /admin page I receive this error:

    Fatal error: Couldn't run query: SELECT * FROM SiteTree_Live WHERE Sort = 1 And Priority = 1 Unknown column 'Priority' in 'where clause' in C:\xampp\htdocs\CUSTOMER_INFO\sapphire\core\model\MySQLDatabase.php on line 394

    From what I can tell there is no "Priority" column in any of the tables, even in a fresh SilverStripe install, so I suppose some PHP script takes care of this depending on the sorting of the pages. As there are no published pages, there are no sorting, hence I've got a problem. Is there anyway to publish a page manuallay so that I do not have to re-install silverstripe on this client? Any help is more then welcome, thanks.

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