[opensuse] Fwd: Re: Avantfax 3.3.3 Stopped Working? require_once(): Failed opening required 'NULL.php' line 22 classes.php
Guys, If you use the Avantfax fax server, you will have problems with the recent versions of PHP. The follow is the fix implemented by the Avantfax developer which you will need to incorporate until a new version of Avantfax is released: -------- Original Message -------- Subject: Re: Avantfax 3.3.3 Stopped Working? require_once(): Failed opening required 'NULL.php' line 22 classes.php Date: Wed, 23 Nov 2011 21:36:59 +0100 From: David Mimms To: David C.Rankin J.D.P.E. Hi David, It's an issue with PHP 5.3. I logged in and changed the following in includes/classes.php: function __autoload($class_name) { if (file_exists($class_name.'.php')) // <------ require_once $class_name.'.php'; } And added " & ~E_DEPRECATED" to the error_reporting function in config.php to stopped all of the warnings about deprecated code from appearing. I need to get a new release out for all of the new PHP 5.3 users! Please let me know if you have any other problems. Thanks! David -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 26/11/11 11:32, David C. Rankin wrote:
Guys,
If you use the Avantfax fax server, you will have problems with the recent versions of PHP. The follow is the fix implemented by the Avantfax developer which you will need to incorporate until a new version of Avantfax is released:
This is a bug in the application, also.. use is_file() instead of file_exists()... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
David C. Rankin