Navigation stopped workning for categories and images

Phoca Gallery - image gallery extension
mattsh2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 May 2019, 13:09

Navigation stopped workning for categories and images

Post 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
User avatar
KarEm
Phoca Professional
Phoca Professional
Posts: 154
Joined: 20 Dec 2015, 21:25

Re: Navigation stopped workning for categories and images

Post 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
mattsh2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 May 2019, 13:09

Re: Navigation stopped workning for categories and images

Post by mattsh2 »

Hi!

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

Regards
Matt
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Navigation stopped workning for categories and images

Post 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
mattsh2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 May 2019, 13:09

Re: Navigation stopped workning for categories and images

Post by mattsh2 »

If I disable "Compress Javascript" and enable "Compress with Gzip" for JCE, I'm back with a non working Phoca Gallery. :(

Matt
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Navigation stopped workning for categories and images

Post 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
mattsh2
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 May 2019, 13:09

Re: Navigation stopped workning for categories and images

Post by mattsh2 »

It's fine at the moment when it works for me now to just Disabling "Compress Javascript" for JCE.

Matt
User avatar
KarEm
Phoca Professional
Phoca Professional
Posts: 154
Joined: 20 Dec 2015, 21:25

Re: Navigation stopped workning for categories and images

Post 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
Post Reply