ydizzyy Posted November 18, 2016 Share Posted November 18, 2016 Hello, I have installed the latest version of prestashop (1.7) but the backoffice page does not open after login. I get 404 Error page : The page you are looking for was not found. I have tried to reinstalling it but i still get the same error. I've made an installation on my localhost pc with xampp installed on it and it works but on the server where is hosted my domain doesn't work. How can i enable the debug mode in prestashop 1.7 ? What can be done to solve this issue? Kind regards, Petru Link to comment Share on other sites More sharing options...
ydizzyy Posted November 19, 2016 Author Share Posted November 19, 2016 Is there anyone who can help me with this problem ?? Link to comment Share on other sites More sharing options...
levimauricio Posted November 22, 2016 Share Posted November 22, 2016 I have the same error, do you fix it? Link to comment Share on other sites More sharing options...
RedHawk Posted November 24, 2016 Share Posted November 24, 2016 I have the same problem though I just installed it and was in the admin area, then logged out, came back later to make adjustments but get the Page can't be found 404 error! Link to comment Share on other sites More sharing options...
ydizzyy Posted November 30, 2016 Author Share Posted November 30, 2016 It seems that prestashop support it's not what I expected to be. I think i will try another platform .. maybe magento 2 Link to comment Share on other sites More sharing options...
Kaprylo Posted December 2, 2016 Share Posted December 2, 2016 Haveing loads of problems. Not a single help from a prestoshop support. Looking into other platforms to. I would gladly pay to get it solved. 1 Link to comment Share on other sites More sharing options...
RedHawk Posted December 2, 2016 Share Posted December 2, 2016 I think your right, I'm going to Coffee Cup platform, at least I can figure most things out with their program. Link to comment Share on other sites More sharing options...
Sprendimų Metas Posted January 2, 2017 Share Posted January 2, 2017 Same issue here. Back-office admin pages Products and Modules are producing 404 error - not found. Link to comment Share on other sites More sharing options...
esmDanhost Posted January 25, 2017 Share Posted January 25, 2017 (edited) We had the same problem on our hosting, which seemed to arise because of a misconfiguration of Apache when using php-fpm.Implementing the proposed fix in: https://www.prestashop.com/forums/topic/519123-config-prestashop-17-and-nginx/ in our Apache config, seems to have fixed the 404 error.Because we use PHP-fpm som ajustment had to be made to our Apache config. We had the following LocationMatch in our config: <LocationMatch ^(.*\.php)$> ProxyPass fcgi{colon}{slash}{slash}127.0.0.1:9000/data/prestashop$1 enablereuse=on</LocationMatch> This breaks symfony urls, but was simply fixed by inserting the following instead: <LocationMatch ^(.*\.php)> ProxyPass fcgi{colon}{slash}{slash}127.0.0.1:9000/data/prestashop$1 enablereuse=on</LocationMatch> Note that the forum spamfilter removes parts of the config when posted in its entirety.Please replace ' {colon} ' with ' : ' and ' {slash} ' with ' / '. Then apache will proxy the Symfony requests, with characters after .php, on to php-fpm. Edited January 25, 2017 by esmDanhost (see edit history) 1 Link to comment Share on other sites More sharing options...
Sprendimų Metas Posted January 28, 2017 Share Posted January 28, 2017 Hello, I created issue on the Forge http://forge.prestas...rowse/BOOM-2128 but they closed it without investigation. Everyone please add comments about your systems which does not work. In my case there is no fcgi, php is used ad mod_php Link to comment Share on other sites More sharing options...
mailoftrung Posted February 4, 2017 Share Posted February 4, 2017 I installed Prestashop at local and learned it for days. Now I uploaded and setup in real host and faced the same issue. Prestashop is fit to me and I do not want to change to other platforms : (( Link to comment Share on other sites More sharing options...
hugo@holohugo.cz Posted March 22, 2017 Share Posted March 22, 2017 Hello Prestashop. I have the same issue - whenever i try to access backoffice i get 404 error. This happening right after installing. Presta 1.7 tried PHP 5.6, 7.0, 7.1, tried .htaccess magic, contacted my provider but all of it with no solution reinstall 3 times Is there someone who can help? My fotder is named admin, i tried to rename it - whatever i do, i have 404. I cant access my shop. Can someone point me right direction? Thanks Link to comment Share on other sites More sharing options...
hugo@holohugo.cz Posted March 22, 2017 Share Posted March 22, 2017 Ok i find a way. After whole day of testing. There is problem with .htaccess inside the admin folder. If you delete it generate your admin URL, rename the folder and everything looks fine. .htaccess from admin folder cant be returned, because it cause the 404 again. I dont know anything about functionality from this point and i dont know if shop is affected by deleting this file. 1 Link to comment Share on other sites More sharing options...
maheu Posted May 29, 2017 Share Posted May 29, 2017 Hello, I have quite a similar problem. I can't access the products and the modules page in Backoffice. I tried to delete .htaccess I tried to delete .htaccess, rename admin folder I reinstalled the whole system Nothing worked so far. Any more ideas what I could do? Cheers! Link to comment Share on other sites More sharing options...
brunomorais Posted July 13, 2017 Share Posted July 13, 2017 (edited) esmDanhost solution worked for me. Thanks esmDanhost Edited July 13, 2017 by brunomorais (see edit history) Link to comment Share on other sites More sharing options...
netpalantir Posted September 26, 2017 Share Posted September 26, 2017 On 1/25/2017 at 11:00 AM, esmDanhost said: We had the same problem on our hosting, which seemed to arise because of a misconfiguration of Apache when using php-fpm. Implementing the proposed fix in: https://www.prestashop.com/forums/topic/519123-config-prestashop-17-and-nginx/ in our Apache config, seems to have fixed the 404 error. Because we use PHP-fpm som ajustment had to be made to our Apache config. We had the following LocationMatch in our config: <LocationMatch ^(.*\.php)$> ProxyPass fcgi{colon}{slash}{slash}127.0.0.1:9000/data/prestashop$1 enablereuse=on </LocationMatch> This breaks symfony urls, but was simply fixed by inserting the following instead: <LocationMatch ^(.*\.php)> ProxyPass fcgi{colon}{slash}{slash}127.0.0.1:9000/data/prestashop$1 enablereuse=on </LocationMatch> Note that the forum spamfilter removes parts of the config when posted in its entirety. Please replace ' {colon} ' with ' : ' and ' {slash} ' with ' / '. Then apache will proxy the Symfony requests, with characters after .php, on to php-fpm. Thanks for this, you solved my problem. I had the following directive, which broke some of the URLs (pasting here, in case someone else has a similar problem). ProxyPassMatch ^.*[.]php$ fcgi{colon}{slash}{slash}127.0.0.1:9000/data/prestashop # does NOT work This was causing me a "Service unavailable" error (503) on Apache, that was unable to reach any URL of the following form: http://mystore/adminXXXXX/index.php/module/catalog?_token=... Link to comment Share on other sites More sharing options...
levimauricio Posted October 6, 2017 Share Posted October 6, 2017 Hello, i had this problem too. I fixed the problem by doing the following steps: 1) Go to the "admin" folder 2) Find the file .htaccess, (backup in another location) and delete it 3) For security, rename the "admin" folder example: "consola" 4) Try enter again with the direction: "yourdomain.com/consola" View tutorial here: https://youtu.be/nHyHBJBf57o Link to comment Share on other sites More sharing options...
JoseRog Posted February 15, 2018 Share Posted February 15, 2018 I had the same error, just realised than once you log in the first time, system changes your admin folder name for something like "admin2446dfee8z", so next time, whe you try to log in to your url/admin the page is not found. So you have two solutions, rename admin folder or access using the new URL. Don't know why is that happening, maybe security reasons?? Try this and let us know if this works. Link to comment Share on other sites More sharing options...
info.artematelier@gm Posted December 11, 2018 Share Posted December 11, 2018 On 12/2/2016 at 12:17 AM, Kaprylo said: Haveing loads of problems. Not a single help from a prestoshop support. Looking into other platforms to. I would gladly pay to get it solved. Expand SAME HERE. PRESTASHOP SI THE WORST PLATFORM Link to comment Share on other sites More sharing options...
Inform-All Posted January 16, 2019 Share Posted January 16, 2019 On 12/11/2018 at 1:10 AM, info.artematelier@gm said: SAME HERE. PRESTASHOP SI THE WORST PLATFORM Expand You are using a open source platform FOR FREE, and you happend to have a issue that you cant resolve... I don't think complaining about it is gonna help anyone. Link to comment Share on other sites More sharing options...
info.artematelier@gm Posted January 16, 2019 Share Posted January 16, 2019 On 1/16/2019 at 9:44 AM, Inform-All said: You are using a open source platform FOR FREE, and you happend to have a issue that you cant resolve... I don't think complaining about it is gonna help anyone. Expand KInd of for free. After all the continue errors that you have all the time and the slow updates- paying the developers to fix is not quite for free! But anyway! At one point you are right-complaining does not help anyone. Link to comment Share on other sites More sharing options...
iKhul Posted January 22, 2020 Share Posted January 22, 2020 You must call the same address as your admin folder. example like me localhost/myweb/admin670b9kpyh, not localhost/myweb/admin Link to comment Share on other sites More sharing options...
klesun Posted March 1, 2020 Share Posted March 1, 2020 location /admin/ { # [REQUIRED EDIT] the name of your admin directory if (!-e $request_filename) { rewrite ^/.*$ /admin/index.php last; # [REQUIRED EDIT] the name of your admin directory } } In the provided nginx config (I guess same goes for apache) you have to change `location` /admin/ directory to the one generated during your install. The correct directory should be right in top of your root directory listing in the explorer. In my case I had to change it to: location /admin220eezytb/ { if (!-e $request_filename) { rewrite ^/.*$ /admin220eezytb/index.php last; } } 1 Link to comment Share on other sites More sharing options...
Tyler Nguyen Posted December 21, 2020 Share Posted December 21, 2020 Hi guys, I got the same issue before. The issue is the admin path is dynamic, then you have to update the default nginx snippet Just change # [REQUIRED EDIT] Change this block to your admin folder location /admin-dev/ { if (!-e $request_filename) { rewrite ^/.*$ /admin-dev/index.php last; } } to # [REQUIRED EDIT] Change this block to your admin folder location /admin379trpn8t/ { if (!-e $request_filename) { rewrite ^/.*$ /admin379trpn8t/index.php last; } } admin379trpn8t is the generated admin path after you just installed the platform ps1770.local.confFetching info... Link to comment Share on other sites More sharing options...
Blume2021 Posted January 19, 2021 Share Posted January 19, 2021 Estamos com o mesmo problema na nossa paginas alguem ja resolveu esse problema? Link to comment Share on other sites More sharing options...
lordshop Posted January 19, 2021 Share Posted January 19, 2021 On 12/21/2020 at 4:19 AM, Tyler Nguyen said: Hi guys, I got the same issue before. The issue is the admin path is dynamic, then you have to update the default nginx snippet Just change # [REQUIRED EDIT] Change this block to your admin folder location /admin-dev/ { if (!-e $request_filename) { rewrite ^/.*$ /admin-dev/index.php last; } } to # [REQUIRED EDIT] Change this block to your admin folder location /admin379trpn8t/ { if (!-e $request_filename) { rewrite ^/.*$ /admin379trpn8t/index.php last; } } admin379trpn8t is the generated admin path after you just installed the platform ps1770.local.conf 5.45 kB · 1 download Expand can you please explain a bit more, I didn't understand. Witch file we need to edit? Where is supposed to be located the ps1770.local.conf ? Link to comment Share on other sites More sharing options...
Tyler Nguyen Posted January 20, 2021 Share Posted January 20, 2021 On 1/19/2021 at 9:03 PM, lordshop said: can you please explain a bit more, I didn't understand. Witch file we need to edit? Where is supposed to be located the ps1770.local.conf ? Expand Hi there, You have to determine what is your nginx virtualhost configuration file first (it's usually in /etc/nginx/sites-available/) Then just modify it, look for the patterns that I mentioned and replace by the correct one. Don't forget to restart your nginx service Cheers, Tyler Link to comment Share on other sites More sharing options...
lordshop Posted January 20, 2021 Share Posted January 20, 2021 thank you Tyler Nguyen. Unfortunately I am in a share hosting server so I don't have access to those files. I will try to send a message. Link to comment Share on other sites More sharing options...
Experience of Design Posted August 25, 2021 Share Posted August 25, 2021 I had same problem, on local server was all fine, but on public hosting not. Problem was in only one single line. In .htaccess in admin folder only comment this line (MULTIVIEWS <IfModule mod_negotiation.c> Options -MultiViews </IfModule> to <IfModule mod_negotiation.c> #Options -MultiViews </IfModule> After all request are with code 200 OK. Many public providers has this entity switch off, i don't know why, but it is. And second thing, version of PHP on PS 1.7.7.5 is ideal PHP 7.4. So glad to help i hope. Link to comment Share on other sites More sharing options...
Nickz Posted August 25, 2021 Share Posted August 25, 2021 On 8/25/2021 at 12:06 PM, Experience of Design said: version of PHP on PS 1.7.7.5 is ideal PHP 7.4. Expand Not according to Presta: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Link to comment Share on other sites More sharing options...
Experience of Design Posted September 29, 2021 Share Posted September 29, 2021 On 8/25/2021 at 12:53 PM, Nickz said: Not according to Presta: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Expand Hi, i tested solution on 7.1 from Forpsi.com and PS not started on their hostings. After update on PHP 7.4 was it done. Link to comment Share on other sites More sharing options...
EPHG Posted September 5, 2023 Share Posted September 5, 2023 If .htaccess is used, then you need to change the site mode to Apache, without Nginx 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