Jump to content

Problems with prestashop 1.7 on server


Recommended Posts

Hello,

I have developed a prestashop 1.7 shop locally and it was working perfectly, when I uploaded it to the server I started to receive errors like this:

can anyone help? Thanks in advance

image.thumb.png.e9ec64aad54fdc768568d474e2554b6f.png

Share this post


Link to post
Share on other sites
2 hours ago, ecommerce16 said:

something is not going right with your blog module. Turn it off and see if it works then. After that you can work at that module to fix it.

thank you very much, in fact there were a couple of folders to be uploaded in the module you mention, but the website is still not responding. Any extra tips? Thanks again!

Share this post


Link to post
Share on other sites
On 2/25/2021 at 7:35 PM, ecommerce16 said:

something is not going right with your blog module. Turn it off and see if it works then. After that you can work at that module to fix it.

And now another problem..., Any advice?

image.png.f546f19c73ce88fd2af1e861a9872e11.png

Share this post


Link to post
Share on other sites

check your server settings and see if they match with the prestashop version requirements. Seems a PHP problem. Maybe an outdated or to high version

Share this post


Link to post
Share on other sites

These are the errors I get after uploading all the files again. Maybe I'm already blocked, but I cannot see the problem. Can you help me? Thanks

 

Feb 27 15:36:21 3ln-apacheweb1 a3mas-error: [Sat Feb 27 15:36:21.157692 2021] [proxy_fcgi:error] [pid 960158:tid 140406381577984] [client 152.206.208.241:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27\nStack trace:\n#0 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=127....', 'root', '', Array)\n#1 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=127....', 'root', '', Array)\n#2 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'root', '', Array)\n#3

/srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\\DBAL\\Connection->connect()\n#4 /

 

Feb 27 15:36:21 3ln-apacheweb1 a3mas-error: srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\\DBAL\\Connection->getDatabasePlatformVersion(...\n'

 

Feb 27 15:51:05 3ln-apacheweb1 a3mas-error: [Sat Feb 27 15:51:05.325755 2021] [proxy_fcgi:error] [pid 1164228:tid 140406113011456] [client 152.206.208.241:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27\nStack trace:\n#0 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=127....', 'root', '', Array)\n#1 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=127....', 'root', '', Array)\n#2 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'root', '', Array)\n#3 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\\DBAL\\Connection->connect()\n#4

 

Feb 27 15:51:05 3ln-apacheweb1 a3mas-error: /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\\DBAL\\Connection->getDatabasePlatformVersion(...\n'

 

Feb 27 16:03:31 3ln-apacheweb1 a3mas-error: [Sat Feb 27 16:03:31.984886 2021] [proxy_fcgi:error] [pid 1164228:tid 140406003906304] [client 152.207.201.177:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27\nStack trace:\n#0 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=127....', 'root', '', Array)\n#1 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=127....', 'root', '', Array)\n#2 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'root', '', Array)\n#3 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\\DBAL\\Connection->connect()\n#4

 

Feb 27 16:03:31 3ln-apacheweb1 a3mas-error: /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\\DBAL\\Connection->getDatabasePlatformVersion(...\n'

 

Feb 27 16:18:26 3ln-apacheweb1 a3mas-error: [Sat Feb 27 16:18:26.335656 2021] [proxy_fcgi:error] [pid 1164228:tid 140406071047936] [client 152.207.201.177:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27\nStack trace:\n#0 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=127....', 'root', '', Array)\n#1 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=127....', 'root', '', Array)\n#2 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'root', '', Array)\n#3 /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\\DBAL\\Connection->connect()\n#4

 

Feb 27 16:18:26 3ln-apacheweb1 a3mas-error: /srv/www/www.a3mas.nat.cu/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\\DBAL\\Connection->getDatabasePlatformVersion(...\n'

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More