Jump to content

"Controller not found" internally when "ajax-tab.php" is called when I try to upload image to the pr


templaries

Recommended Posts

Prestashop version: 1.5.6.2

 

I have a got a strange error when I try to upload a image to a product.

 

On the backend I saw a red panel that says "undefined". Looking for the error I have debuged the execution of the program. I go to the javascript function when the upload image function is called.

 

js/filesuploader.js

 

this is query url used in the code:

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.

 

Any ideas?

 

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