We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2954
    • 40 Posts
    I’ve traced an error that QuickEdit throws to it improperly creating the path for where to find the includes.

    Error: ContentVariable::include_once(/home/hiperosc/public_html//home/hiperosc/public_html/assets/modules/quick_edit/lang/english.inc.php) [contentvariable.include-once]: failed to open stream: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /home/hiperosc/public_html/assets/modules/quick_edit/contentVariable.class.inc.php
    Line: 60
    Line 60 source: include_once ($qe_eng_path);

    How do I change the $GLOBALS[’quick_edit_path’]; and base path in the Module to get rid of that extra "//" in the path? I get this problem on every install, particularly if I disable and then re-enable QuickEdit.

    Thanks
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It’s not a matter of an extra // in the path, you’ve got your base_path prepended to an already full path. So the actual path configured for it should be relative to your site; assets/modules/quick_edit... since the /home/hiperosc/public_html/ part gets added.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3749
        • 24,544 Posts
        See what you have in Modules | Manage Modules | QuickEdit | Configuration Tab | Module Path

        I think that’s where quick_edit_path comes from.

        As sottwell suggests, it should probably be assets/modules/quick_edit
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting