On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi can anyone help. I'm getting these errors in the log when I try to update my site:

    mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in /home/public_html/install/functions.php:76
    mod_fcgid: stderr: Stack trace:
    mod_fcgid: stderr: #0 /home/public_html/install/functions.php(50): get_installmode()
    mod_fcgid: stderr: #1 /home/public_html/install/index.php(61): ph()
    mod_fcgid: stderr: #2 {main}
    mod_fcgid: stderr:   thrown in /home/public_html/install/functions.php on line 76
    


    I'm trying to update as it now shows a blank page since a php upgrade. I changed mysql to mysqli in the config.php but it didn't help.

    Thanks for any help getting this fixed. I have another Evo site running on the same server fine, so very weird why this one stopped working.

    Much appreciated smiley [ed. note: jonahnaylor last edited this post 5 years, 1 month ago.]
      Yorkshire UK based hosting provider: https://www.simulant.uk
    • The 1.0.15 installer uses mysql rather than mysqli database functions, regardless of choosing mysqli in the config file.
      (see https://github.com/modxcms/evolution/issues/444)

      You could try the MODX 1.1 installer, or upgrade to 1.1 in any case.
      :) KP
      • Hi KP, thanks for your help. Silly for me to not upgrade, as this is an old site on Evo I actually thought it was up-to-date!!

        I've now upgraded to 1.1 and at least now can reach the backend/manager ok which is great.

        The website homepage though is still not working and I'm getting different errors in my logs:

        mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to undefined function mysql_result() in /home/public_html/manager/includes/document.parser.class.inc.php(1120) : eval()'d code:27
        mod_fcgid: stderr: Stack trace:
        mod_fcgid: stderr: #0 /home/public_html/manager/includes/document.parser.class.inc.php(1120): eval()
        mod_fcgid: stderr: #1 /home/public_html/manager/includes/document.parser.class.inc.php(1195): DocumentParser->evalSnippet('/*\\r\\nEasy Newsle...', Array)
        mod_fcgid: stderr: #2 /home/public_html/manager/includes/document.parser.class.inc.php(1172): DocumentParser->_get_snip_result('easy newsletter')
        mod_fcgid: stderr: #3 /home/public_html/assets/plugins/phx/phx.parser.class.inc.php(131): DocumentParser->evalSnippets('[[easy newslett...')
        mod_fcgid: stderr: #4 /home/public_html/assets/plugins/phx/phx.parser.class.inc.php(64): PHxParser->ParseValues('<!DOCTYPE html ...')
        mod_fcgid: stderr: #5 /home/public_html/assets/plugins/phx/phx.parser.class.inc.php(49): PHxParser->Parse('{{cnk.Header}}\\r...')
        mod_fcgid: stderr: #6 /home/public_html/manager/inclu in /home/public_html/manager/includes/document.parser.class.inc.php(1120) : eval()'d code on line 27
        
          Yorkshire UK based hosting provider: https://www.simulant.uk
        • As noted on your other post, I suggest you post this on GitHub, the EVO DEV team look there first, they are hardly on the forum