bonsaiko Posted November 3, 2016 Share Posted November 3, 2016 Hello, I noticed that when I click on my-account page, I'm getting a 404error page. I chose to use custom name for this page, which is "mon-compte" but it's not working... I don't know if it was working before, I just noticed the problem now. I'm using a module called clean url, maybe it's related. Could anyone help me please ? Thanks a lot Link to comment Share on other sites More sharing options...
bonsaiko Posted November 5, 2016 Author Share Posted November 5, 2016 Is there anyone who could help me please? I'm stuck with this 404 issue... Thanks Link to comment Share on other sites More sharing options...
rwinnovation Posted November 6, 2016 Share Posted November 6, 2016 I am right there with you. I can not seem to get any answers either. I think people are keeping mum so we have to pay for support To find out what is causing the problem (I can't fix it) go to your domain files, scroll towards the bottom and view the error log. It will tell you more about what the problem is. Post that here and maybe someone will have an answer Link to comment Share on other sites More sharing options...
bonsaiko Posted November 7, 2016 Author Share Posted November 7, 2016 Hello and thanks for taking the time to answer me. When you say to view the error log, which one are you talking about ? Could you tell me where to find it ? Thank you Link to comment Share on other sites More sharing options...
rwinnovation Posted November 7, 2016 Share Posted November 7, 2016 I don't know how yours work. For me I go to my Chanel and fine the file manager-> public_html folder-> domain name.com -> error log. Right click and "view" Link to comment Share on other sites More sharing options...
bonsaiko Posted November 7, 2016 Author Share Posted November 7, 2016 Thank you. Here's what I found in the error log file: PHP Strict Standards: Declaration of Link::getCategoryLink() should be compatible with LinkCore::getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) in /home/mydomain/public_html/override/classes/Link.php on line 0 Any idea of what it means ? What I find strange is "line number 0"... Link to comment Share on other sites More sharing options...
bonsaiko Posted November 7, 2016 Author Share Posted November 7, 2016 I found a topic on this problem, so I edited the file /override/link.php and replaced: public function getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL) by: public function getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) Now I still have a problem of 404 not found, but it doesnt get logged in the error file... So I have no way of understanding what's wrong... Very strange... Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 8, 2016 Share Posted November 8, 2016 Hello, I noticed that when I click on my-account page, I'm getting a 404error page. I chose to use custom name for this page, which is "mon-compte" but it's not working... I don't know if it was working before, I just noticed the problem now. I'm using a module called clean url, maybe it's related. Could anyone help me please ? Thanks a lot have you checked if you can open the page correctly with the "clean url" module disabled/uninstalled? Link to comment Share on other sites More sharing options...
bonsaiko Posted November 14, 2016 Author Share Posted November 14, 2016 Yes I did and I have the same problem with clean url module disabled... Finally I understood where the problem is, and it's very, very bad news : I deactivated friendly URL and it's wotking. The problem is that I do need to have friendly url (I mean URLs like myshop.com/drinks/diet-coke and not myshop.com/index.php?product_rewrite=diet-coke&controller=product). Any idea of what I could do to solve this issue ? It's a real problem if I can't use friendly URLs. Thanks Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 15, 2016 Share Posted November 15, 2016 Tell your host to enable mod_rewrite on your server, and then try enabling friendly urls again. Link to comment Share on other sites More sharing options...
bonsaiko Posted November 15, 2016 Author Share Posted November 15, 2016 Hello, I contacted my host and he says that mod_rewrite is already enabled. He's right, because when I type URLs like mysite.com/drinks/diet-coke, it works fine. The only problem I have is with the "my account' page, which was renamed to "mon-compte" in Prestashop admin. Also I tried to rename the contact page to "conatctez-nous", and it's working ok. It seems it's only the "mon-compte" page that's not working... Very strange. Any idea of what the problem might be and what I should do ? Link to comment Share on other sites More sharing options...
bonsaiko Posted November 21, 2016 Author Share Posted November 21, 2016 Hello... Stil no idea of what the problem might be? I really do need some help... Link to comment Share on other sites More sharing options...
urolog Posted November 21, 2016 Share Posted November 21, 2016 (edited) Hi, I've the same problem..but my error is 405 and everything what I try to fix it it's not working, help me please urolog Edited November 21, 2016 by urolog (see edit history) Link to comment Share on other sites More sharing options...
rwinnovation Posted November 21, 2016 Share Posted November 21, 2016 go to backoffice, --> go to preference, -->go to url/SEO --> Scroll to the bottom and find "friendly URL" if it is on, set it off see that if that works. It worked for me earlier. 1 Link to comment Share on other sites More sharing options...
bonsaiko Posted November 21, 2016 Author Share Posted November 21, 2016 No, I had already tried without success. I just tested it again, just in case, but the problem remains... And I really do need to have friendly URLs. By the way, we're talking of option 1 of bloc # 2 in Admin / SEO & URL, right ? I'm asking because my Prestashop is in french, so I'd like to be sure that we're talking about the same thing. Thanks Link to comment Share on other sites More sharing options...
rwinnovation Posted November 21, 2016 Share Posted November 21, 2016 yup. that is what I was talking about. If you try all the options and find which one works it may be easier to figure out why yours do not work (I had to turn friendly url off for mine) I Link to comment Share on other sites More sharing options...
rwinnovation Posted November 21, 2016 Share Posted November 21, 2016 (edited) https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Try that... it may give you another answer Edited November 21, 2016 by rwinnovation (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