Page 1 of 1

Fatal error: on testing installation

Posted: 27 Aug 2011, 18:16
by mukesh
When i do the first time install, i do get a following error:
Test Results
Fatal error: Non-static method SoapClient::__soapCall() cannot be called statically in /home/acmesysc/public_html/cats/lib/InstallationTests.php on line 316

How do I proceed from here to remove this error.
The installation is on a unix host

Re: Fatal error: on testing installation

Posted: 31 Aug 2011, 22:16
by RussH
Hiya, soap not an issue, as it was only used for resume parsing.. As the original developers removed this feature you can happily run without soap.

Note - resume's can still be imported and boolean searched, just not automagically parsed and turned into candidates.

Re: Fatal error: on testing installation

Posted: 01 Jan 2013, 08:41
by james103
Fatal error: Non-static method SoapClient::__soapCall() cannot be called statically in /home/acmesysc/public_html/cats/lib/InstallationTests.php on line 316

Re: Fatal error: on testing installation

Posted: 06 Jan 2013, 13:34
by RussH
soap errors can be ignored - it relates to functionality for off-site resume parsing which is no longer available in the open source version.
..see http://subversion.assembla.com/svn/open ... nTests.php
'CATS Open Source will function without SOAP, but 'CATS Professional functionality will not be supported
If you want to suppress them then either amend the installation check or change your Error reporting in php.ini to E_All instead of E_Strict
php.ini
error_reporting = E_ALL | E_STRICT
Code: Select all
    /* Check for SOAP support. */
    public static function checkSOAPExtension()
    {
        /* Is the SOAP extension loaded?. */
        if (!self::DEBUG_FAIL && extension_loaded('soap') && class_exists('SoapClient') &&
            (is_callable(array('SoapClient', '__soapCall'), false) ||
            is_callable(array('SoapClient', '__call'), false)))
        {
            echo '<tr class="pass"><td>PHP SOAP extension (soap) is loaded.</td></tr>';
            return true;
        }

        echo '<tr class="warning"><td><strong>PHP SOAP extension (soap) is not loaded.</strong><br />'
            . 'Check your settings in php.ini.<br /><br />'
            . 'CATS Open Source will function without SOAP, but '
            . 'CATS Professional functionality will not be supported.<br /><br />'
            . 'Under certain Linux / BSD distributions, the PHP SOAP extension is a separate package.<br /><br />'
            . '<strong>Ubuntu:</strong> Run "apt-get install php-soap" and restart your webserver.<br /><br />'
            . '<strong>Debian:</strong> Run "apt-get install php5-soap" and restart your webserver.<br /><br />'
            . '<strong>FreeBSD:</strong> Install the php5-soap port, or configure SOAP support in the php-extensions port and restart your webserver.'
            . '</td></tr>';
        $GLOBALS['warningsOccurred'] = true;
        return true;
    }