[arch-general] Fwd: Re: Avantfax 3.3.3 Stopped Working? require_once(): Failed opening required 'NULL.php' line 22 classes.php

David C. Rankin drankinatty at suddenlinkmail.com
Sat Nov 26 09:30:45 EST 2011


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.


More information about the arch-general mailing list