Jump to content

Downloadable Products - ERROR


Recommended Posts

Dear All,

I am new to prestashop but impressed thus far...However...

I am trying to add a downloadable product via upload on add production screen.

My server is fine as MAX upload is 100MB, but when I try to add a file of just 9MB, the screen refreshes with no file uploaded or no error message.

Was wondering what may be the problem as files smaller of about 1mb in size upload fine!

Many thanks

Andy

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

This problem with hosting provider.

I have the same problem on VPS server, later i asked hosting provider to check the things.

Even the server shows as max file upload size limit 100MB, but while uploading the file from prestashop, it shows the error

Send your login credentials to your hosting provider and ask him to upload a file in prestashop admin.

They will find the issue and resolve it.

Link to comment
Share on other sites

thanks but my provider probably will not upload a file in prestashop admin.
They will just tell me that prestashop is not software that they support...
What I need is a list of potential sources for this problem so that I can trouble shoot it.
I can upload images fine.
So how is it I cannot upload products...anyone?

Link to comment
Share on other sites

There are a couple of things to look out for.

To see the values of these variables, create a file called phpinfo.php on you server as such and run it from your browser

<?
phpinfo();
?>



1) php variable upload_max_filesize - this is what tells php how big of a file to upload, you can change this in your php.ini file on your host.

2) php variable max_execution_time - this is what tell php how long a script can take to finish before it is killed.

Most likely the max_execution_time is set to 60, which means that unless the upload is done within 60 seconds, it will be killed.

You can change this value to something higher in your php.ini file too, but if you want the changes to only affect the file upload, than you can add a php function that will set the higher max_execution_time only for that page / process.

The command for that is set_time_limit(), and you want to add that at the top of the php file that handles the file upload (/product.php).

This should take care of your problem.

Link to comment
Share on other sites

thanks for the tip, but that's not my problem...originally I thought it was too...
for whatever reason every other upload form works but this one.
I can upload images no problem but if I try to upload an image with this form no luck
kind of got me stumped.

Link to comment
Share on other sites

sorry about the delay I sepnt my weekend away from my computer...
I will set up an account for you on my server and send you a link sometime later today, with all the info...
so expect a pm from me.
thanks.

Link to comment
Share on other sites

  • 1 year later...

hey guys

any resolution to this problem? currently im using prestashop 1.4, incresed thhe file size in the BO and on the PHP.INI and the memory limits.

and i still get -----> This product is missing

the file is only 5mb...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...