keyjo Posted September 8, 2008 Share Posted September 8, 2008 :snake: :snake: :snake: :snake: Hi!I've installed prestashop, and now as i was creating a new product, i had an upload image problem.I can upload images, but they don´t appear.When i try to resize the images, it shows an error that says that i don´t have permission, but i already have 777 permissions in the folder.Can anyone help?Thanks in advance. Link to comment Share on other sites More sharing options...
spott Posted September 9, 2008 Share Posted September 9, 2008 GD Library is installed? Link to comment Share on other sites More sharing options...
keyjo Posted September 9, 2008 Author Share Posted September 9, 2008 GD library?I don't know.Can you tell me were can i see that?Thanks Link to comment Share on other sites More sharing options...
UltimuDon Posted September 9, 2008 Share Posted September 9, 2008 create an php file <?php phpinfo() ?> access the php page and read the info, for gd you have to search for something like that .... Link to comment Share on other sites More sharing options...
keyjo Posted September 9, 2008 Author Share Posted September 9, 2008 :grrr: UltimuDon, thanks for your reply, but i didn't understand quite well what you wrote... Link to comment Share on other sites More sharing options...
spott Posted September 9, 2008 Share Posted September 9, 2008 Make new file - phptest.phpInside this file - copy these lines:<?phpphpinfo()?> Now upload that file to your webserver.Open it in Your browser - http://yoursecretdomain.com/phptest.php and look, what it says about GD. Link to comment Share on other sites More sharing options...
keyjo Posted September 9, 2008 Author Share Posted September 9, 2008 I've done that and it shows that GD is enabled, as the image attached shows.Can it be other thing?Help!!!! :roll: Link to comment Share on other sites More sharing options...
spott Posted September 9, 2008 Share Posted September 9, 2008 Check from FTP - is image actually uploaded or not.Images are uploaded to /img/tmp folder. Link to comment Share on other sites More sharing options...
keyjo Posted September 9, 2008 Author Share Posted September 9, 2008 Hy spott.The images are uploaded to that folder and in their on folder (ex. img/p, for products)Do you have any idea what it can be?Thanks... Link to comment Share on other sites More sharing options...
spott Posted September 9, 2008 Share Posted September 9, 2008 Can you give your webserver address and also link to your php info file. Link to comment Share on other sites More sharing options...
keyjo Posted September 9, 2008 Author Share Posted September 9, 2008 i send you a pm whith the links.as soon as you can, let me know if you can help. Link to comment Share on other sites More sharing options...
spott Posted September 9, 2008 Share Posted September 9, 2008 First - check inside /img folder subfolder permissions. all these subfolders need to have 777 and their subfolders (when You have some) also.When this doesnt help - then at /config/config.inc.php file.@ini_set('display_errors', 'off'); - set to 'on'Lets see, what is the problem. Link to comment Share on other sites More sharing options...
keyjo Posted September 10, 2008 Author Share Posted September 10, 2008 Hy spott.I've already done what you have said, and it didn't helped... :snake: :snake: Link to comment Share on other sites More sharing options...
spott Posted September 10, 2008 Share Posted September 10, 2008 Copy the error message here.I checked Your site and at some reason - there is no thumbs and folders greated.And here is the only way to see, what error message its shows. Link to comment Share on other sites More sharing options...
keyjo Posted September 10, 2008 Author Share Posted September 10, 2008 4 errorsCannot write no-picture image to the product images folder. Please check the folder's writing permissions.Cannot write no-picture image to the category images folder. Please check the folder's writing permissions.Cannot write no-picture image to the manufacturer images folder. Please check the folder's writing permissions.An error occured while thumbnails' regeneration.this is the error while trying to regenarate the thumbnails. Link to comment Share on other sites More sharing options...
keyjo Posted September 11, 2008 Author Share Posted September 11, 2008 I found the error, it was my mistake, when i translated prestashop, i also translated the name of the generated images, so when i remembered, i put them back as they were and they appeared...Sorry.........I still can regenerate the thumbnails, it's all set to 777 and it gives the permission error..Thanks for your time... :cheese: Link to comment Share on other sites More sharing options...
pjshane Posted September 12, 2008 Share Posted September 12, 2008 I'm struggling to get the connection to PayPal sandbox to work.Using a test customer who checks out through PayPal, everything seems to work including logging into PayPal and OKing the payment. When I click on the Return to My Store link in the PayPal payment confirmation screen, I get FA000005 2008-09-12 $ 0.00 PayPal Payment error on the Order History screen.Looking at PayPal accounts, the customer is charged the correct amount and the shop is credited the correct amount. I think the problem has to do with the URL PayPal sends back to PS. Looking at revealed code, PayPal is sending back: <form method="get" id+"merchantReturn" name="merchant_return" action="http://www.suncitypeople.com/prestashop/order-confirmation.php?key=e19abunchofcode">I have error checking set on, but do not find any error logs. I cannot show my work to my customer until this works.Anybody have any ideas? tnx/pjs Link to comment Share on other sites More sharing options...
pjshane Posted September 16, 2008 Share Posted September 16, 2008 Solved! My checkout problems seem to have been solved. I had the PayPal Sandbox customer's account to enable Payment Review and so a Payment error was being returned to Prestashop as would be expected. Once Payment Review was turned off, everything else fell into place. Although my problem was self-inflicted, I learned a lot about PayPal and Prestashop over past few hard days. Thank you developers. If this system makes me some money, I'll be sharing a little of it with you. tnx/pjs Link to comment Share on other sites More sharing options...
rafy Posted November 28, 2008 Share Posted November 28, 2008 hello guys!i get this error while trying to upload product images:1 error 1. image format not recognized, allowed formats are: .gif, .jpg, .pngi tried many different images and i also have permissions set to 777i have set the error reporting to on.where can i see the errors?thanks Link to comment Share on other sites More sharing options...
zOOge Posted February 20, 2009 Share Posted February 20, 2009 I did a little easier fix, that should be inserted into the code I suppose.The problem (for me at least) was that php:s finfo_open function can't find the magic.mime file thathelps out with the file identifying.To the solution,I changed the function in image.inc.php to this: if (function_exists('finfo_open')) { $finfo = @finfo_open(FILEINFO_MIME, "/etc/magic.mime"); $mime_type = @finfo_file($finfo, $file['tmp_name']); @finfo_close($finfo); } I added ,"/etc/magic.mime"You can look for the file in your system with for example the locate-command:locate magic.mimeor with find as a last resort:find / -name magic.mime -print |grep magic.mime// Fredrik Link to comment Share on other sites More sharing options...
rafy Posted November 11, 2009 Share Posted November 11, 2009 I did a little easier fix, that should be inserted into the code I suppose.The problem (for me at least) was that php:s finfo_open function can't find the magic.mime file thathelps out with the file identifying.To the solution,I changed the function in image.inc.php to this: if (function_exists('finfo_open')) { $finfo = @finfo_open(FILEINFO_MIME, "/etc/magic.mime"); $mime_type = @finfo_file($finfo, $file['tmp_name']); @finfo_close($finfo); } I added ,"/etc/magic.mime"You can look for the file in your system with for example the locate-command:locate magic.mimeor with find as a last resort:find / -name magic.mime -print |grep magic.mime// Fredrik this works gr8thanks Link to comment Share on other sites More sharing options...
nic Posted June 11, 2010 Share Posted June 11, 2010 Check from FTP - is image actually uploaded or not.Images are uploaded to /img/tmp folder. i had problems with this also. but the images are not uploaded. can please help me? Link to comment Share on other sites More sharing options...
Recommended Posts