Valdic Posted October 26, 2018 Share Posted October 26, 2018 Hi guys! I have a somewhat wierd problem... When creating a new product while it is disabled, I can not upload more than 1 photo at a time. If I upload more than 1, only one is uploaded, the others are left with the blue upload bar and never get uploaded. I also do not see the images once I save the product, if I go back to catalog and re-enter the product, all images appear blank. Strangely, it is fixed when the product is enabled, the images appear in the backoffice. This only happens in the backoffice, in the front everything is correct. The wierd thing is that all this is happening if I do it with any user that has SUPERADMIN permissions. I have tried two different users. BUT... If I enter with another user who has "SELLER" permissions, for example, everything works perfectly and without problems, nothing that I explained above happens. It's like if the superadmin permissions have been bugged, broken, or whatever. Someone knows what could be causing this? In case it helps, when I open the Chrome console (F12) and see what errors it gives when uploading an image, we have this: - When you try to upload 2 images to a product with SUPERADMIN permissions, give this error for each image to upload: 4468-small_default.jpg:1 GET https://www.misitio/img/p/4/4/6/8/4468- ... efault.jpg 404 (Not Found) (anonymous) @ main.bundle.js:292 $e @ main.bundle.js:292 html @ main.bundle.js:292 (anonymous) @ main.bundle.js:412 each @ main.bundle.js:292 e @ main.bundle.js:412 (anonymous) @ main.bundle.js:412 u @ main.bundle.js:292 c @ main.bundle.js:292 setTimeout (async) (anonymous) @ main.bundle.js:292 u @ main.bundle.js:292 fireWith @ main.bundle.js:292 fire @ main.bundle.js:292 u @ main.bundle.js:292 fireWith @ main.bundle.js:292 i @ main.bundle.js:292 (anonymous) @ main.bundle.js:292 load (async) send @ main.bundle.js:292 ajax @ main.bundle.js:292 Te.(anonymous function) @ main.bundle.js:292 u @ main.bundle.js:412 e.emit @ main.bundle.js:279 t._finished @ main.bundle.js:279 (anonymous) @ main.bundle.js:279 load (async) t.uploadFiles @ main.bundle.js:279 t.processFiles @ main.bundle.js:279 t.processFile @ main.bundle.js:279 t.processQueue @ main.bundle.js:279 (anonymous) @ main.bundle.js:279 setTimeout (async) t.enqueueFile @ main.bundle.js:279 (anonymous) @ main.bundle.js:279 accept @ main.bundle.js:279 t.accept @ main.bundle.js:279 t.addFile @ main.bundle.js:279 (anonymous) @ main.bundle.js:279 If you do it with another user with permissions that are not SUPERADMIN, they upload perfectly and do not give any errors. I honestly do not know if these errors are hosting or prestashop related. Thanks if someone can help! 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