Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

2496 Posts in 733 Topics by 543 members

Customising the CMS

SilverStripe Forums » Customising the CMS » When I wen to dev/build?flush=1 I get an error

Page: 1
Go to End
Author Topic: When I wen to dev/build?flush=1 I get an error 305 Views
  • Marlie511
    avatar
    Community Member
    28 posts

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

    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.

  • Willr
    avatar
    Moderator
    2741 posts

    Re: When I wen to dev/build?flush=1 I get an error Link to this post

    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.

  • Sam
    avatar
    Administrator
    649 posts

    Re: When I wen to dev/build?flush=1 I get an error Link to this post

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

    305 Views
Page: 1
Go to Top

Currently Online: dvp, Ingo, timwjohn, Wilson

Welcome to our latest member: Wilson

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.