Jump to content

Edit History

rafetsucu

rafetsucu

I am trying to revive an old store setup based on prestashop 1.6.

I checked all settings avd verified everything is fine. 

The store frontpage is up and running. 

Howevere admin page gives me the below error:

Fatal error: Call to undefined function mysql_connect() in /home/.../classes/db/MySQL.php on line 37

I cannot connect to admin screens due to this error. It seems admin page is trying to use depreceated mysql_connect while front end is using mysqli. 

Only admin page is giving the error. mySQL, php works fine. I even changed store name and other text from database directly and they appear on frontpage correctly. So database connection works fine. 

I couldn't figure out why it does not only on admin page. 

Please help. 

rafetsucu

rafetsucu

I am trying to revive an old store setup based on prestashop 1.6.

I checked all settings avd verified everything is fine. 

The store frontpage is up and running. 

Howevere admin page gives me the below error:

Fatal error: Call to undefined function mysql_connect() in /home/.../classes/db/MySQL.php on line 37

 

Only admin page is giving the error. mySQL, php works fine. I even changed store name and other text from database directly and they appear on frontpage correctly. So database connection works fine. 

I couldn't figure out why it does not only on admin page. 

Please help. 

×
×
  • Create New...