WordPress.org

Ready to get started?Download WordPress

Forums

SOAP Loaded On Server But Not In WordPress (3 posts)

  1. WebTechGlobal
    Member
    Posted 2 years ago #

    Hello

    So were clear that I know what I'm looking for here is a page with an image of phpinfo() showing SOAP...

    http://www.typogento.com/forum/tgb/posts/technical_issues/php_fatal_error_class_soapclient_not_found_triggered_by_typo3_be_content_element.html

    A standard PHP page on my server shows this but when I use phpinfo() inside the WordPress admin there is no soap.

    Does anyone have any ideas why?

    It causes Fatal error: Class 'SoapClient' not found in /home/sites/webtechglobal.co.uk/public_html/wordpress/plugins/...

  2. WebTechGlobal
    Member
    Posted 2 years ago #

    Here is the simple test...

    <?php
        $client = new SoapClient(null, array(
          'location' => "http://www.webtechglobal.co.uk/wordpress/plugins/wtgtemplateplugin/services/soap/testing/simple1_server.php",
          'uri'      => "http://www.webtechglobal.co.uk/wordpress/plugins/wtgtemplateplugin/services/soap/testing/simple1_req/"));
    
        $result = $client->
            __soapCall("echoo",array($echo));
    
        print $result;
    
    ?>
  3. WebTechGlobal
    Member
    Posted 2 years ago #

    Turned out to be caused by empty lines in htaccess or comments in htaccess!

    First line of the htaccess was quickly commented out while testing.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.