Error when trying to edit a Message on the backend

Phoca Guestbook - creating guestbooks in Joomla! CMS
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Error when trying to edit a Message on the backend

Post by skouf »

Hi

When I try to edit a message and click on the Save button, nothing happened only a Javascript error

Horodatage : 28/01/2014 18:35:38
Erreur : TypeError: b is null
Fichier Source : http://XXXXXXX/media/system/js/core.js
Ligne : 4

My Joomla is the last version and the same for Phoca Guestbook.

Any advice ?

Thanks a lot !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when trying to edit a Message on the backend

Post by Jan »

Hi, hmmm, this seems like some motools vs. jquery error - try to check it with another template, try to use disable modules or system plugins which can load mootools, to test if this is a problem of the javascript conflict :idea:

Jan
If you find Phoca extensions useful, please support the project
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Re: Error when trying to edit a Message on the backend

Post by skouf »

Hi thanks for the answer.

But the problem is happening on the backend. I'm using Joomla 3.1.2 with the default administrator template.

Did you thought I was trying to edit a comment on the frontend ? Sorry if I forgot to tell that I have this error on the backend.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when trying to edit a Message on the backend

Post by Jan »

Hi, hmm, so but the error is still the same, some conflict between javascript libraries. Phoca Guestbook does not use any specific javascript library in administration, so no idea what can be in conflict, try to reinstall Joomla! javascript libraries, maybe the core.js was corrupted while ftp transfering :idea:

Jan
If you find Phoca extensions useful, please support the project
skouf
Phoca Member
Phoca Member
Posts: 14
Joined: 28 Jan 2014, 19:37

Re: Error when trying to edit a Message on the backend

Post by skouf »

Hello

I finally worked on this and found the solution.

The problem is located inside the french translation of Phoca GuestBook

Image

It's because of the quotes. When I "\" them, I don't have any problem.

The problem is inside /components/com_jce/editor/tiny_mce/tiny_mce.js wher the alert function is written with quotes.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when trying to edit a Message on the backend

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply