- Posts: 3
COMMUNITY FORUM
JCE Editor not working in Frontend for K2
- pixel kraft
- Topic Author
- Offline
- New Member
Unfortunately the frontend editing with JCE is not working.
There is just a blank lightbox loading. TinyMCE is working and also No Editor is working!
JCE is working in the backend and also in the frontend for Joomla-Articles! So this is not an ACL or profile problem of JCE. The problem is just with K2 in frontend.
I am using K2 v2.6.7 and Joomla 2.5.17.
Thanks for helping!
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Check if you are getting any javascript errors through your console in your browser's developer tools.
Please Log in or Create an account to join the conversation.
- pixel kraft
- Topic Author
- Offline
- New Member
- Posts: 3
When the popup openes, I get a
"NetworkError: 500 Internal Server Error - example.org/submenu/item/edit/82?tmpl=component"
in the console!
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- pixel kraft
- Topic Author
- Offline
- New Member
- Posts: 3
I get a 500 server error also.
Setting the error reporting to maximum responds a:
Fatal error: Cannot redeclare class Mobile_Detect in /srv/www/vhosts/.../httpdocs/templates/theme1261/includes/mobile_detect.php on line 16
I am using the gantry template. The errors comes only in K2 items and JCE. :-/
EDIT:
I got it working!
In templates/theme###/html/com_k2/default/itemform.php. I changed
require_once ($includesPath);
with
if(!class_exists('Mobile_Detect'))
require_once ($includesPath);
Then it worked!
:) Thanks for your help!
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- theant
- Offline
- Premium Member
- Posts: 142
pixel kraft wrote: No.
I get a 500 server error also.
Setting the error reporting to maximum responds a:
Fatal error: Cannot redeclare class Mobile_Detect in /srv/www/vhosts/.../httpdocs/templates/theme1261/includes/mobile_detect.php on line 16
I am using the gantry template. The errors comes only in K2 items and JCE. :-/
EDIT:
I got it working!
In templates/theme###/html/com_k2/default/itemform.php. I changed
require_once ($includesPath);
with
if(!class_exists('Mobile_Detect')) require_once ($includesPath);
Then it worked!
:) Thanks for your help!
Hello
I get the same issue, JCE not loading in frontend. I can't find require_once ($includesPath); in itemform.php file
Are you sure?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
If you are getting the same error I suggest you address this issue to the template developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
- Offline
- Premium Member
- Posts: 142
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.