Page 1 of 1

Navigation stopped workning for categories and images

Posted: 13 May 2019, 14:35
by mattsh2
Hi!

Have had a fully working site (Joomla 3.9.5) and Phoca Gallery 4.3.10. But can't now create new categories or images from back end. A JS-error disable the buttons when I try to save.

Code: Select all

Uncaught ReferenceError: WFEditor is not defined
    at Object.Joomla.submitbutton (index.php?option=com_phocagallery&view=phocagalleryc&layout=edit:362)
    at HTMLButtonElement.onclick (index.php?option=com_phocagallery&view=phocagalleryc&layout=edit:306)
Joomla.submitbutton @ index.php?option=com_phocagallery&view=phocagalleryc&layout=edit:362
onclick @ index.php?option=com_phocagallery&view=phocagalleryc&layout=edit:306
Updated Joomla and Phoca Gallery and all components to latest version without success.

Regards
Matt

Re: Navigation stopped workning for categories and images

Posted: 13 May 2019, 17:11
by KarEm
Hi Matt,

I was looking for the JS-error and found some hints to the JCE as a possible cause.
Have all updates (even extensions, plugins, ...) been done without problems?
Did you repair the DB in Joomla as a precaution and also cleared the browser cache?
Which error will be displayed after the updates?
If you use the JCE, check the setting for "Compress Javascript" and set it to disabled on a test basis.

Regards
KarEm

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 10:57
by mattsh2
Hi!

Thanks!
Disabling "Compress Javascript" for JCE made it work again.

Regards
Matt

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 11:47
by christine
Hi Matt,

thanks for your feedback & also to KarEm for investigation!

See also: https://www.joomlacontenteditor.net/sup ... ot-defined

Kind regards
Christine

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 12:08
by mattsh2
If I disable "Compress Javascript" and enable "Compress with Gzip" for JCE, I'm back with a non working Phoca Gallery. :(

Matt

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 13:00
by christine
Hi Matt,

sorry, at the moment I don't hv any idea now. The link of JCE belongs to NGINX server. Can you check again with answers of JCE forum? Thank you.

Kind regards
Christine

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 14:30
by mattsh2
It's fine at the moment when it works for me now to just Disabling "Compress Javascript" for JCE.

Matt

Re: Navigation stopped workning for categories and images

Posted: 14 May 2019, 17:38
by KarEm
Hi Matt,
I have searched for this "Compress with GZIP" and found a note that on most servers, the compression is anyway active and an additional enabled compression via php can cause problems.
Please clarify with your host if this extra "php compression" is needed for GZIP.

Regards
KarEm