sapplica / sentrifugo

Sentrifugo is a FREE and powerful Human Resource Management System (HRMS) that can be easily configured to meet your organizational needs.
http://www.sentrifugo.com/
GNU General Public License v3.0
484 stars 426 forks source link

Deprecated: Function get_magic_quotes_runtime() line 2408 #349

Open lowoption opened 3 years ago

lowoption commented 3 years ago

Dear Developer, I have correctly fulfill required data, but in the final stage verification got error statement mention below: Deprecated: Function get_magic_quotes_runtime() is deprecated in /install/PHPMailer/class.phpmailer.php on line 2408

Deprecated: Function get_magic_quotes_runtime() is deprecated in /install/PHPMailer/class.phpmailer.php on line 2408

I am using Centos 7, and PHP 7.4 and MySQL Database Please enlight me for the solution of this issue. Many thanks.

Lowoption Sentrifugo error-in final process

RexRadar commented 3 years ago

I am also having this same issue.

If line 2804 is enabled, then there is an error about an unexpected "=" that shows, with the following text:

Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\Sentrifugo\install\PHPMailer\class.phpmailer.php on line 2408

Since that statement looks complete I'm not sure what to do. I am using Xampp with a 7 series PHP as well. This is necessary for my set up to run some of my other software.

akinto2006 commented 3 years ago

The solution is found here: https://www.techrepublic.com/article/how-to-install-sentrifugo-hrm-on-ubuntu-server-18-04/

Basically tells you to edit function function __autoload($classname) with function spl_autoload_register()

There are 2 instances of PHPMailerAutoload.php. 1 is in install/PHPMailer/ and the other in application/modules/default/library/PHPMailer. You need to change both of them.