Results 1 to 10 of 10

Thread: SOAP Extension enabled, but not working?

  1. #1
    User
    Join Date
    06-20-10.
    Posts
    64

    Default SOAP Extension enabled, but not working?

    Hi all,

    We have a linux webspace for our website.

    In Contao 2.8.3 when I click on:

    Extension catalog
    or
    Extension manager

    I see the following message:

    SOAP extension not loaded (configure PHP with --enable-soap).
    I checked the php.ini file, which resides in the folder /etc, and it appears to be enabled?:

    Code:
    [soap]
    ; Enables or disables WSDL caching feature.
    soap.wsdl_cache_enabled=1
    ; Sets the directory name where SOAP extension will put cache files.
    soap.wsdl_cache_dir="/tmp"
    ; (time to live) Sets the number of second while cached file will be used 
    ; instead of original one.
    soap.wsdl_cache_ttl=86400
    
    ; Local Variables:
    ; tab-width: 4
    ; End:
    ; Extension for PDFLib 6.0.4
    extension=libpdf_php.so
    Any idea why Contao is unable to use the SOAP extension?

    Thanks.

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: SOAP Extension enabled, but not working?

    Hi partisanentity,

    what says the "phpinfo()" function? Can you see there an enabled SOAP extension?
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    06-20-10.
    Posts
    64

    Default Re: SOAP Extension enabled, but not working?

    According to php.info:

    Under Configure Command:

    '--enable-soap=shared'

  4. #4
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: SOAP Extension enabled, but not working?

    What about furthur down the page, in the soap block?
    Something like...
    soap
    Soap Client enabled
    Soap Server enabled

    Directive Local Value Master Value
    soap.wsdl_cache 1 1
    soap.wsdl_cache_dir /tmp /tmp
    soap.wsdl_cache_enabled 1 1
    soap.wsdl_cache_limit 5 5
    soap.wsdl_cache_ttl 86400 86400

  5. #5
    User
    Join Date
    06-20-10.
    Posts
    64

    Default Re: SOAP Extension enabled, but not working?

    Hmm I dont have a SOAP block in phpinfo?

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: SOAP Extension enabled, but not working?

    Quote Originally Posted by partisanentity
    Hmm I dont have a SOAP block in phpinfo?
    So, I guess, the SOAP extension is not enabled (or not enabled correctly)
    Contao Community Moderator
    → Support options

  7. #7
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: SOAP Extension enabled, but not working?

    You can install extensions that replace soap for the extension repository. There was a recent topic about it. One extension was called nusoap and the other I have forgotten...

    http://www.contao.org/extension-list/view/nusoap.html

  8. #8
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: SOAP Extension enabled, but not working?

    The other one is "tensiderepository". Actually NOT compatible with minor version 2.9!
    Contao Community Moderator
    → Support options

  9. #9
    User
    Join Date
    06-20-10.
    Posts
    64

    Default Re: SOAP Extension enabled, but not working?

    What would you recommend I do, contact the webhost to ask about the soap extension or install an extension that replaces soap repository extension?

  10. #10
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: SOAP Extension enabled, but not working?

    Personally I'd contact my webhost.
    I notice in my php.ini that there are no quotes around the temp directory.
    [soap]
    soap.wsdl_cache_enabled = 1
    soap.wsdl_cache_dir = /tmp
    soap.wsdl_cache_ttl = 86400

    Also, is ; a valid character to comment out a line?
    And does the Contao system check tool show all correct permissions and uncorrupted files (green) on your install?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •