rwallin Posted November 12, 2008 Share Posted November 12, 2008 I've changed the settings on my server to allow a maximum size of each file uploaded to 20M but anything over about 4M is throwing an error error: big error I am also needing to know if there is a more efficient way to import a large amount of digital products and not have to go into each on to upload the product file itself?Right now the most efficient way I can tell is to import the data and then to go back into each product to upload the file.on a side note, I am so glad that I found this e-commerce package. this is a top notch off the shelf package. Link to comment Share on other sites More sharing options...
benjwalker Posted November 14, 2008 Share Posted November 14, 2008 Ditto on the "error: big error" situation.Have found a few unanswered post on this in the forum.Anyone got any ideas? Link to comment Share on other sites More sharing options...
Natalie Posted December 12, 2008 Share Posted December 12, 2008 I've also raised the limit on files. I occasionally have a large file to upload so I raised my limit on the server side, but now I'm getting this same "big error" message. I'm so grateful for your product and like everyone else just need "this one thing" to make it perfect. For my workflow I either need the ability to upload one large file, or multiple smaller files would be okay too. Whatever you can do...Thanks so much! Link to comment Share on other sites More sharing options...
spetzie Posted January 16, 2009 Share Posted January 16, 2009 Is theire no sollution to this problem? Because a i sell oly big files and i realy need more upload. btw it is set to 256 mb limite and still getting that big error ... Link to comment Share on other sites More sharing options...
millenium Posted January 16, 2009 Share Posted January 16, 2009 Is theire no sollution to this problem? Because a i sell oly big files and i realy need more upload. btw it is set to 256 mb limite and still getting that big error ... i solved this problem with hmm.. bit nasty workaround thing:1. create some file with exactly same name that your file is. (like file.zip (0 kb length)2. upload your 1tera byte file to server with normal ftp (/prestashop/download folder)3. go to backend and create new downloadable product and upload your 0kb file (with the same name as in stage 2)4. telnet to your server, go to /presta/download folder;ls -ltr and you can see the last created token file that cryptic monster, copy that to clipbroad;mv terabyte zip file.zip to that cryptic monster file and voila, you got a problem solved!Ofcourse this is stupid way to do this, the right one would be that presta team creates a background uploader (Hope Lucas Cherifi adds this feature to his great private project: http://www.prestashop.com/forums/viewthread/10660/ )I surely hope that this comes official project quite soon, because it is virtually impossible to sell virtual goods for real at the moment with that crappy web interface. Link to comment Share on other sites More sharing options...
spetzie Posted January 17, 2009 Share Posted January 17, 2009 Found it fixed it an now i can upload 256 mb file finaly Link to comment Share on other sites More sharing options...
photoads Posted January 17, 2009 Share Posted January 17, 2009 Found it fixed it an now i can upload 256 mb file finaly Can you share how you did this please? Link to comment Share on other sites More sharing options...
ladyrudi Posted January 20, 2009 Share Posted January 20, 2009 Hei Spetzie! Give us a help, please. How do you resolv the problem? I also can't upload files with more than 8MB and my server have 100M limitation for upload files ... afffBest regards\0/ \0/ \0/ from Brasil Link to comment Share on other sites More sharing options...
Amish Gramish Posted January 26, 2009 Share Posted January 26, 2009 ^BumpHow do we fix the problem? Link to comment Share on other sites More sharing options...
ladyrudi Posted January 26, 2009 Share Posted January 26, 2009 I don't know if this is the best way, but I have my problem solved by adding some lines in the .htaccess file to the root of the shop.See the lines of code: (I have increased the upload size to 100M) # Max size upload file php_value upload_max_filesize 100M php_value post_max_size 100M php_value max_execution_time 200 php_value max_input_time 200 Work for me! If you have any other ideas, please, post here. Thanks!!\0/ \0/ \0/Excuse me, please. My english is terrible. Link to comment Share on other sites More sharing options...
Amish Gramish Posted January 26, 2009 Share Posted January 26, 2009 I don't know if this is the best way, but I have my problem solved by adding some lines in the .htaccess file to the root of the shop.See the lines of code: (I have increased the upload size to 100M)# Max size upload file php_value upload_max_filesize 100M php_value post_max_size 100M php_value max_execution_time 200 php_value max_input_time 200 Work for me! If you have any other ideas, please, post here. Thanks!!\0/ \0/ \0/Excuse me, please. My english is terrible. But where is this .htaccess file that I've spent hours looking for?I don't have any .htaccess file in the root of my shop, unless if it was set up by my Web Hosting Company. (I have PrestaShop in .com/prestashop/, so would it be at /public_html/ or /prestashop/?)And your English is great!Most of people in America type English like a five year old. Link to comment Share on other sites More sharing options...
ladyrudi Posted January 26, 2009 Share Posted January 26, 2009 But where is this .htaccess file that I’ve spent hours looking for?I don’t have any .htaccess file in the root of my shop, unless if it was set up by my Web Hosting Company. (I have PrestaShop in .com/prestashop/, so would it be at /public_html/ or /prestashop/?)And your English is great!Most of people in America type English like a five year old. Hi Amish! Thanks about your comments for my english. I try!When I upload prestashop to my public_html, in there are a file with name htaccess.txt, and I rename it to .htaccess to accept others instructions on it. (for example, to have friendly urls functions ok).That's it! Hope this help you. Link to comment Share on other sites More sharing options...
Amish Gramish Posted May 31, 2009 Share Posted May 31, 2009 It works for files above 128 MB in size, but anything larger and it gives me the error again.Any new progress?EDIT:It looks like, at least for me, my webhosts have to change the file size limit on their side, or at least that's the best I could find.(.htaccess and php.ini both say 1024 M upload limit, but in Cpanel, it says the limit is 128 MB, and it says the settings are configurable by the server administrator, so I'm trying to contact my hosts now.)EDIT AGAIN:I documented a workaround.http://www.prestashop.com/forums/viewthread/20074/It ends up that I couldn't upload it because my website is on a shared server, so I could only upload up to 128 MB because anything larger would take up too much resources from the entire server. Link to comment Share on other sites More sharing options...
PS User Posted March 13, 2010 Share Posted March 13, 2010 Can't you just type in the file name in the file path field and expect to work? Normally other eCommerce shop has this option due to large file size and it's FTP upload limitations...Such as the most powerful shopping cart ever build, called ASPDotNetstoreFront..., but $$$! Link to comment Share on other sites More sharing options...
Amish Gramish Posted March 15, 2010 Share Posted March 15, 2010 Can't you just type in the file name in the file path field and expect to work? Normally other eCommerce shop has this option due to large file size and it's FTP upload limitations...Such as the most powerful shopping cart ever build, called ASPDotNetstoreFront..., but $$$! I'm not sure. PrestaShop looks like you can only upload the file. I'm going to check on this right now, as it's really easy for me to do so.Nope. At least 1.1 doesn't let you do this.I will check with 1.2 and 1.3 within the next six months, though. Link to comment Share on other sites More sharing options...
BB-IT Solutions Ltd Posted August 22, 2010 Share Posted August 22, 2010 The htaccess file can be generated from within the admin control panel (furthest tab on the right) under the Generators section.Once the htaccess is created add the 4 lines as directed above and you should be fine,it worked for me and im running wamp. I also changed my php.ini to allow 100mb files as well, oh and don't forget if you change php.ini you need to restart apache so that it can load the php.ini into memory!Thanks to ladyrudi for the htaccess tip. Link to comment Share on other sites More sharing options...
Jennie Posted September 14, 2010 Share Posted September 14, 2010 The solution given to me for this by my hosting company was to create a new file and name it php.ini, place in it the following:upload_max_filesize = 20M ;post_max_size = 20M ;max_execution_time = 60 ;This changes to 20M or whatever you want to change it to. This saves having to directly access the php.ini file which I can't do anyway. If it times out can increase the execution time I think, I haven't yet tested the uploads yet (working towards it) but it is showing the correct file upload size now when I go to add a new downloadable product. I've only just starting setting up Prestacart for the first time so I'm still trying to establish what I can do with it, but wanted to be sure the upload thing wasn't going to be an unresolvable problem cos mine was only allowing 2M originally!I am hosting on a shared Linux server.Hope that helps someone! Link to comment Share on other sites More sharing options...
pow Posted March 15, 2011 Share Posted March 15, 2011 Puuh...I think i found out a solution (for everybody who got the same issue):Go to your Shopdirectory /download/open the .htaccesschange------------------------Order deny,allow Deny from all-----------------------to-----------------------#Order deny,allow #Deny from all----------------------- Link to comment Share on other sites More sharing options...
Recommended Posts