(SOLVED) HELP! with product modules, can't upload file

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

(SOLVED) HELP! with product modules, can't upload file

Post by tonyg »

Hi,
  I am on cmsms 1.5.2 and product 2.2 .  I have create a custom field for pdf file.  I have had no problem in the past upload files.  I just tried to upload today and I get this error message

Code: Select all

Field DataSheet: Attempting to move the uploaded file to its final destination failed
I recently went from cmsms 1.5.1 to 1.5.2 but I can remember if this is the first time since I have tried this......is this a 1.5.2 issue?
Last edited by tonyg on Tue Feb 03, 2009 4:05 pm, edited 1 time in total.
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

Re: HELP! with product modules, can't upload file

Post by tonyg »

ok, i am starting to think this is not a Product issue, i just tried to upload in file manager and go the following message:

Code: Select all

FEI Core Competencies.pdf failed to upload successfully
is it possible there is an updload issue with 1.5.2?  i am on windows 2003 with apache 2.2.6
Cyruse
New Member
New Member
Posts: 4
Joined: Thu Oct 12, 2006 8:16 pm

Re: HELP! with product modules, can't upload file

Post by Cyruse »

I would start with the basics and make sure that the webserver has permissions to the uploads folder.
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

Re: HELP! with product modules, can't upload file

Post by tonyg »

thanks for the reply..i am going to do that now, but i have been uploading all along with no issues.  and the permissions issue is not quite the same when you are on windows (as opposed to linux)
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

Re: HELP! with product modules, can't upload file

Post by tonyg »

Ok,
  here is the solution.  The problem had nothing to do with the product module.  It had to do with the upload size limits in both php and cmsms.  There is an upload size limit in php.ini (upload_max_filesize)  there is also the cmsms parm (Max Upload Size).  I had these both set to 2m and i tried to upload a 3m file. (kind of dumb!)
  The reason this is not obvious is that when the php var is <= cmsms var, then the error message does NOT tell you why it failed.  It give the vague messages above.  Only when the cmsms var is < the php var, THEN you get a message that says you cannot upload because the file is too big.

I don't know much, but it seems like there really should only be one var (PHP) and the message when PHP reaches its limit should be shown to the user.

thanks all
Post Reply

Return to “Modules/Add-Ons”