We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51395
    • 1 Posts
    My webpage now looks like this:
    « MODx Parse Error »
    
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error:	mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead	 
      Error type/ Nr.:	- 8192	 
      File:	/home/melhs2/mehgs.org/manager/includes/extenders/dbapi.mysql.class.inc.php	 
      Line:	89	 
      Line 89 source:	if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {	 
     
    Parser timing
      MySQL:	0.0000 s	(0 Requests)
      PHP:	0.0378 s	 
      Total:	0.0378 s	 

    I am an experienced coder, and I recognize this is a deprecated function from some update. I tried to log on to fix it but I get this popup: (In the attachment)
    I am assuming it can't load the editor if the page has a bug in it, but I can't fix it without opening the editor.
    Any ideas on how to fix this?
    I am new to modX and can't figure this out myself.
    Please Help smiley
      • 13226
      • 953 Posts
      At a guess I would say you are using Evo

      Update your version to the latest version, which can be found here: http://modx.com/download/evolution/