I find that CM occasionally leaves phantom parentheses in the text. They either throw a PHP error or show up in the page output (if they’re in a string).
You can’t see them on the screen when editing in CM. You have to either turn it off, or re-type the offending line.
-
☆ A M B ☆
- 3,112 Posts
I believe this belongs to CodeMirror, since this comes out as multiple rows each time the plugin runs
[2010-09-04 03:19:05] (ERROR @ /home/modxidco/public_html/core/xpdo/xpdo.class.php : 1668) PHP warning: json_encode() [<a href=’function.json-encode’>function.json-encode</a>]: recursion detected
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Great work, this looks wicked,
But is there a way to change the indent to 3 spaces?
Have you an update of CodeMirror for the editing Resources, please ?
For editing resources usually you need a WYSIWYG Editor, like TinyMCE. You can download it from package management.
Yes, I know. But i don't want it, I want to use CodeMirror with the editing resources, likes the chunk and snippet, but syntactic colour application doesn't work with resources.