Online Page Editor Add-on Support Product Page


syntax error and no editor

Reported 18 Feb 2017 18:15:33
has this problem
18 Feb 2017 18:15:33 Brian Cook posted:

pencil appears, but no editor when clicking pencil. When trying to troubleshoot in Dreamweaver, it shows a syntax error in the editor definitions. The code is what's generated by the on-line editor. I adjusted the code to get rid of the syntax error, but it didn't resolve my editor problem. I have since put the code back to its original state in the URL I'll send along in this email

a sample page is at
using ajax login with following...
ctrl/F2 to activate
username: psbStaff
password: psb2016

The code is as below
<script type="text/javascript" src="ScriptLibrary/dmxPageEditor.js"></script>
<script type="text/javascript">
/* dmxPageEditor name "dmxPageEditorGlobals" */
{"activationKey": "ctr+f2", "editDreamweaverRegions": false, "editableRegionsList": "ecop", "securityMethod": "login", "actionUrl": "dmxPageEditor.php", "currentPage": "/ecop.php", "editorConfig": {"width": 800, "height": 700, "bgColor": "#FFFFFF", "uploadProcessor": "php"}}
/* END dmxPageEditor name "dmxPageEditorGlobals" */



Replied 20 Feb 2017 08:33:04
20 Feb 2017 08:33:04 Teodor Kuduschiev replied:
Hello Brian,
You should not "adjust the code to get rid of the syntax error" Please reapply the editor so we can check what was this syntax error exactly.
Replied 20 Feb 2017 09:07:50
20 Feb 2017 09:07:50 Brian Cook replied:
The original code is currently on that page
I have also tried applying it to a very simple page with no other content such as

All the folders that apply have been uploaded to the server. The syntax error might not even be the problem, but no matter what I do, the editor will not load (either on the server nor my testing server here)
Replied 20 Feb 2017 09:35:41
20 Feb 2017 09:35:41 Teodor Kuduschiev replied:
Hello Brian,
I see that the dmxeditor js file is corrupted, it has some really strange content inside - strange, are you sure you have not edited it: ? Maybe you want to delete it and reapply the page editor, so it can generate the proper file
Replied 20 Feb 2017 22:26:29
20 Feb 2017 22:26:29 Brian Cook replied:
Hi Teodor
I hadn't changed the dmxEditor.min.js at all. I even re-installed everything and tried starting over, but to no avail. I have to put this on hold for a little while, because there are other things my customer wants me to get to. I'll get back to it when I can pay more attention to it.

Replied 21 Feb 2017 07:37:20
21 Feb 2017 07:37:20 Teodor Kuduschiev replied:
Something on your system has changed the content of the file i mentioned. Now the link you provided works fine and the editor js file is ok.
Replied 21 Feb 2017 16:01:38
21 Feb 2017 16:01:38 Brian Cook replied:
You know what happened....I had another site where things were working fine, so nlast night I copied the dmxEditor.min.js editor file from that over to this site. I refreshed about 5 times and nothing happened, so as opposed to asking you to look further, I decided to take a break from it, until I could focus a bit more on it. Seems it worked out after all - at least to a point. Unfortunate that there's a 5 or 6 hour time difference between us. I just didn't want to bother you with it for a while.....
Thanks for everything

Reply to this topic