Problems uploading files in Documents module

Hi all,
I have installed SuiteCRM Version 7.11.12 Sugar Version 6.5.25 (Build 344) working since 2 years ago. Some weeks ago we can’t upload files in Documents module, getting the message:

This document is missing a file, most likely due to an error during upload. Please retry uploading the file or contact your administrator.

Item was created but without uploaded file. We checked if there is a problem with file size and everything looks OK in php.ini.
Do you have any idea?
Thanks
Best regards

Hi @mquelalmera,

In order to successfully upload large files, I believe these parameters needs to increase

In php.ini

  • max_execution_time
  • post_maxsize
  • upload_max_filesize

And in config_override.php

  • upload_maxsize

Also, upload folder permission will need to be raised at 755 or 775.

2 Likes

Hi aashnakhanna,
Thanks for your answer. We have this issue trying to upload any file, small or large, we used to upload files two weeks ago without problems, anyway we did changes that you suggested and we hace the same error.
attached you will find our php.ini file
php.zip (23.9 KB)

Thanks,
Best Regards

Which type of document are you uploading ?

Hi,
It’s just a .txt document, I was trying with .csv and .pdf too with same results
Regards

I’m not facing this kind of problem for the file type which you mentioned.
Is it possible for you to share your SuiteCRM Credentials and Server Details where you hosted your SuiteCRM to review your problem?

Do upload test document and checkout your apache log By that you can identify the issue is of some settings of permission or your upload directory.

Hi @mquelalmera

There seems to be a problem with your temporary directory of the server.

upload_temp_dir=”C:\xampp\tmp

Either the directory has been deleted somehow because you mention documents were uploading 2 weeks ago or there has been some issue regarding directory permissions.

For proper functioning of the temporary directory, it should have permission to at least:

(i) Read (400)
(ii) Write (200)

For further assistance, you can contact OutRight Store

2 Likes

Please do not request credentials. 99%+ of issues can be resolved without direct access to the system it just requires more details as to the environment. Though it may make the job more simple it’s not the optimal solution.

@mquelalmera Please ensure you never share your credentials with anyone (Uncontracted etc). Someone with access to even the lowest level of authentication puts your system at greater risk.

1 Like