简体   繁体   中英

getting mysqli error in modx evolution

I have transferred one modx website evolution version to another domain but on another domain after doing changes in config, its manager is working but main website means front view is not working and giving me error.

« 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:     C:\xampp\htdocs\mpelimited\manager\includes\extenders\dbapi.mysql.class.inc.php  
  Line:     93   
  Line 93 source:   else $this->conn = mysql_connect($host, $uid, $pwd, true);   

Parser timing
  MySQL:    0.0000 s    (0 Requests)
  PHP:  0.0250 s     
  Total:    0.0250 s

Here is screenshot http://prntscr.com/a7udni

How can i resolve this issue in MODx version 1.0.5

Please help me to resolve this issue.

请将MODX Evolution更新为1.0.15或即将发布的1.1.0

here is sollution https://toster.ru/q/125593

and works, as temp solution

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM