We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24836
    • 6 Posts
    Hello! I am having a problem. I was editing my modx installation locally, in order to install a jquery slider. At one point, I logged into the live site remotely to check something, logged out no problem. nothing was changed to my knowledge. But now I am getting the following parse error and cannot login. Any tips? I am running v.1.0.2 and Php 5.





    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Unknown: open(/var/lib/php/session/sess_l0ol516h8guo5hk577fsqij6u1, O_RDWR) failed: Permission denied (13)
    Error type/ Nr.: Warning - 2
    File: Unknown
    Line: 0

    Parser timing
    MySQL: 0.0009 s (0 Requests)
    PHP: 0.0416 s
    Total: 0.0425 s
      • 24836
      • 6 Posts
      I should clarify: I cannot login to the REMOTE site, the local is fine.
        • 3749
        • 24,544 Posts
        It looks like your host may have changed the session handling on you. It’s very unlikely that you did anything that would cause this.
          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
          • 24836
          • 6 Posts
          thanks Bob! I am new to PHP, and am contacting my hosting provider but am not sure what to ask them to correct. (am googling ’session handling’ as we speak)
            • 24836
            • 6 Posts
            thanks again Bob. Godaddy was able to fix it. For some reason certain PHP scripts have an issue with saving to /var/lib/php/session with the default permission set. They changed the folder to 777 permissions to fix the issue Just wondering if anyone knows why this permissions problem would happen, without, according to GoDaddy, no changes server side? It’s a mystery.

            Also, I hate godaddy.