Page 1 of 1

Phocagallery messes up Admin menu !

Posted: 26 Mar 2021, 22:54
by rbuelund
After latest update of Phoca Gallery all of the submenu items are now first level items in the admin menu !! This is really bad !

Re: Phocagallery messes up Admin menu !

Posted: 27 Mar 2021, 13:06
by Jan
Hi,

Which version do you use now?

Can you paste a screenshot of what do you exactly mean?

Menu items are created by Joomla! itself based on component's XML - this XML is the same and there were no changes (e.g. between version 4.4.1 and 4.4.2) so hard to say what can be wrong there. :idea:


Jan

Re: Phocagallery messes up Admin menu !

Posted: 27 Mar 2021, 13:23
by rbuelund
Well here I have attached a shot of the component menu from two different sites. Actually the PhocaGellery menuitem is completely gone, but some of the subitems are spread around in the components menu ?? You can see: "Image Comments", "Info", "Tags", "Categories", "Themes" - as you can see it is different for each website which submenuitems are shown ???

Image
Image

Re: Phocagallery messes up Admin menu !

Posted: 27 Mar 2021, 15:18
by Jan
Hi, I see, unfortunately Phoca Gallery has no option to somehoe influence the menu items - they are just set in XML and made in Joomla! itself - try to check the XML file for phocagallery:

administrator\components\com_phocagallery\phocagallery.xml

and compare it with:
https://github.com/PhocaCz/PhocaGallery ... allery.xml

to see if there are no changes on your server.

Another possible part where to look is some system plugin which e.g. changes the output in administration. Try to test your site if it does not include system plugins which somehow change the output including the menu :idea:

Jan

Re: Phocagallery messes up Admin menu !

Posted: 27 Mar 2021, 17:27
by rbuelund
I tried to reinstall Phoca on both sites. On one site it fixed the problem on the other site I keep getting this error upon install:

"BIGINT UNSIGNED value is out of range in '(`xxx_xxxx_syd_dk_db`.`#__menu`.`level` - 1)'"

Re: Phocagallery messes up Admin menu !

Posted: 27 Mar 2021, 20:54
by christine
Hi,
rbuelund wrote: 27 Mar 2021, 17:27 "BIGINT UNSIGNED value is out of range in '(`xxx_xxxx_syd_dk_db`.`#__menu`.`level` - 1)'"
Joomla is trying to regenerate the backend Components menu during the update of any component. Since the menus table, shared by the front- and backend, is screwed up this triggered an invalid data write which raised the database error.

The first thing you could try is going to the backend of your site, Menus, Manage and click the Rebuild button in the toolbar.
Also: Database Fix. After this, to install again (update - not de-install) actual PG Package.

Kind regards
Christine