Jump to content

Installing Prestashop V1.7.6.1 HTTP 500 Error


Recommended Posts

Hi, I am attempting to install the latest version of Prestashop but the installation progresses well but then when I reach installing add on modules part it always fails I have been at this for a few days. As my  shop has been having problems so I had to re install.

I have attached a screen shot which may explain more my hosting provider ensures that all files have the correct permissions as that was an avenue we tried. 

Any tips be great as I said I have been racking my brain for days on this I would progress and ultimately fail again and again.

I then went V1.7.6.1 and that also has the same error

 

Thanks

 

Kunal

Screenshot from 2020-04-19 10-40-29.png

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

Hi,

Have you yourself check the write permissions? - they do occassionally show as incorrect but when changed manually everything is fine.

If this is a new install with no data, you can double check by setting everything to full access - if the install works, at least you have an installed version and you can change  the rights to the correct settings (or inform your hoster of the problem - DON'T forget to change them back).

Also check the files you donwloaded to install - download again and make sure everything is as it should be (manual install, not a 1-click on a hoster).

 

Share this post


Link to post
Share on other sites

I have  finally managed to install 1.6.1.22 then I will use the one click upgrade to get the latest version. 

 

Kunal

If I fall somewhere I will try your way. 

Thank you

 

 

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

As expected really upgrading using 1 click to presta 1.7.6.4 failed Not sure why It said out of memory allocation. So im trying your method now and will report back in due course thank you

 

Kunal

Share this post


Link to post
Share on other sites

I tried that and now I get an internal server error on the starting page and it doesnt load.

I get a http:500 error with this error info

File "index.php" is writeable by group

 

Anymore tips would be really helpful

Thank you

 

Kunal

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

Just to be clear - which starting page - Presta or the install?

if it's the install try setting .../install/index.php to 644

If the BO is ok after the install,  you can go to  Configure - Performance - and enable debug to see if it gives you more info.

Share this post


Link to post
Share on other sites

Right Ok I have set index to 644 What and how would i sort out the php files and what value do you reckon at the moment everything is 777 except the index which is 644

Share this post


Link to post
Share on other sites

What I want to do is basically get a fresh install done then change database over to my previous database  which had the store front messed up and then hopefully everything should be ok I can just transfer over the images from the backup and everything should be ok in theory.

just wanted to clear up what I am trying. 

Kunal

Share this post


Link to post
Share on other sites

pointing at php / server / permission probs -

can you get error logs for your server?

If you downloaded the latest presta version, have php 7.2 and the server is configured for presta it should have installed fine after changing the permissions.

 

Share this post


Link to post
Share on other sites

this may be a long alternative but pushed for time:

can you install a copy somewhere else (also just to see if it installs) - then configure that version and then just restore that version to the server?

 

Share this post


Link to post
Share on other sites

Ok I will install 1.6.1.22 which worked earlier then upgrade to 1.24 which also upgraded then switch over the database config to see if it works fingers crossed.

 

Kunal

Share this post


Link to post
Share on other sites

I was looking back at your messages Im a little confused im not uploading any zip files im extracting it all into the public html file on my domain is that right as I don't want a /prestashop/ folder is that ok or is that the reason its having kittens. 

 

Kunal

Share this post


Link to post
Share on other sites

The references to the files were:

1. for the main install - best to use the zip file directly from presta not from the hoster.

2. When doing an update - again download from presta - unzip and copy to prestaserver.   That means Presta won't have to go and download the latest version.

-------

You should be downloading the zip from presta  - to whereever you want presta to install - unzip the main zip file - that should give you 3 or 4 files.  The main files are still zipped at this stage. - But all that must have worked, because the install did start at some stage.

Make sure you delete everything you can - if possible restart sql server - so that a new install will really be a new install.

Share this post


Link to post
Share on other sites

I don't know if 1.6 has the same options:

in 1.7 the 1 click update has an option:

Channel - Local directory.

It gives you instruactions to copy the files to the local directory (I think it's admin/autoupdate or something like that).

Share this post


Link to post
Share on other sites

Great News 1.6.1.24 Works and is connected to the database now. I'm in two minds i want to upgrade but not at the risk off losing it all again.

As my site was compromised by not upgrading previously. 

 

Kunal

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

Great.  Glad things are back online.  😀

Make a backup first.

If the upgrade is from 1.6 to 1.7 maybe go through some of the threads in the forum, to see what problems others had.  It may help with the planning of the upgrade.

Share this post


Link to post
Share on other sites

OK there is a slight issue when i click on a category on my main menu it doesn't load the url right it goes to the right page but it doesnt put a /after the doomain name.

hope that makes sense

for example domainname.co.ukches_sets instead of domainname.co.uk/ches_sets 

Kunal

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

in the prestashop url table the domain is correct there isnt any ssl so that is blank. in the physical uri i have a / as its in the main directory 

Hope that makes sense

the domain name has no / on the end in domain field. 

Sushil

Edited by Kunal0 (see edit history)

Share this post


Link to post
Share on other sites

I solved It I removed everything from the menu and re added them

That solved it.

Thats me done for today

Thank you so much. You are a font of knowledge on all things presta related. 

 

Kunal

 

Edited by Kunal0 (see edit history)

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