We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36604
    • 268 Posts
    Hi,

    I'm puddy scared by what I can read in the error log in manager. (Revo 2.2,php5.2.17, ovh)
    I see recurrent error I'm not able to understand, here's a few extract:
    [2012-01-25 10:25:39] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include(/homez.502/rotation/www/core/cache/includes/elements/modplugin/8.include.cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
    [2012-01-25 10:25:39] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/homez.502/rotation/www/core/cache/includes/elements/modplugin/8.include.cache.php' for inclusion (include_path='.:/usr/local/lib/php')
    [2012-01-25 10:25:44] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include(/homez.502/rotation/www/core/cache/includes/elements/modsnippet/16.include.cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
    [2012-01-25 10:25:44] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/homez.502/rotation/www/core/cache/includes/elements/modsnippet/16.include.cache.php' for inclusion (include_path='.:/usr/local/lib/php')
    [2012-01-25 17:02:48] (ERROR @ /homez.502/rotation/www/manager/controllers/default/resource/create.class.php : 108) PHP warning: Invalid argument supplied for foreach()
    [2012-01-25 17:10:30] (ERROR @ /homez.502/rotation/www/manager/controllers/default/resource/update.class.php : 137) PHP warning: Invalid argument supplied for foreach()
    [2012-01-25 17:11:30] (ERROR @ /homez.502/rotation/www/manager/controllers/default/resource/update.class.php : 137) PHP warning: Invalid argument supplied for foreach()
    [2012-01-25 17:13:22] (ERROR @ /homez.502/rotation/www/core/model/modx/modlexicon.class.php : 201) PHP warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array
    [2012-01-25 23:42:50] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include(/homez.502/rotation/www/core/cache/includes/elements/modplugin/12.include.cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
    [2012-01-25 23:42:51] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/homez.502/rotation/www/core/cache/includes/elements/modplugin/12.include.cache.php' for inclusion (include_path='.:/usr/local/lib/php')
    [2012-01-25 23:42:51] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include(/homez.502/rotation/www/core/cache/includes/elements/modsnippet/16.include.cache.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
    [2012-01-25 23:42:51] (ERROR @ /homez.502/rotation/www/core/model/modx/modscript.class.php : 151) PHP warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/homez.502/rotation/www/core/cache/includes/elements/modsnippet/16.include.cache.php' for inclusion (include_path='.:/usr/local/lib/php')
    [2012-01-26 10:23:35] (ERROR @ /index.php) Vous devez fournir une adresse email de destination.
    [2012-01-26 10:28:16] (ERROR @ /index.php) Vous devez fournir une adresse email de destination.
    


    Nothing special in this install, the basis for cms use (tinyMce, WF, all basic snippets, Metax...)

    What should I check ..or is this known ?
      • 3749
      • 24,544 Posts
      Nothing there to be too scared about. It's mostly just telling you that it looked for a cached version of a file and didn't find it.

      Make sure your core/cache directory is writable and readable.


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      MODx info for everyone: http://bobsguides.com/MODx.html
        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
        • 36604
        • 268 Posts
        Make sure your core/cache directory is writable and readable.
        Thank you.

        Why the hell he could not ?

        the cache files are 604
        their parent folder 705
          • 3749
          • 24,544 Posts
          It depends on the host. If running suExec or suPHP, it should usually be 644/755.

          It may also depend on the ownership of the directory and files.


          ---------------------------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
          MODx info for everyone: http://bobsguides.com/MODx.html [ed. note: BobRay last edited this post 12 years, 3 months ago.]
            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
            • 36604
            • 268 Posts
            hmm.. yes but where should I set this in order the chmod will be always granted ?