thamee Posted October 22, 2013 Share Posted October 22, 2013 Hi , I have changed to PrestaShop™ 1.5.6.0 recently, Im having the problem while uploading the image to new product. its giving me error sayiing "UNDEFINED" . can you please help to solve this. Thanks Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 this message appears only for new products? or it just appears also for old ones? Link to comment Share on other sites More sharing options...
thamee Posted November 1, 2013 Author Share Posted November 1, 2013 Its coming for all the existing & new products Link to comment Share on other sites More sharing options...
dvillarp Posted November 14, 2013 Share Posted November 14, 2013 I've the same problem. Link to comment Share on other sites More sharing options...
vekia Posted November 14, 2013 Share Posted November 14, 2013 you upgraded your store or just installed fresh 1.5.6 ? Link to comment Share on other sites More sharing options...
dvillarp Posted November 14, 2013 Share Posted November 14, 2013 I Just installed 1.5.5 Link to comment Share on other sites More sharing options...
vekia Posted November 14, 2013 Share Posted November 14, 2013 so your problem is not related to 1.5.6 as problem of author of this topic. what you see if you're trying to upload picture? Link to comment Share on other sites More sharing options...
dvillarp Posted November 14, 2013 Share Posted November 14, 2013 Simpy: "undefined" (on the bottom of the browser) Link to comment Share on other sites More sharing options...
vekia Posted November 14, 2013 Share Posted November 14, 2013 and what you've got in browser console (ctrl+shift+j in chrome) ? Link to comment Share on other sites More sharing options...
dvillarp Posted November 15, 2013 Share Posted November 15, 2013 I send you a screen printed with the errors with Chrome console Link to comment Share on other sites More sharing options...
vekia Posted November 15, 2013 Share Posted November 15, 2013 it looks like problem is related to 501 method not implemented. this is the first time when i see error like this github entry: http://forge.prestashop.com/browse/PSCFV-8857 another one: http://forge.prestashop.com/browse/PSCFV-4294 Link to comment Share on other sites More sharing options...
TroyHarris Posted November 21, 2013 Share Posted November 21, 2013 I have also just upgraded from 1.4 to 1.5.6 for one of my stores. We used the 1-Click Upgrade, though now I can add any images to new or existing products. Just keeps coming up with UNDEFINED down the bottom. I've tried different browsers on different machines, though the problem is still there. Any ideas? Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 check this topic: http://www.prestashop.com/forums/topic/290297-uploading-products-images-issues/?do=findComment&comment=1463305 maybe it's related to your issue! Link to comment Share on other sites More sharing options...
Jiten Patil Posted December 17, 2013 Share Posted December 17, 2013 (edited) I can't upload image products, when I do it with a single or several images is always the same "undefined" error in a red tab in the footer of page. Tried changing the permissions on "img" folder but nothing happens. I'm really desperated. It happened with the previous prestshop version, and changed for the new one, but the same error appearts. Thanks in advance for any kind of help. I check console i got this error Plz Help me... <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /admin4477/ajax-tab.phpon this server.</p><p>Additionally, a 404 Not Founderror was encountered while trying to use an ErrorDocument to handle the request.</p><hr><address>Apache Server at nsjain.dinpl.com Port 80</address></body></html> & How to add new left column that means add new sidebar Clients,Awards & right column Our brands,Evevnt & news ect... Edited December 17, 2013 by Jiten Patil (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 hello it looks like permission issue with ajax-tab.php file where you've got hosting? perhaps aruba/tucows? Link to comment Share on other sites More sharing options...
Jiten Patil Posted December 17, 2013 Share Posted December 17, 2013 I has been change permission but new error occured this errror is "An error occured during the image upload process" & How to add new left column that means add new sidebar Clients,Awards & right column Our brands,Evevnt & news ect... Please suggest me thanks for reply me. Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 hello, what permissions you use now? and to the second part of your post, please create new topic, these questions aren't related to this topic. thanks in advance Link to comment Share on other sites More sharing options...
way1 Posted December 17, 2013 Share Posted December 17, 2013 I also had this problem with Prestashop 1.5.6.1 on local server. I spent several days to find the reason of the problem.The reason of error was simple. By default new image legend is already entered in the field and is the same as products's name. If it exceed 128 symbols, you'll get error "undefined" while uploading an image! DON'T FORGET CHECK LEGEND'S LENGTH ON ALL LANGUAGES!Developers should definetly make correct error report for this error. Not unclear "undefined" disappearing within a several seconds, but something like "Length of image's legend is too long"!I remember that I meet that problem several months ago and also cannot resolve it. Each time I couldn't understood, what mean the 'undefined" error. And solution and reason was the same - too long legend name. But now I couldn't remember this once again due stupid formulation - "undefined" instead clear "Length of image's legend is too long".There is other bad things of trying upload images with too long image legend:1. First of all when finally by case you success with uploading (for example, by shortening legend's length) the image's position in image's list will be wrong.For example, I tried upload the first image of a product seven times. Finally, when I shorten legend to 128 symbols I can successfully upload the image. It is so far the only image of product, but is position in lis is 8.2. I checked the ps_image table to manually correct this problem. I have found there seven leftovers of my unsuccessful attempts to upload images - seven unneeded id_image of non-existing images. I removed them all and manually changed position in the table.Please correct such behaviour of Prestashop when uploading an image is unsuccessful FOR ANY REASON. Prestashop should write results in the table only after successful uploading. Link to comment Share on other sites More sharing options...
Jiten Patil Posted December 18, 2013 Share Posted December 18, 2013 How to add new left column that means add new sidebar Clients,Awards,Luminaries & right column Our brands,Evevnt & news ect... Please suggest me thanks for reply me. Link to comment Share on other sites More sharing options...
vekia Posted December 18, 2013 Share Posted December 18, 2013 How to add new left column that means add new sidebar Clients,Awards,Luminaries & right column Our brands,Evevnt & news ect... Please suggest me thanks for reply me. and to the second part of your post, please create new topic, these questions aren't related to this topic. thanks in advance forum rules: 1 Topic = 1 Subject or 1 Question- If you have more than one question, open more than one new topic! - Do not ask your question on a thread that doesn’t deal with the exact same matter. Open a new thread, it’s alright to do so. Link to comment Share on other sites More sharing options...
trandinhhong Posted January 8, 2014 Share Posted January 8, 2014 (edited) and what you've got in browser console (ctrl+shift+j in chrome) ? hello vekia i don't upload image product in V 1.5.6.1 when i'm got in browser console (ctrl+shift+j in chrome) Failed to load resource: the server responded with a status of 406 (Not Acceptable) thank u very much . Edited January 8, 2014 by trandinhhong (see edit history) Link to comment Share on other sites More sharing options...
lokifer Posted January 10, 2014 Share Posted January 10, 2014 Having the exact same problem, and cant fix it Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2014 Share Posted January 10, 2014 the same on different browsers? 1 Link to comment Share on other sites More sharing options...
trandinhhong Posted January 14, 2014 Share Posted January 14, 2014 the same on different browsers? yes, i using firefox, chrome but it not upload image . Link to comment Share on other sites More sharing options...
olgasilk Posted January 17, 2014 Share Posted January 17, 2014 (edited) I have exactly same problem The red line on the footer saying UNDEFINED and in 2 sec disappears and yes same problem on IE,Firefox and Chrome While there is not problem to upload images to categories Pls can anyone help??????? Edited January 17, 2014 by olgasilk (see edit history) Link to comment Share on other sites More sharing options...
olgasilk Posted January 18, 2014 Share Posted January 18, 2014 I got the solution for myself, hope it ll help others Upload smaller in pixels size pictures (less then 1000 x 1000 px) and you ll have peace Good luck to all Link to comment Share on other sites More sharing options...
trandinhhong Posted January 19, 2014 Share Posted January 19, 2014 (edited) I got the solution for myself, hope it ll help others Upload smaller in pixels size pictures (less then 1000 x 1000 px) and you ll have peace Good luck to all i have tried ur way but it is success i got the solution for my self , open file js/fileuploader.js search line xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); replace by xhr.setRequestHeader("Content-Type", "application/octet-stream"); xhr.setRequestHeader("processData", false); now, i can uploader files zise pictures (1920 x 1080). hope it ll help orthers Edited January 19, 2014 by trandinhhong (see edit history) 2 Link to comment Share on other sites More sharing options...
Artsfish Posted January 20, 2014 Share Posted January 20, 2014 i have tried ur way but it is success i got the solution for my self , open file js/fileuploader.js search line xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); replace by xhr.setRequestHeader("Content-Type", "application/octet-stream"); xhr.setRequestHeader("processData", false); now, i can uploader files zise pictures (1920 x 1080). hope it ll help orthers Thank you!!! I was just screaming "YAY!" at my screen - after spending several futile hours trying to find a fix I had the exact same product image upload error and I tried just about everything else in the other threads - and only ended up with more trouble in other areas. How aggravating - an eCommerce site is useless without product images. This edit seems to have fixed the "undefined" upload errors that showed up in the error console as 404 & 500 internal server errors - as well as other error messages. I know by the forum threads that I've read that this isn't an isolated problem, so I hope that a more universal fix will be addressed in the next update. Link to comment Share on other sites More sharing options...
trandinhhong Posted January 20, 2014 Share Posted January 20, 2014 Thank you!!! I was just screaming "YAY!" at my screen - after spending several futile hours trying to find a fix I had the exact same product image upload error and I tried just about everything else in the other threads - and only ended up with more trouble in other areas. How aggravating - an eCommerce site is useless without product images. This edit seems to have fixed the "undefined" upload errors that showed up in the error console as 404 & 500 internal server errors - as well as other error messages. I know by the forum threads that I've read that this isn't an isolated problem, so I hope that a more universal fix will be addressed in the next update. are u success ? Link to comment Share on other sites More sharing options...
olgasilk Posted January 21, 2014 Share Posted January 21, 2014 i have tried ur way but it is success i got the solution for my self , open file js/fileuploader.js search line xhr.setRequestHeader("Content-type","application/x-www-form-urlencoded"); replace by xhr.setRequestHeader("Content-Type", "application/octet-stream"); xhr.setRequestHeader("processData", false); now, i can uploader files zise pictures (1920 x 1080). hope it ll help orthers trandinhhong Thank you soooooooooooo much it works really perfect, now people will be able to see the tinies details of my paintings ))) Link to comment Share on other sites More sharing options...
Artsfish Posted January 22, 2014 Share Posted January 22, 2014 works great! Link to comment Share on other sites More sharing options...
Recommended Posts