templaries Posted April 18, 2017 Share Posted April 18, 2017 (edited) Prestashop version: 1.5.6.2 I have a got a strange error when I try to upload a image to a product. I go the images section of the product page and try to upload one image, then a red panel is shown at bottom os the screen that says "undefined". Then I go to debug the javascript execution where the image uploading action is called. The image uploading action is called from "js/filesuploader.js", the query to upload the image use the ajax-tab.php file with the following form. ajax-tab.php?id_product=1158&id_category=0 &token=671fbce19deb7578aff439f10a0b1e31 &tab=AdminProducts &action=addImage &ajax=1&legend%5B1%5D=test&legend%5B2%5D=test&legend%5B3%5D=test&qqfile=20170404_105228.jpg The response code like this <div class="error"> <span style="float:right"> <a id="hideError" href=""><img alt="X" src="../img/admin/close.png" /></a></span> El controlador no encontrado </div> I don't know that happens here, the upload image behaviour has been worked without problem until now. I understand that "AdminProducts" controlled is not found, but the file AdminProductsController is on "controllers/admin/AdminProductsController.php" file (inside there is a class called "AdminProductsControllerCore", so I dont know whats going on here. Any ideas? Edited April 18, 2017 by templaries (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