Jump to content

Cant Add Product, Infinite Load Spinning


Recommended Posts

I have new clear shop installed 1.6.1.4, PHP 5.4, shared hosting

 

When i am trying to add product, i got errors in my console:

 

GET http://anirionline.com/aniriadmin/index.php?controller=AdminProducts&token=…uleTmproductvideos&updateproduct&ajax=1&rand=1455088907252&_=1455088888947 508 (unused)

 

and

 

Uncaught TypeError: Cannot read property 'replace' of undefined

 

pointed on line 177 in products.js

current_tab = $(request.responseText).filter('.product-tab').attr('id').replace('product-', '');

I got infinite loading spin

 

post-1191071-0-30358000-1455089743_thumb.png

 

post-1191071-0-34245900-1455089651_thumb.png

Link to comment
Share on other sites

  • 2 months later...

Hi,

I have the same problem (I work on Prestashop 1.6.1.4 too) : I'de like to add new products, the page display but I can't record because the button "Record" remains tipsy and I get infinite loading spin like you...

I tried on Chrome, Firefox on different PC but the problem persists. I also emptied the mask. On my console the problem seems to come from the line 177 of the code on "product.js" file : "uncaugh TypeError: cannot read property 'replaces' of undefined. That also posts me an error 503.

I'm novice in coding, can you explain to me how you managed to unlock this ?

Thank you very much !

Mathieu

Edited by mumumat (see edit history)
Link to comment
Share on other sites

Hi Nemo1,

Thank you for your answer. I have a module, I tried to deactivate it but my problem remains the same.

When I used PS for the first time 4 weeks ago, I managed to add a new product. Since then, I modified nothing on my BO or updated something, so I don't understand why id attribute is missing now. Do you know how I can see where it is missing?

 

 

 

('.product-tab').attr('id').replace...

I don't understand which manipulation I have to make....

Link to comment
Share on other sites

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