sstarr01 1 Posted April 16, 2018 Report Share Posted April 16, 2018 Hi Everyone, Can you let me know what PHP modules are required to install/run X2CRM? and what php.ini settings are required? Installation reports no errors (I am using the Softaculous script) - When Try to access the home page, post installation, i get a HTTP 500 Error. I have tried this on two separate hosting accounts (on the same WHM server) and both fail..... I have also tried the installation on a third hosting account on a different WHM server and that works fine.... The only thing I can think of is that the two platforms may have different PHP Modules enabled and different php.ini settings. Both platforms are running with PHP 7.0 installed and I have given both 2048MB max memory and 1024MB post/upload size etc. I enabled the php debug in the failing hosts and get the following output if that helps. Thanks,Steve. Fatal error: Uncaught Error: Call to a member function getId() on null in /home/comslincrm/public_html/protected/models/Profile.php:687 Stack trace: #0 /home/comslincrm/public_html/protected/controllers/x2base.php(576): Profile::getWidgets() #1 /home/comslincrm/public_html/framework/web/filters/CInlineFilter.php(58): x2base->filterSetPortlets(Object(CFilterChain)) #2 /home/comslincrm/public_html/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain)) #3 /home/comslincrm/public_html/framework/web/filters/CFilter.php(40): CFilterChain->run() #4 /home/comslincrm/public_html/framework/web/filters/CFilterChain.php(130): CFilter->filter(Object(CFilterChain)) #5 /home/comslincrm/public_html/framework/web/filters/CFilter.php(40): CFilterChain->run() #6 /home/comslincrm/public_html/framework/web/filters/CFilterChain.php(130): CFilter->filter(Object(CFilterChain)) #7 /home/comslincrm/public_html/framework/web/CController.php(291): CFilterChain->run() #8 /home/comslincrm/public_html/framework/web/CCo in /home/comslincrm/public_html/protected/models/Profile.php on line 687 Quote Link to post Share on other sites
alt_f4 57 Posted April 16, 2018 Report Share Posted April 16, 2018 Hi Steve I´m also on PHP 7.0 - without any problem. May you want try to increase the MAX INPUT VARIABLES (I´ve choosen 5000) and adjust MAX INPUT TIME to a higher amount? Quote Link to post Share on other sites
sstarr01 1 Posted April 16, 2018 Author Report Share Posted April 16, 2018 Hi Alt_F4, Thanks for the input, I have added the contents of my php.ini file below. I changed the max_input_vars to 5,000 bu the same issue exists. When I open the web page, the browser waits (spinning loading icon) for about 5 seconds then displays the HTTP 500 error php.ini contentsdisplay_errors = Onmax_execution_time = 3000max_input_time = 6000max_input_vars = 5000memory_limit = 2048Mpost_max_size = 1024Msession.gc_maxlifetime = 1440session.save_path = "/var/cpanel/php/sessions/ea-php70"upload_max_filesize = 1024Mzlib.output_compression = Off Quote Link to post Share on other sites
sstarr01 1 Posted April 16, 2018 Author Report Share Posted April 16, 2018 Hi Everyone, I have solved the issue, so sharing the solution...... I had to modify the php.ini file for the WHM server that the cPanel host sits on. In the php.ini file I had, at line 305, the following:disable_functions = "show_source, system, shell_exec, passthru, phpinfo, popen, proc_open, ini_set" I removed the "ini_set" from the disable functions line:disable_functions = "show_source, system, shell_exec, passthru, phpinfo, popen, proc_open" Now both the failing installation show the login screen. Thanks,Steve. 1 Quote Link to post Share on other sites
joeldeteves 1 Posted June 17, 2018 Report Share Posted June 17, 2018 Here's what I needed to get it working on PHP 7:ssh2-1.1.2 (via pecl)imap (w/ kerberos + ssl)mbstringzipgdmcryptmysqlipdo_mysql Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.