Hello all,
I a file upload field that when I use the search in the TreeDropDown I get the following error:
Table 'DatabaseName.folder' doesn't exist,256)
I know that in the Files Table there is a ClassName for Folder which I am guessing it should be looking for. Can anyone point me in the right direction here? Thanks in advance and below is the error trace:
Trace
=====
user_error(Couldn't run query:
SELECT "ParentID", "ID"
FROM "Folder"
WHERE "ID" in (67,5)
Table 'DatabaseName.folder' doesn't exist,256)
MySQLDatabase.php:592
MySQLDatabase->databaseError(Couldn't run query: SELECT "ParentID", "ID" FROM "Folder" WHERE "ID" in (67,5) | Table 'DatabaseName.folder' doesn't exist,256)
MySQLDatabase.php:144
MySQLDatabase->query(SELECT "ParentID", "ID" FROM "Folder" WHERE "ID" in (67,5),256)
DB.php:200
DB::query(SELECT "ParentID", "ID" FROM "Folder" WHERE "ID" in (67,5))
TreeDropdownField.php:466
TreeDropdownField->populateIDs()
TreeDropdownField.php:271
TreeDropdownField->tree(SS_HTTPRequest)
RequestHandler.php:288
RequestHandler->handleAction(SS_HTTPRequest,tree)
RequestHandler.php:200
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
GridFieldDetailForm.php:99
GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest)
GridField.php:715
GridField->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:441
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel)
AdminRootController.php:93
AdminRootController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:360
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:152
Director::direct(/admin/pages/edit/EditForm/field/ProductImages/item/new/ItemEditForm/field/ProdImage/select/Form/field/ParentID/tree,DataModel)
main.php:189