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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

back end uploading problem


Reply


442 Views

Avatar
mirakelsey

Community Member, 9 Posts

17 June 2011 at 7:19am

I get this page in the popup window after uploading a file:

[User Error] Couldn't run query (22001, 8152, [Microsoft][SQL Server Native Client 10.0][SQL Server]String or binary data would be truncated.01000, 3621, [Microsoft][SQL Server Native Client 10.0][SQL Server]The statement has been terminated.): UPDATE "Resource" SET "Category" = 'Nonfiction', "Name" = 'test', "Description" = 'test', "LastEdited" = '2011-06-13 16:01:44' where "ID" = 2: [Microsoft][SQL Server Native Client 10.0][SQL Server]String or binary data would be truncated.; [Microsoft][SQL Server Native Client 10.0][SQL Server]The statement has been terminated.
POST /admin/EditForm/field/Resources/EditUploadedForm?SecurityID=2bfaa957a514b0a4cfaecbeb82a4ac2f7775c345&ctf[Resources][start]=0&ctf[Resources][per_page]=10&ctf[Resources][showall]=0&ctf[Resources][sort]=&ctf[Resources][sort_dir]=&ctf[Resources][search]=&ctf[Resources][filter]=&ctf[Resources][view]=

Line 620 in ...\sapphire\core\model\Database.php

After refreshing, the file still shows up in the resource tab, but when I try to access the actual page on the site, I get this:

[User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'File'
GET /portfolio/nonfiction/

Line 724 in ...\sapphire\core\Object.php

Any clues, here?