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.

Customising the CMS /

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

When I wen to dev/build?flush=1 I get an error

Go to End

3 Posts   1513 Views


Community Member, 36 Posts

30 June 2009 at 5:24am

I am NEW to SilverStrip and I was following the tutorial and then did some exploring, renaming of my mysite\code files.

Now I get this error on this page: dev/build?flush=1

[User Error] Couldn't run query: ALTER TABLE `SiteTree` CHANGE `ClassName` `ClassName` enum('SiteTree','GhostPage') character set utf8 collate utf8_general_ci default 'SiteTree' Data truncated for column 'ClassName' at row 1

and another error in the admin under Site Content:
[Notice] Undefined index: Page

Please help. My co-work installed this on our test machine and I would like to get it fixed on my own.


Forum Moderator, 5523 Posts

30 June 2009 at 11:57am

Looks like your mysql user does not have ALTER table rights. You will need these rights, this is a mysql setting. Normally to fix this I use PHPMyadmin - view the Privileges or something and make sure your mysql user has alter rights.


Administrator, 690 Posts

2 July 2009 at 12:02am

Also, make sure that you still have a mysite/code/Page.php file.