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

    Help.

    This is all of a sudden showing up on the top of my website pages.

    Warning: session_start() [function.session-start]: open(/tmp/sess_b2b6d819e0703271aa4da7e9e2661167, O_RDWR) failed: Read-only file system (30) in /home/EDITED/public_html/manager/includes/config.inc.php on line 60


    And at the bottom of each page is the following error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	Unknown: open(/tmp/sess_b2b6d819e0703271aa4da7e9e2661167, O_RDWR) failed: Read-only file system (30)	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	Unknown	 
      Line: 	0	 
     
    Parser timing
      MySQL: 	0.0070 s	(0 Requests)
      PHP: 	0.0393 s	 
      Total: 	0.0463 s
    


    I have not changed the site for a little while. The site has been up for 2 months or so and has never previously showed this.

    It is also happening on another site of mine that also uses MODx (although that is a earlier version) and which is hosted with the same web host.


    Also this is showing at the top of my modx CMF Manager login page for the same site:

    Warning: session_start() [function.session-start]: open(/tmp/sess_b2b6d819e0703271aa4da7e9e2661167, O_RDWR) failed: Read-only file system (30) in /home/EDITED/public_html/manager/includes/config.inc.php on line 60
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/EDITED/public_html/manager/includes/config.inc.php:60) in /home/gocreate/public_html/manager/includes/config.inc.php on line 60
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/EDITED/public_html/manager/includes/config.inc.php:60) in /home/gocreate/public_html/manager/includes/config.inc.php on line 74
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/EDITED/public_html/manager/includes/config.inc.php:60) in /home/gocreate/public_html/manager/index.php on line 168



    And this is showing below the login box.

    Warning: Unknown: open(/tmp/sess_b2b6d819e0703271aa4da7e9e2661167, O_RDWR) failed: Read-only file system (30) in Unknown on line 0
    
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0


    And I can’t login to check which version I am using - it won’t let me login and there is no captcha image.

    I think from memory it is 1.0.3 or something like that.


    What does this mean and how can I fix it?

    Thanks in advance.


      Web design Adelaide
      http://gocreate.com.au
      • 3749
      • 24,544 Posts
      I think the directory used for saving sessions (session_save_path in phpInfo(), IIRC ) had been changed to read-only (perhaps by your hosting service).

      It needs to be writable for MODx to save session info.
        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
        • 20413
        • 2,877 Posts
        Plz report back why they did that if this is the case! sad
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
          • 21417
          • 486 Posts
          Thanks so much BobRay and MrHaw.

          You’re right - the hosting company did some updates to the server but must have forgot about the read only thing.

          I contacted them this morning and when I got back this afternoon it was back to normal.

          Its all resolved.

          Thanks so much.
            Web design Adelaide
            http://gocreate.com.au
            • 3749
            • 24,544 Posts
            Glad you got it fixed. smiley
              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