Jump to content

[solved]error 500 during 1.7 installation


Recommended Posts

Hi !

I try to install Prestashop 1.7.6.2 on my docker configuration.
And I've always same error during the installation at the "Install theme" step.
1: HTTP 500 - error -

I've also try with 1.7.6.0 and same error.

Thanks for your help !

Capture d’écran 2019-12-22 à 18.21.06.png

Share this post


Link to post
Share on other sites

You cannot install it by this way. You need to run install via command line if you want to use it on docker container. Here you will find a tutorial on how to setup Prestashop on docker:

https://build.prestashop.com/news/prestashop-and-docker/

and https://github.com/PrestaShop/docker

Installing Prestashop via CLI (command line): http://doc.prestashop.com/display/PS17/Installing+PrestaShop+using+the+command-line+script

  • Like 1

Share this post


Link to post
Share on other sites

Il y a 19 heures, Hhjgsur a dit :

According to this documentation, you have to use at least PHP 7.1 to run Prestashop.

I had the same problem and solved it by upgrading my PHP version on Wamp.

I was trying with last php 7-fpm image

Il y a 17 heures, selectshop.at a dit :

You cannot install it by this way. You need to run install via command line if you want to use it on docker container. Here you will find a tutorial on how to setup Prestashop on docker:

https://build.prestashop.com/news/prestashop-and-docker/

and https://github.com/PrestaShop/docker

Installing Prestashop via CLI (command line): http://doc.prestashop.com/display/PS17/Installing+PrestaShop+using+the+command-line+script

I tried with Prestashop docker image but never succeeded (I don't remember the errors).

But now it's ok with my method, with docker , Nginx, Traefik, like I wanted
Thanks

Share this post


Link to post
Share on other sites

Have same problem, trying to install Prestashop under Abyss Web Server.

On step "Install theme" got Error 500.

Prestashop 1.7.6.2, PHP 7.4.0

phppsinfo.php report NO problems.

What am I doing wrong?

 

Share this post


Link to post
Share on other sites

1) Read server error logs. 500 error are server errors.

2) Activate debug mode and read possible others errors you are having

3) Although phppsinfo is ok, you should check other minimal requirements to your server for to run Prestashop 1.7. Check also the permissions. Prestashop needs recursive write permissions on several directories (Folders 0755 and files 0644):  /admin-dev/autoupgrade/, /app/logs, /app/Resources/translations, /cache, /config/themes, /download, /img, /log, /mails, /modules, /themes, /translations, /var

Here: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/

or here: https://www.prestashop.com/forums/topic/884856-best-server-settings-for-prestashop-17-tested-in-production/

 

Share this post


Link to post
Share on other sites

As I enable fastcgi logging on server, the installation pass through successfully, after two days a spent with install, its....... funny.

Another problem is after some action (e.g. category deletion), got text "No input file specified" (no html code, only this four words) on the screen. Fresh install, no changes except the deletion default categories. Do am I  something wrong?

Log record from according time https://pastebin.com/Yu5yz0kA or another same issue https://pastebin.com/gJiRydVN

Edited by lazna (see edit history)

Share this post


Link to post
Share on other sites

You are on WAMP or linux server in production ? Let me say that you will not run Prestashop on Windows servers, as Prestashop needs very specific rights, this means rights on folders and other rights for files. With Windows you are not able to manage this. Mount your site on linux server in production or if you want to make it locally before, use virtualbox with debian or linux OS installed from the scratch.

I used IIS 6 for one year and it was a horror. Each time you install or make a change on the settings I need to adapt as well again and again the rights. And as you know permissions on Windows are made on one place only. It's not flexible. After this year I gave up and moved to debian.

Share this post


Link to post
Share on other sites

I am on Abyss Web Server runing on windows as a service now temporary with highest rights under "NT Authority\SYSTEM", which garantee full control over the files of webserver root folder? Windows permission settings over files have enough granularity, what could be a problem?

I cant move into Linux for various reasons

Share this post


Link to post
Share on other sites

Just installed opencart in five minutes without ANY SINGLE error or problem. Its frustrating I spent two days with Presta without success 😕

Guys, please: FIX MISLEADING DOCUMENTATION!!!

This section: "Supported operating system: Windows, Mac and Linux" here: "https://www.prestashop.com/en/system-requirements", where Windows are mented at first in the list of supported operating systems is a maliciousness !!!

 

 

Share this post


Link to post
Share on other sites

  • 1 year later...

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
 Share

×
×
  • Create New...

Important Information

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