Jump to content
ydizzyy

Prestashop 1.7 Backoffice 404 Error

Recommended Posts

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

It seems that prestashop support it's not what I expected to be.

 

I think i will try another platform .. maybe magento :)

  • Like 1

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

I think your right, I'm going to Coffee Cup platform, at least I can figure most things out with their program.

Share this post


Link to post
Share on other sites

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 by esmDanhost (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

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 : ((

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

 

:)

  • Like 1

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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=...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
On 12/2/2016 at 1: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.

SAME HERE.

 

PRESTASHOP SI THE WORST PLATFORM

Share this post


Link to post
Share on other sites
On 12/11/2018 at 2:10 AM, info.artematelier@gm said:

SAME HERE.

 

PRESTASHOP SI THE WORST PLATFORM

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.

Share this post


Link to post
Share on other sites
8 hours ago, 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.

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.

Share this post


Link to post
Share on other sites

You must call the same address as your admin folder. example like me localhost/myweb/admin670b9kpyh, not localhost/myweb/admin

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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