O
O
Olga2019-12-11 17:50:41
MySQL
Olga, 2019-12-11 17:50:41

Why does the site give a 500 error?

Today the site stopped working, gives a 500 error. The following is in the logs:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in public_html/manager/includes/extenders/dbapi.mysql.class.inc.php:93 Stack trace: #0 public_html/manager/includes/document.parser.class.inc.php(1509): DBAPI->connect() #1 public_html/index.php(141): DocumentParser->executeParser() #2 {main} thrown in public_html/manager/includes/extenders/dbapi.mysql.class.inc.php on line 93

Line 93 says:
else            $this->conn = mysql_connect($host, $uid, $pwd, true);

What does he not like?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2019-12-11
@olyabolya

Has the hoster updated the puff version?

V
Valentin Gorulko, 2019-12-11
@serggool80

the code may not be processed and throws an error, the syntax of the code is here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question