Jump to content

Aparsons

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • First Name
    Andrew
  • Last Name
    Parsons

Aparsons's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. However now when I try to upload a 20M file it all falls over as I exceed my 128M server memory limit. This happens at line 429 in ImageManager.php return imagecreatefromjpeg($filename); I does seem odd that a 20M upload will use the memory limit - but I don't know too much about the internals. Will increasing my memory limit on the server solve the problem or has something gone berzerk? Thanks, Andrew
  2. El Patron, you're a lifesaver - I was just about to comment out the lines in ImageManager.php. Don't ask me how long it took to find them! This is a problem that has affected a lot of people.
  3. Have finally solved it - with a lot of help from the chap who runs the warehouse prestashop them at iqit-commerce.com and the technical support at one.com. The answer is: in the .htaccess file that lives in the prestashop/upload directory there is a line at the end 'php_flag engine off' simply remove this line. Hope this helps - it has certainly helped me! Now what I would really like to do now is add the name of the image file under or along side the image. Anyone have any ideas? The file to tackle is the shopping-cart-product-line.tpl and the coded filename in upload is available but I cannot see how to get the original filename.
  4. The files live in the upoad directory (called upload) but are assigned a coded key. In my remote server everything has 755 permissions and cannot see an obvious file permission difficulty - however would love to be proved wrong if it solves the problem. Anyone worked out the file upload story, it sees that the files in the upload directory are coded in some way and cannot be directly downloaded with ftp and viewed. Anyone worked out how this all works? I would like to put the file name on the invoice and the shopping cart summary. Where can I retrieve the file name - I have found the customisation code in the product-line.tpl file? Some people have got it to work - be good if they noted down how they solved it to we can try it.
  5. Hi Nemo, It's not a standard or product image problem, they all show up OK. It's when a customer uploads an image as part of the PrestaShop customisation facility for a product that the problem occurs. The image does not show up in the shopping cart summary as it should. I believe that the relevant code is in the shopping-cart-product-line.tpl template. This code points to the location of the uploaded file but the uploaded file does not display in the summary and if you down load it and try to display it it appears to be junk so it is probably encoded. To demonstrate the problem simply add a file customisation to a product in the BO. Then select the product in the FO and upload a file. Look at the shopping cart summary and you will see that there is no record of the image having been uploaded. If you are going to address this it would be nice to know how to retrieve the original filename of the uploaded file so that it can be displayed next to the image on the shopping cart summary. The file upload mechanism with its long coded filenames is far from clear - can anyone shed any light on it?
  6. Hello Nemo, Have tried a number of things but with no avail. Have loaded up a fresh PrestaShop and added a 1 file customisation to a t-shirt. Obviously have done everything right, ie save button before add to basket button. The bug instantly manifested itself by showing an empty line for the uploaded file in the shopping cart summary. Have tested this on my embrionic sit some days ago and the file does come through to the back office. However this is useless if the customer experience is such that he has no confidence or confirmation that the file has uploaded has been accepted. Am just about to investigate the debug/errpr 500 possibility suggested on the bug report. Andrew
  7. This has been listed as a bug back in January it is in the list of bugs and its reference is PSCX-4360 and its title is " Images uploaded in customization does not appear in cart"Please log in to the bug reporter and add your vote and comment. Then perhaps it will shoot up the list of priorities. If it has been listed since January and assigned to a programmer to sort out but nothing hs happened it looks as though it needs more weight behind it. I urge every member of the forum to vote for this one! To log in to the bug reporter: -www.prestashop.com -then at the very bottom of the page at the end of the last column under company click "contact us" -select "You found a bug on PrestaShop Cloud or PrestaShop download." -this brings you to the System Dashboard with CREATE highlighted in blue. -selecting this brings up a box "Create Issue" which has the line "Have you searched on this issue to avoid duplicates (click here)? - click here which brings up the search window. - search string "customisation image" brings up a short list of which our baby PSCX 4360 Images uploaded in customisation... is second. Select this. - Add your vote comment etc. I note now that Gregory says that the reporter has a 500 error while consulting the image and will look into that. However it is still a bug. Why has the poor sap got a 500 error on his image - all he has done is load up Prestashop to make his shop - should not have to delve into the mechanics of server php or whatever to have his customers send their images for T-shirts. - Lets get some weight behind this - the customisation implementation and the way it displays at bottom of the product page with the save button - is scruffy anyway. Thanks to all who have addressed this on the forums, Andrew
  8. I've got the same problem, however it can work as the site yourphotojigsaw.co.uk demonstrates (not my site). I think he had the same problem and noted it on the forum but I don't think he told us how he fixed it. This is important to me too as all my customers have to upload their photos. Am going to whinge to prestashop - it has to be a bug.
  9. Have just looked at your website and am very impressed with the image upload and the shopping basket set up. It displays the image thumbnails nicely and groups the uploaded files against the products. Just what I want. Would you be kind enough to let me know how you did it. Thanks, Andrew
  10. Am interested in this as well Rolo. Am new to PrestaShop and am struggling with the details of the customer upload section. How does your site display a thumbnail of the uploaded image? This does not seem to be a standard part of the PrestaShop theme - or am I missing something. The problem I am struggling with is to have the filename (at least) of the uploaded file displayed in the shopping cart against the ordered product. Could you tell me more about the thumbnail display and perhaps give me the address of your site? Sorry I cannot help you, Andrew
  11. Am setting up a shop where customers can upload images and we print them and post them out. This appears to be handled nicely by the customization facility. However... The uploaded file does not appear in the cart and the text appears as a separate item line. I would like the filename and text (can do without text if need be) to appear in the cart in the same form as the attributes. Then the customer knows that his order is complete. i.e. without the filename against the order he cannot check that he has uploaded the right file or that the system has accepted the file. He is in the dark. I believe that the files to edit are shopping-cart-product-line.tpl and perhaps product.tpl but this is a bit beyond me at the moment. A really sophisticated solution would show the uploaded file as the product image.
×
×
  • Create New...