Saving a file in a file set throws an Exception

Permalink
I'm getting following exception while trying to assign a file (image) to a file set:

PHP Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1048: Column 'fsDisplayOrder' cannot be null] in EXECUTE("INSERT INTO FileSetFiles(fsfID,fID,fsID,timestamp,fsDisplayOrder) VALUES (NULL,'565','8',NULL,NULL)")\n' in /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78\nStack trace:\n#0 /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw('mysql', 'EXECUTE', 1048, 'Column 'fsDispl...', 'INSERT INTO Fil...', false, Object(ADODB_mysql))\n#1 /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute('INSERT INTO Fil...')\n#2 /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb-active-record.inc.php(747): ADOConnection->Execute('INSERT INTO Fil...', Array)\n#3 /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb-active-record.inc.php(711): ADODB_Active_Record->Insert()\n#4 /srv/www/vhosts/www2.herbrand.de/doc in /srv/www/vhosts/www2.herbrand.de/doc/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78, referer:http://www.herbrand.de/index.php/dashboard/files/search/...

Any idea on why this is happening? Here my concrete5 info:

# concrete5 Version
5.4.0.5

# concrete5 Packages
Breadcrumbs (1.0), Content Around Image (1.23), Cu3er Slideshow (1.1.4), Facebook Like Button (1.0), Google Gadget (1.0), Google Map (Premium) (1.1.1), Iframe (1.0), SCALA IT Image Flow (1.1), Search Tools (1.0), Social Icons (1.1), Sortable Fancybox Gallery (1.13), User Info (1.9).

AlexDuchovny
 
richarduie replied on at Permalink Reply
No solution - repeating that the problem exists for more than one user (almost a year later and no replies?!) and offering some analysis of my shop's latest occurrence. Note that I don't use C5 - my partners do...I simply analyzed the problem from the stack trace and code.

[Mon May 07 22:14:18 2012] [error] [client 2.27.92.5] 
PHP Fatal error:  Uncaught exception 'ADODB_Exception' with message 'mysql error: 
   [1048: Column 'fsDisplayOrder' cannot be null] in 
      EXECUTE(
         "INSERT INTO FileSetFiles(fsfID,fID,fsID,timestamp,fsDisplayOrder) 
          VALUES (NULL,'348','24',NULL,NULL)"
      )\n' 
in /var/www/vhosts/birdandbee.co.uk/httpdocs/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78\n
Stack trace:\n
#0 /var/www/vhosts/birdandbee.co.uk/httpdocs/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): 
   adodb_throw('mysql', 'EXECUTE', 1048, 'Column 'fsDispl...', 'INSERT INTO Fil...', false, Object(ADODB_mysql))\n
This is the error-handling explicit in the _Execute() function for the condition 
that the query failed.
#1 /var/www/vhosts/birdandbee.co.uk/httpdocs/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): 
   ADOConnection->_Execute('INSERT INTO Fil...')\n