Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

what files calls this script? includes/languages/english/index.php


Recommended Posts

Not sure what happened, but includes/languages/english/index.php is no longer being included on my pages. Constant names defined in this file are showing up on the page.


Could someone pls tell me where in the code, it decides to include this page?




Link to comment
Share on other sites

Thanks for a quick response.



Actually, what I am seeing that all constants defined in includes/languages/english/index.php do not exist.


Upon digging further, I outputted all of the files included to the page. I see this file is not being included when the page is generated.


I see that includes/languages/english.php is though.


So I am trying to figure out when /languages/english.php is included vs languages/english/index.php


I am trying to find where in the code languages/english/index.php would be called.




Link to comment
Share on other sites

Its just a call the the TEXT_MAIN on your index page

English.php holds a lot of similar defines, index.php define is more specific.

English.php is not included en mass you will find it in the naviagation on the index.php (Header) the footer.

A quick way would be to remane it then call you index.php and see the calls then.


Sometimes you're the dog and sometimes the lamp post


My Contributions

Link to comment
Share on other sites

  • 3 weeks later...
I got around it by adding this


at the bottom of english.php




I just had this same issue myself, but I don't think this is the "best" fix. A little more searching reveals the problem is down to PHP_SELF. A better solution (which also fixed a load of other issues I was having on migrating my server) is here:




This problems occurs in both the shop and admin separately.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...