In suitecrm i can upload documents and files but as soon as you try to download these files again or view them, i get an internal server error. It did work before an update that was performed a while back.
Any suggestions on where to look in order to fix this?
Hey thanks for answering. I just recently got the responsibility for the SuiteCRM site we are using so im still very new to this.
I did run an update to the site through the upgrade wizard so it should be the newest version of Suite.
SuiteCRM Version 7.9.7
Sugar Version 6.5.25 (Build 344)
The error i am getting when trying to view a document is an HTTP ERROR 500.
I took a look in the log and it doesnt seem to show any errors in the log at the time im getting the error.
Im not quite sure about the PHP version. I did look in the php_version.php in the directory. And it just tells me this:
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
// The absolute minimum version on which to install SuiteCRM
define('SUITECRM_PHP_MIN_VERSION', '5.3.0');
// The minimum recommended version on which to install SuiteCRM
define('SUITECRM_PHP_REC_VERSION', '7.0.0');
The site is running on a windows server and it should have permission to the upload folder as it does insert files in the upload folder when you upload from SuiteCRM.
It’s better if you gather all that info and just start every thread by writing that:
OS
Web Server (is it IIS? Apache? XAMMP?)
PHP version (get that from your web server config, not from any SuiteCRM file). You also have a phpinfo you can ask from whithin SuiteCRM (Admin / Diagnostics)
Database
This really facilitates getting (appropriate) help.
Now, a 500 error is your Web server getting a fatal error. It will tell you why in its logs. Search Google to know where to find them, for your case.