firescorpz Posted November 11, 2011 Share Posted November 11, 2011 Hi I was trying to upload an image with a file size of 20.7KB but i can't do it. Why is that so? I am creating a new category where they have this browse button and I search for my picture. While I save it, it said error occur while saving the image? Can someone advise? Thank you. Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 "An error occurred while uploading image." This is the message I receive Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi firecorpz, Can you please post a screenshot of the exact error you're getting? -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Hi Mike, Do you mind let k=me know how to post a screenshot? I can't paste it here? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi Mike, Do you mind let k=me know how to post a screenshot? I can't paste it here? Click on "More Reply Options," use our Attachment function and then select "Add to Post" after it has been uploaded. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Am really sorry, but where is the more reply option? Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 This is the message Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Here you go! -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 I attach it but it does not come out? Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 This is the message, Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Still does not show. Can you guide me step by step? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Sorry about that, had some issues with my screencaster, but here you go! I hope this helps. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Uploaded with ImageShack.us Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Hi I got the image, please advise. Thank you Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi firecorpz, Can you set the permissions of your FTP's /img folder to 777 recursively? Please let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Hi, I have set to 777 but still receive the same error message Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Any solution? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Any solution? I'm looking into this for you, and will let you know as soon as I have something. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Thanks Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi firecorpz, Please open your config/config.inc.php file and replace @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); with @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); and then refresh the page. You should be able to see whatever error is preventing you from properly uploading your images. Please let me know what shows up. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 OMG, I do not know how to do this. Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Will you be able to guide step by step? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Will you be able to guide step by step? Sure, but lets start with the most important step: do you have access to your FTP? -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 yes Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 OK, so open the config folder on your FTP and right click the config.inc.php file, and then choose "view/edit." Once the file is open, look for the code I mentioned earlier, which should be right around line 29 for you. Just replace it with the version I provided, save the file and then save it on your FTP as well. What this will do is show you the error log when you try to upload the image again, and that should give us a clue as to the problem you are encountering. If you have any additional questions on this, please let me know, and otherwise post any errors you get here so that I can continue to help you resolve this! -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 I try to upload the pic again nd this is the message Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/bigmanc/public_html/img/c/52.jpg' for writing: Permission denied in /home/bigmanc/public_html/images.inc.php on line 308 $(document).ready(function() { $('#hideError').unbind('click').click(function(){ $('.error').hide('slow', function (){ $('.error').remove(); }); return false; }); }); An error occurred while uploading image. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 I try to upload the pic again nd this is the message Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/bigmanc/public_html/img/c/52.jpg' for writing: Permission denied in /home/bigmanc/public_html/images.inc.php on line 308 $(document).ready(function() { $('#hideError').unbind('click').click(function(){ $('.error').hide('slow', function (){ $('.error').remove(); }); return false; }); }); An error occurred while uploading image. In your FTP's root folder, can you please find your images.inc.php file, right click on it and select file permissions, and then tell me what you have for the current permissions value? -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 hi, it is 644 Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Do i change the permission value? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Do i change the permission value? Yes, go ahead and switch to 777 and clear your cache and then let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 it is still not working Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Use to load pic before and this does not happen. Why this happen? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Use to load pic before and this does not happen. Why this happen? Unfortunately, that isn't something I could tell you without more information. Could you please PM me with your Back Office and FTP login information and I'll check this out for you? -Mike Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 Hi Mike, it getting late over here in SIngapore Need to take some rest, can I contact you again regarding this matters ? Link to comment Share on other sites More sharing options...
firescorpz Posted November 11, 2011 Author Share Posted November 11, 2011 thank you for your help Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi Mike, it getting late over here in SIngapore Need to take some rest, can I contact you again regarding this matters ? Sure, although we're on the East Coast so I may not be able to help you until Monday morning depending on when you send it. But I will make sure to help you with this. -Mike Link to comment Share on other sites More sharing options...
algisna Posted November 12, 2011 Share Posted November 12, 2011 Hi, I'm also having problems with image import.. I guess my problems might be related to the fact that FTP server from which I want to import images requires FTP password and username.. Where should I specify these details before importing pictures? Link to comment Share on other sites More sharing options...
firescorpz Posted November 26, 2011 Author Share Posted November 26, 2011 Hi Mike, I am back here again... The problem still have not solve. Really need your help on this, thank you Link to comment Share on other sites More sharing options...
firescorpz Posted November 26, 2011 Author Share Posted November 26, 2011 Anyone can help on this too? When I am on leave, I try to upload my website with new products but end up having this problem. Customers is asking why I never update my new products online too? Link to comment Share on other sites More sharing options...
firescorpz Posted November 26, 2011 Author Share Posted November 26, 2011 No expert know the solution to this? Link to comment Share on other sites More sharing options...
Kerm Posted November 26, 2011 Share Posted November 26, 2011 Solution here is one, bc u don't have much exp in this, just find good specialist on freelance who help u with ur server config. Ur problem not in prestashop, ur problem in bad server config. Don't forget that files on FTP have user:group also, not just file permissions like 644/744/777 etc. Mb ur server config check not only permissions but also file owner and if file owner not server, he can't change it. If u can post here php info from ur server, made info.php in site root with text: <?php phpinfo(); ?> And using ur favorite browser go on www.yoursute.com/info.php Link to comment Share on other sites More sharing options...
Kerm Posted November 26, 2011 Share Posted November 26, 2011 Btw in last prestashop version they fixe some submit upload image bug, mb it's fix ur problem http://www.prestashop.com/download/changelog_1.4.6.2.txt Link to comment Share on other sites More sharing options...
firescorpz Posted November 26, 2011 Author Share Posted November 26, 2011 possible to guide me step by step? I would like to pick up the knowledge so I can solve things myself in future Link to comment Share on other sites More sharing options...
Recommended Posts