We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22019
    • 390 Posts
    Using Revo 2.0.6-pl, MySQL 5.0.91-community, PHP 5.2.14, on a Linux host. As TinyMCE may be involved - it’s v 4.1.2pl

    I’ve seen this a few times over the past few days - a few dozen JSON recursion errors are followed by a massive dump - 365k words (2.3M characters) that appears to include some or all of the packages I have installed.

    This is the apache logline which appears to kick everything off (it appears out of time sequence in the log):
    "GET /manager/index.php?a=10&id=30 HTTP/1.1" 200 814346 "http://*** MY SERVER ***/manager/index.php?a=16&id=46"

    It goes through:
    /manager/assets/ext3/adapter/ext/ext-base.js
    /manager/assets/modext/build/core/modx-min.js
    /manager/templates/default/css/modx-min.css
    /manager/assets/ext3/resources/css/ext-all-notheme-min.css
    /manager/assets/modext/build/core/modx.layout-min.js?v=206pl
    /manager/assets/modext/modext-min.js?v=206pl
    /connectors/layout/modx.config.js.php?action=10&wctx=mgr
    /connectors/lang.js.php?ctx=mgr&topic=topmenu,file,resource,chunk,category,propertyset,element&action=10
    /assets/components/tinymce/xconfig.js?v=206pl
    /assets/components/tinymce/tiny.js?v=206pl
    /assets/components/tinymce/tinymce.panel.js?v=206pl
    /assets/components/tinymce/jscripts/tiny_mce/tiny_mce.js?v=206pl
    /manager/assets/ext3/ext-all.js
    /manager/assets/modext/build/widgets/core/modx.grid.local.property-min.js?v=206pl
    /manager/assets/modext/build/widgets/element/modx.grid.element.properties-min.js?v=206pl
    /manager/assets/modext/build/widgets/element/modx.panel.chunk-min.js?v=206pl
    /manager/assets/modext/build/sections/element/chunk/update-min.js?v=206pl
    before switching to POST entries relating to building the tree

    [2011-01-05 20:23:58] (ERROR @ /home/**MY DIR***/public_html/core/xpdo/xpdo.class.php : 1877) PHP warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected
    [2011-01-05 20:23:58] (ERROR @ /home/**MY DIR ***/public_html/core/model/modx/modmanagerresponse.class.php : 398) PHP warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/home/**MY DIR ***/public_html/manager/assets/modext/<script type="text/javascript">
    // <[CDATA[
    Ext.onReady(function() {
        Tiny.config = {"accessibility_warnings":true,"apply_source_formatting":true,"browserUrl":"\/manager\/index.php?a=3","button_tile_map":false,"cleanup":true,"cleanup_on_startup":false,"compressor":"","content_css":"","convert_fonts_to_spans":true,"convert_newlines_to_brs":false,"element_format":"xhtml","element_list":"","entities":"","entity_encoding":"","execcommand_callback":"Tiny.onExecCommand","file_browser_callback":"Tiny.loadBrowser","force_p_newlines":true,"force_br_newlines":false,"forced_root_block":false,"formats":{"alignleft":{"selector":"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img","classes":"justifyleft"},"alignright":{"selector":"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img","classes":"justifyright"},"alignfull":{"selector":"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img","classes":"justifyfull"}},"frontend":false,"height":"400px","invalid_elements":"","nowrap":false,"path_options":"","plugin_insertdate_dateFormat":"%Y-%m-%d","plugin_insertdate_timeFormat":"%H:%M:%S","preformatted":true,"resizable":true,"relative_urls":true,"remove_linebreaks":false,"remove_script_host":true,"resource_browser_path":"\/manager\/controllers\/browser\/index.php?","skin":"cirkuit","skin_variant":"","table_inline_editing":"1","template_external_list_url":"\/assets\/components\/tinymce\/template.list.php","theme_advanced_disable":"","theme_advanced_resizing":true,"theme_advanced_resize_horizontal":true,"theme_advanced_statusbar_location":"bottom","theme_advanced_styles":"","theme_advanced_toolbar_align":"left","theme_advanced_toolbar_location":"top","width":"95%","convert_urls":true,"dialog_type":"window","directionality":"ltr","force_hex_style_colors":true,"indentation":"30px","object_resizing":"1","remove_trailing_nbsp":false,"theme_advanced_path":true,"template_selected_content_classes":"","editor":null,"elements":["post"],"chunk":{"_properties":null,"_propertyString":"","_content":"","_output":"","_result":true,"_tag":null,"_token":"$","_cacheable":true,"_processed":false,"_filters":{"input":null,"output":null},"xpdo":{"context":{"config":{"allow_tags_in_post":"1","modRequest.class":"modManagerRequest"},"aliasMap":[],"resourceMap":[],"resourceListing":[],"documentListing":[],"documentMap":[],"eventMap":{"OnEmptyTrash":{"3":"3"},"OnPageNotFound":{"1":"1"},"OnRichTextBrowserInit":{"2":"2"},"OnRichTextEditorInit":{"2":"2"},"OnRichTextEditorRegister":{"2":"2"}},"pluginCache":{"3":{"id":3,"name":"QuipResourceCleaner","description":"Cleans up threads when a Resource is removed.","editor_type":0,"category":0,"cache_type":0,"plugincode":"\/**\n * Quip\n *\n * Copyright 2010 by Shaun McCormick <[email protected]>\n *\n * This file is part of Quip, a simpel commenting component for MODx Revolution.\n *\n * Quip is free software; you can redistribute it and\/or modify it under the\n * terms of the GNU General Public License as published by the Free Software\n * Foundation; either version 2 of the License, or (at your option) any later\n * version.\n *\n * Quip is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License along with\n * Quip; if not, write to the Free Software Foundation, Inc., 59 Temple Place,\n * Suite 330, Boston, MA 02111-1307 USA\n *\n * @package quip\n *\/\n\/**\n * Handles removal of threads if a Resource is deleted.\n * \n * @package quip\n *\/\n$quip = ....
    

    ... etc etc
      Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
      • 37221 ☆ A M B ☆
      • 5 Posts
      Hi odeclas, yesterday, after moving my site from one hosting provider to another I found the same kind of entry in the error log. Did you find a reason / solution for this ?

      Thank you for your reply!