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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

File Manager Error with latest SVN checkout of Silverstripe 2.3


Go to End


2 Posts   1523 Views

Avatar
lubzee

Community Member, 15 Posts

26 September 2008 at 8:44pm

Has anyone encountered a SQL error in the file manager with the latest version of silverstripe. When clicking on a folder eg. "Uploads" in the SiteTree.. a Javascript popup window appears with a long error message stating:

ERROR [User Error]: Couldn't run query:
SELECT `File`.*, `File`.ID, if(`File`.ClassName,`File`.ClassName,'File') AS RecordClassName
FROM `File`
WHERE (( ParentID = '1' AND ClassName <> 'Folder') AND (`FileID` = '1'))
ORDER BY Title
LIMIT 0,10

Unknown column 'FileID' in 'where clause'

-- snip --

Would like to know if this is just an issue I am having or if the bug crept in after 2.2 & up? I not then would someone please try a clean checkout of the current versions and see if the same bug happens.

Avatar
lubzee

Community Member, 15 Posts

26 September 2008 at 10:16pm

Ignore this.. I had a broken SVN checkout.