4422 Posts in 1267 Topics by 944 members
Customising the CMS
SilverStripe Forums » Customising the CMS » When I wen to dev/build?flush=1 I get an error
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 789 Views |
-
When I wen to dev/build?flush=1 I get an error

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: PagePlease help. My co-work installed this on our test machine and I would like to get it fixed on my own.
-
Re: When I wen to dev/build?flush=1 I get an error

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.
-
Re: When I wen to dev/build?flush=1 I get an error

2 July 2009 at 12:02am
Also, make sure that you still have a mysite/code/Page.php file.
| 789 Views | ||
|
Page:
1
|
Go to Top |



