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.

Archive /

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

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

File Manager Error with latest SVN checkout of Silverstripe 2.3


Reply


2 Posts   1349 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.