Jump to content

404 error page on my-account


bonsaiko

Recommended Posts

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

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

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

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

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

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

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

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

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