Jump to content

Problem with links and PS_BASE_URL.


Recommended Posts

Hello,

This is my second shop with Prestashop (I love Prestashop, that's why I continue with it). This time I'm using last version 1.2.4 and this is like an obstacle's race: once you have solved a problem a new one arises... Well, let's go to the problem I have now:

When I click on a product info it says that the page doesn't exist. The problem is that the link is http://www.mydomain.com/_PS_BASE_URL_/product.php?id_product=10

Anybody knows where this _PS_BASE_URL_ comes from?

I have seen that more people has this problem, but I haven't seen any solution.

Thank you in advance for your help.

NOTE: I have solved it deleting all "_PS_BASE_URL_." from Links.php (in classes folder). But why should I do it? Is this correct or it may affect other things? Why is this happening?

Link to comment
Share on other sites

Hi

NOTE: I have solved it deleting all "_PS_BASE_URL_." from Links.php (in classes folder). But why should I do it? Is this correct or it may affect other things? Why is this happening?
Definitely not a solution, you should :
- restore original Link.php file
- check init.php since _PS_BASE_URL_ is defined in this file
Link to comment
Share on other sites

Thank you soju,

I looked first at init.php, but I didn't know what to change there nor why this was happening (it seems that it happens to other people, so there may be something that triggers this.

I will keep investigating for a proper solution....

Link to comment
Share on other sites

  • 2 years later...

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