Http 500 error

I am using suitecrm 7.9.1 . new to crm world.

I am getting http 500 error whenever i submit a form . This error occurs only with the form that create s a lead , a contact , a oppurtunity , a target, a campaign or anything. Other forms are working fine.

This error happens only on live server . In my local server its working fine .

Any suggestions …?

Try this

Set the following permissions on the SuiteCRM directory(Linux):

sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php 

https://suitecrm.com/wiki/index.php/Installation

Regards,
Julien

Thank you for your reply . I worked with your solution and updated the permissions but still facing the same issue :frowning: .

It is also inserting the record to database , but after that its not loading the respective view file instead giving http 500 .

Is there any other way to deal with it .

Or is there any issue with htaccess file . below is the htaccess code.

Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA] RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA] Header set ETag "" Header set Cache-Control "max-age=2592000" Header set Expires "01 Jan 2112 00:00:00 GMT" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/png "access plus 1 month"

BEGIN SUGARCRM RESTRICTIONS

RedirectMatch 403 ..log$
RedirectMatch 403 /+not_imported_.
.txt
RedirectMatch 403 /+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*.(php|tpl)
RedirectMatch 403 /+emailmandelivery.php
RedirectMatch 403 /+upload
RedirectMatch 403 /+custom/+blowfish
RedirectMatch 403 /+cache/+diagnostic
RedirectMatch 403 /+files.md5$

END SUGARCRM RESTRICTIONS

Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA] RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA] Header set ETag "" Header set Cache-Control "max-age=2592000" Header set Expires "01 Jan 2112 00:00:00 GMT" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/png "access plus 1 month"

php – BEGIN cPanel-generated handler, do not edit

NOTE this account’s php is controlled via FPM and the vhost, this is a place holder.

Do not edit. This next line is to support the cPanel php wrapper (php_cli).

AddType application/x-httpd-ea-php70 .php .phtml

php – END cPanel-generated handler, do not edit

Any success on this issue? thanks

Topic merged to: https://suitecrm.com/suitecrm/forum/installation-upgrade-help/17674-php-fastcgi-crash

backup original file and try to remove everything before

BEGIN SUGARCRM RESTRICTIONS

there is two time in .htaccess