179 Posts
carin
10 years ago
2
Topic
When I try to save my content type I get this error. What goes wrong here?

Error

Save failed with the following error: exception 'UnexpectedValueException' with message 'JTableAsset::moveByReference(3559, last-child, 3558) parenting to child.' in ...\libraries\joomla\table\nested.php:332 Stack trace: #0 ...\libraries\joomla\table\nested.php(833): JTableNested->moveByReference('3559', 'last-child', '3558') #1 ...\libraries\joomla\table\table.php(832): JTableNested->store(false) #2 ...\libraries\legacy\model\admin.php(1097): JTable->store() #3 ...\libraries\cck\joomla\application\component\controllerform.php(160): JModelAdmin->save(Array) #4 ...\libraries\cck\joomla\application\component\controllerform.php(33): CCK_ControllerForm->save2(NULL, NULL, 'workshop') #5 ...\libraries\legacy\controller\legacy.php(722): CCK_ControllerForm->save() #6 ...\administrator\components\com_cck\cck.php(33): JControllerLegacy->execute('apply') #7 ...\libraries\cms\component\helper.php(352): require_once('C:\Users\...') #8 ...\libraries\cms\component\helper.php(332): JComponentHelper::executeComponent('C:\Users\...') #9 ...\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_cck') #10 ...\libraries\cms\application\administrator.php(143): JApplicationAdministrator->dispatch() #11 ...\libraries\cms\application\cms.php(255): JApplicationAdministrator->doExecute() #12 ...\administrator\index.php(42): JApplicationCms->execute() #13 {main}

Save failed with the following error: exception 'UnexpectedValueException' with message 'JTableAsset::moveByReference(3559, last-child, 3558) parenting to child.' in ...\libraries\joomla\table\nested.php:332 Stack trace: #0 ...\libraries\joomla\table\nested.php(833): JTableNested->moveByReference('3559', 'last-child', '3558') #1 ...\libraries\joomla\table\table.php(832): JTableNested->store(false) #2 ...\libraries\legacy\model\admin.php(1097): JTable->store() #3 ...\libraries\cck\joomla\application\component\controllerform.php(160): JModelAdmin->save(Array) #4 ...\libraries\cck\joomla\application\component\controllerform.php(33): CCK_ControllerForm->save2(NULL, NULL, 'workshop') #5 ...\libraries\legacy\controller\legacy.php(722): CCK_ControllerForm->save() #6 ...\administrator\components\com_cck\cck.php(33): JControllerLegacy->execute('apply') #7 ...\libraries\cms\component\helper.php(352): require_once('C:\Users\...') #8 ...\libraries\cms\component\helper.php(332): JComponentHelper::executeComponent('C:\Users\...') #9 ...\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_cck') #10 ...\libraries\cms\application\administrator.php(143): JApplicationAdministrator->dispatch() #11 ...\libraries\cms\application\cms.php(255): JApplicationAdministrator->doExecute() #12 ...\administrator\index.php(42): JApplicationCms->execute() #13 {main}

Save failed with the following error: exception 'UnexpectedValueException' with message 'JTableAsset::moveByReference(3559, last-child, 3558) parenting to child.' in ...\libraries\joomla\table\nested.php:332 Stack trace: #0 ...\libraries\joomla\table\nested.php(833): JTableNested->moveByReference('3559', 'last-child', '3558') #1 ...\libraries\joomla\table\table.php(832): JTableNested->store(false) #2 ...\libraries\legacy\model\admin.php(1097): JTable->store() #3 ...\libraries\legacy\controller\form.php(733): JModelAdmin->save(Array) #4 ...\libraries\cck\joomla\application\component\controllerform.php(35): JControllerForm->save(NULL, NULL) #5 ...\libraries\legacy\controller\legacy.php(722): CCK_ControllerForm->save() #6 ...\administrator\components\com_cck\cck.php(33): JControllerLegacy->execute('apply') #7 ...\libraries\cms\component\helper.php(352): require_once('C:\Users\...') #8 ...\libraries\cms\component\helper.php(332): JComponentHelper::executeComponent('C:\Users\...') #9 ...\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_cck') #10 ...\libraries\cms\application\administrator.php(143): JApplicationAdministrator->dispatch() #11 ...\libraries\cms\application\cms.php(255): JApplicationAdministrator->doExecute() #12 ...\administrator\index.php(42): JApplicationCms->execute() #13 {main}

Joomla 3.2.2, SEBLOD 3.3, XAMPP
Get a VIP membership
572 Posts
_jrmo
10 years ago
0
Level 1
If you go in to the Joomla Extensions Manager and then go to "database" are there any errors to fix?

Is this error generated in the front end or back end?
179 Posts
carin
10 years ago
0
Level 1
... indeed, there is an error. I have no idea why the update did not go well:

  • Database schema version (3.2.1) does not match CMS version (3.2.2).
  • Database update version (3.2.1) does not match CMS version (3.2.2).
  • Table '..._update_sites' does not have column 'extra_query'. (From file 3.2.2-2013-12-22.sql.)
  • Table '..._updates' does not have column 'extra_query'. (From file 3.2.2-2013-12-22.sql.)
  • Table '..._updates' does not have column 'version' with type 'varchar(32)'. (From file 3.2.2-2014-01-18.sql.)

I fixed the db. However I fixed the error above by redoing the entire content type. Thanks for the db hint.
Get a Book for SEBLOD