?
avatar nassausky
nassausky
30 Dec 2014

Steps to reproduce the issue

1) Open a menu to edit in backend
2) Choose an item in the menu
3) Choose a different Parent Item.
4) Click Save & Close

Expected result

Menu item should now be moved to correct position.

Actual result

A warning displays without listing the error number as shown below:

Warning
Save failed with the following error:

System information (as much as possible)

Brand new fresh clean install of Joomla 3.3.6 from Softaculous.

System Information
Setting Value

PHP Built On Linux serv01.siteground142.com 2.6.32.59-sg3 #9 SMP Wed Sep 26 03:29:25 CDT 2012 x86_64
Database Version 5.5.32-31.0-log
Database Collation utf8_general_ci
PHP Version 5.3.29
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Additional comments

Used phpMyAdmin and noticed in the xxx_menu table the nested field values were out of wack negative values. Something should be done to A) prevent that from happening and/or B) to fix it during a repair database

avatar nassausky nassausky - open - 30 Dec 2014
avatar nassausky nassausky - change - 30 Dec 2014
The description was changed
avatar nassausky nassausky - change - 30 Dec 2014
The description was changed
avatar sovainfo
sovainfo - comment - 31 Dec 2014

Suggest to use Menu manager->Rebuild to repair a corrupt menu structure. Also investigate where the corruption comes from. Haven't found it in a clean install, nor update. Try a normal install when suspecting Softaculous.

avatar zero-24 zero-24 - change - 31 Dec 2014
Status New Information Required
avatar zero-24
zero-24 - comment - 31 Dec 2014

moving to information required


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar brianteeman
brianteeman - comment - 31 Dec 2014

I just installed 3.3.6 using softaculous on siteground.com - no problems


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar nassausky
nassausky - comment - 31 Dec 2014

Rebuild didn't normalize the lft/rgt columns. I created lots of menus and was changing the positions of them many times. Even used 'batch' moving too. It will be lots of work to recreate what I have now and reinstalling. For now I don't normally touch any data inside the MySQL database. Not sure the exact functionality or lft & rgt and if anyone is familiar with it and can confirm with moving a bunch of items around if the numbering scheme is working correct. Thanks.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar nassausky
nassausky - comment - 31 Dec 2014

Just a note too: The warning aren't very informative. For example possibly still part of the same coding section, The original warning "Save failed with the following error:" had no error after the colon.

Later in the day after fixing the lft & rgt values, I was doing more changes to the menu system I had also got a different warning "Batch process failed with following error: Another menu item with the same parent has this alias" but trying to find which alias is duplicated is a bit of work.

The error message fixes aren't urgent just the 'possible' problem that lead to my menu getting to a point of not being able to save changes.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar rdeutz rdeutz - change - 2 Jan 2015
Priority Urgent Medium
avatar rdeutz
rdeutz - comment - 2 Jan 2015

Setting the prio to medium because the problem can't be reproduced


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar brianteeman brianteeman - change - 3 Jan 2015
Labels Added: ?
avatar JoomliC
JoomliC - comment - 30 Jan 2015

A user of my extension has the same similar issue, with articles, categories, contact... all core and third parties components...
Menu item saving for this user is working.
I don't know where the issue could come from, but for this user, it's not in Joomla 3, but 2.5.28...

When error reporting on, in already article saving, i've got this notice :
Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in /***/libraries/joomla/html/parameter.php on line 512
Don't know if it could be a similar issue with the one of this issue on j3 here...?!?...

If i find where the problem is, i will inform you...
Cyril

avatar brianteeman
brianteeman - comment - 14 Mar 2015

After considerable time without update or further information I am closing this - it can always be re-opened


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5565.

avatar brianteeman brianteeman - close - 14 Mar 2015
avatar brianteeman brianteeman - change - 14 Mar 2015
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2015-03-14 10:19:53
Closed_By brianteeman
avatar brianteeman brianteeman - change - 14 Mar 2015
Closed_Date 2015-03-14 10:19:53 2015-03-14 10:19:54
avatar brianteeman brianteeman - close - 14 Mar 2015
avatar revnoah
revnoah - comment - 16 Jul 2015

I have encountered this problem as well, as did the client and previous developer back in March. It is very persistent and the menu item ordering is extremely fragile. Both the front and backend display the menu items in the incorrect order, even though their parent's are set correctly. Rebuilding the menu fails, copying menu items fails. I can save the menu items sometimes and not others, and I have also seen a negative value in the rgt column of the menu table. Updating to 3.4.3 and rebuilding the cache didn't throw any errors but it didn't solve the problem either. It is failing on Ubuntu locally and CentOS on the live production server.

The notes above mention a need for additional information. I would be happy to provide whatever you need to resolve this issue. My temporary workaround for the frontend output (because the site is already live) has been to write a custom module that uses a basic query for selecting and ordering the menu items, and a recursive function to output the links in the same unordered list.

Add a Comment

Login with GitHub to post a comment