katicziv Posted April 21, 2018 Share Posted April 21, 2018 (edited) Fatal error: Call to undefined function mysql_connect() in /public_html/......./classes/db/MySQL.php on line 51 Is this mean no connection to database and where to point attention to solving this problem? BO is working perfect, FO is not workDATA BASE IS CHECKED, NO ERROR https://www.screencast.com/t/VTq0JbAf4jMySQL.php on line 51https://www.screencast.com/t/OhN8FV4gsettings.inc.php server / user / password, have been entered correctly. Configuration Informationhttps://www.screencast.com/t/C7J3VFTDK5w where to point attention to solving this problem?I didn't find anything on forum / net When that happened, nobody did anything in BO. but it happened on two different domains, at the same day (second domain is 4 weeks old copy of first domain) Have more prestashops on same server and only these two domains have same error. Edited April 21, 2018 by katicziv (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 21, 2018 Share Posted April 21, 2018 Which Prestashop version ? which php-version ? which mySQL version, or are you using mariaDB ? Check also the same problem on this thread: https://www.prestashop.com/forums/topic/544740-solvedprestashop-1616-not-work-with-php7/ Link to comment Share on other sites More sharing options...
razaro Posted April 21, 2018 Share Posted April 21, 2018 Check configuration screenshot, PHP is 5.4 bit old but if that worked before it should not be an issue. Though @katicziv you can try to change to PHP 5.6. You have debug mode enabled I guess. But can you check server logs or log folder in root maybe for more detailed stack trace of error. Have you updated any modules recently ? Link to comment Share on other sites More sharing options...
selectshop.at Posted April 21, 2018 Share Posted April 21, 2018 @razaro - Oh sorry, yes I missed second picture. This is very old php-version. Link to comment Share on other sites More sharing options...
katicziv Posted April 21, 2018 Author Share Posted April 21, 2018 I change PHP to 5.6 5.5 and when I back to 5.3 everything back to normal SOLVED Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now