You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Code Editor hanging when there is PHP defined in the code
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
One of our sites has a problem when you go into the Code Editor view. The code editor appears to hang.
The case seems to occur when the article has php code defined.
So you edit the article.
The PHP code is displayed as an ICON, so you click the Code View tab and the system hangs.
Looking at Firefox console you also get the error message below
You seem to be able to click on the Editor tab and then the Code tab again and it then works
Article without PHP seem okay
Chris
JCE 2.8.6 Pro, latest versions of Joomla and all extensions
ERROR MSG
TypeError: node.getAttribute is not a function 2 index.php:9:12920
nodeChanged https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
nodeChanged https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
bindNativeEvents https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
dispatch https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:1
eventHandler https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
executeHandlers https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:3
defaultNativeHandler https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:3
.
The case seems to occur when the article has php code defined.
So you edit the article.
The PHP code is displayed as an ICON, so you click the Code View tab and the system hangs.
Looking at Firefox console you also get the error message below
You seem to be able to click on the Editor tab and then the Code tab again and it then works
Article without PHP seem okay
Chris
JCE 2.8.6 Pro, latest versions of Joomla and all extensions
ERROR MSG
TypeError: node.getAttribute is not a function 2 index.php:9:12920
nodeChanged https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
nodeChanged https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
bindNativeEvents https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
dispatch https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:1
eventHandler https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:9
executeHandlers https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:3
defaultNativeHandler https://www.stokeandnewcastleramblers.org.uk/administrator/index.php?option=com_jce&task=editor.pack&context=22&50a4186199b82264d629824f6479a721=1&ff85c523d851eb6bb21256cb6220ef5d:3
.
This is working in my very simple test, but perhaps more complicated code is causing a parsing error, result in the issue you are seeing.
Please send me a login -> https://www.joomlacontenteditor.net/contact/site-login
Please send me a login -> https://www.joomlacontenteditor.net/contact/site-login
Just because you're not paranoid doesn't mean everybody isn't out to get you.
I have fixed this on your site with an install of JCE Pro 2.8.7 RC1 - https://www.joomlacontenteditor.net/downloads/editor/pro/development
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#103301
Ryan
thanks for that.
I have updated the site to 2.8.7 that was just released. Is that okay?
Unfortunately I have found that when you go in and click Code the first time it still hangs.
But if you then click Editor and then go back to Code it works the second time.
thanks for that.
I have updated the site to 2.8.7 that was just released. Is that okay?
Unfortunately I have found that when you go in and click Code the first time it still hangs.
But if you then click Editor and then go back to Code it works the second time.
Please try JCE Pro 2.8.8 Beta 1 - https://www.joomlacontenteditor.net/downloads/editor/pro/development/jce-pro-2-8-8-dev
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!