Upload zip files to Documents, missing file error. #3007

Closed
opened 2026-02-20 15:59:36 -05:00 by deekerman · 1 comment
Owner

Originally created by @imoldovavan on GitHub (Apr 20, 2018).

I am new to suiteCRM and wanted to give it a test drive. I installed in XAMPP on a win 7 machine a couple of days ago.
Everything seems to work correctly with the exception of uploading zip files. I am able to upload pdf, doc and pictures, but not zip.

I get this error after hitting the SAVE button:
"This document is missing a file, most likely due to an error during upload. Please retry uploading the file or contact your administrator."

The Apache error log shows this:
[Fri Apr 20 13:55:20.675838 2018] [:error] [pid 6660:tid 1672] [client ::1:51299] PHP Warning: rename(upload/a388e5c9-f202-0d59-823f-5ada29c970de,upload/a4ffe7c3-d831-fa1a-e652-5ada2922a847): The system cannot find the file specified. (code: 2) in C:\Users\moljoh\xampp\htdocs\suitecrm\include\UploadStream.php on line 214, referer: http://localhost/suitecrm/index.php?module=Documents&action=EditView&return_module=Documents&return_action=DetailView

There are also error when the uploading works. I can post them also.

Thank you,

Originally created by @imoldovavan on GitHub (Apr 20, 2018). I am new to suiteCRM and wanted to give it a test drive. I installed in XAMPP on a win 7 machine a couple of days ago. Everything seems to work correctly with the exception of uploading zip files. I am able to upload pdf, doc and pictures, but not zip. I get this error after hitting the SAVE button: "This document is missing a file, most likely due to an error during upload. Please retry uploading the file or contact your administrator." The Apache error log shows this: [Fri Apr 20 13:55:20.675838 2018] [:error] [pid 6660:tid 1672] [client ::1:51299] PHP Warning: rename(upload/a388e5c9-f202-0d59-823f-5ada29c970de,upload/a4ffe7c3-d831-fa1a-e652-5ada2922a847): The system cannot find the file specified. (code: 2) in C:\\Users\\moljoh\\xampp\\htdocs\\suitecrm\\include\\UploadStream.php on line 214, referer: http://localhost/suitecrm/index.php?module=Documents&action=EditView&return_module=Documents&return_action=DetailView There are also error when the uploading works. I can post them also. Thank you,
Author
Owner

@imoldovavan commented on GitHub (Apr 23, 2018):

Fixed, rookie mistake. Make sure you have the right settings in php.ini

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
@imoldovavan commented on GitHub (Apr 23, 2018): Fixed, rookie mistake. Make sure you have the right settings in php.ini ``` ; Maximum allowed size for uploaded files. upload_max_filesize = 40M ; Must be greater than or equal to upload_max_filesize post_max_size = 40M ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#3007
No description provided.