matheusryndack Posted January 18, 2015 Posted January 18, 2015 Hi everybody! I am trying to build a module that will use AJAX. I am using PS1.6 I have a php file that will return a XML with the data to be displayed on the page. But when I put my php file somewhere in my modules folder, I get a 404 error when trying to access it. Just for testing I put the file on website root and it worked perfectly. For example: I have this file: https://www.mydomain.com.br/modules/mymodule/calcularfrete.php (It returns 404). https://www.mydomain.com.br/calcularfrete.php (It returns the XML correctly). The files are in the server, I triple checked. It is not a .access problem, because I temporarily deleted the .htaccess file and I still get 404 erros. I guess this is a protection from prestashop, but I can't figure out how to do in a better way or use this way. Does anybody have any idea for me? Thanks! Matheus (from Brazil) Share this post Link to post Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now