Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » back end uploading problem

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 367 Views
  • mirakelsey
    Avatar
    Community Member
    9 Posts

    back end uploading problem Link to this post

    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?

    367 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.