Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Restore MySQL Database site pages missing


Reply

2 Posts   373 Views

Avatar
jimiray

10 November 2012 at 4:47am (Last edited: 10 November 2012 3:49pm), Community Member, 3 Posts

I recently restored from a MySQL backup as the database had been overwritten during development of a new site. Firstly, the admin logon credentials no longer work so I cannot dev/build. I'm assuming this would be required to link all 89 pages back to the original site design.
SS 3.0.1 with HomePage, cwsoft-foldergallery, userforms, SortableGridField, customized blackcandy theme. If dev/build would not rebuild all pages then how could I restore all 89 pages?

The original format design HomePage.ss, page.ss and templates are working but with only default blackcandy page layout (Home, About US, Contact).

Avatar
jimiray

11 November 2012 at 12:13pm Community Member, 3 Posts

OK login fixed - Security::setDefaultAdmin('admin', 'password'); - ran dev/build and all pages are still missing.