Kunal0 Posted April 19, 2020 Share Posted April 19, 2020 (edited) 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 Edited April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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). Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 Thank you.just checking is that permission 777. Kunal Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 Yes, just to test - give everybody full rights - 777. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 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 Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 (edited) Turn on debug mode to see what errors come up. Have you reset php directories to 644? Edited April 19, 2020 by NPO added question (see edit history) Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 No I haven't How do I put developer mode on. Kunal Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 Both have the same error I haven't installed anything yet. Kunal Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 If the install doesn't work try 644 on the index.php PHP file permissions should not be higher than 775 Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 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 Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 Is the install starting now? Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 No Same issue Kunal Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 The recommendations is: Folders: 755, Files: 644 Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 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 Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 1 minute ago, NPO said: The recommendations is: Folders: 755, Files: 644 Tried those at the start and reach ed over halfway on install. Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 ooops wait - have we checked the php version? which version are you running? Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 7.2 Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 Do you know a quick way to clear the directory when removng the files to reupload. Kunal Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 As all im ever doing these days is waiting for it to upload. or replace them it takes forever. Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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. Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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? Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 I tried that when I got to the version to u[date to 1.7.6 it fell over using one click Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 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 Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 the 1 - click works better when you download and unzip the files first and the update from the server directly. Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 because of the architecture changes from 1.6 to 1.7 any update is tricky at best. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) I was going to leave it at 1.6. at first and then see. Edited April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 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 Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 Oh right ill try the upload to the server how do I do that. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 Right Iv'e installed 1.6. thats and installed. Now how do I upload for the upgrade Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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). Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 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. Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted April 19, 2020 Share Posted April 19, 2020 check you domain path in your database / shop URLs Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) Link to comment Share on other sites More sharing options...
Kunal0 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) 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 April 19, 2020 by Kunal0 (see edit history) 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