Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Fix this PHP error, error is on newer versions from 5.3.29 >
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Fix this PHP error, error is on newer versions from 5.3.29 >

dedicadosdedicados Member
edited May 2015 in Help

Hello, im having some error when i use an updated PHP version, works ok with 5.3.29 but i get error on new versions

Warning: Creating default object from empty value in /home/domain/public_html/admin/nusoap/lib/nusoap.php on line 75

Error: wsdl error: XML error parsing WSDL from http://domain/apicont/server_login.php?wsdl&debug=1 on line 2: junk after document element

Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/admin/nusoap/lib/nusoap.php:75) in /home/domain/public_html/admin/phpscripts/authIndex.php on line 19

this error is when i try to enter to an area is protected with user/pass.

Comments

  • Is this a script one you made or generally available, what is on line 75 of the file in question?

  • script outdated?

  • @AshleyUk said:
    line 75 of the file in question?

    $GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel = 9;

    is a working self made portal, but yes is a little old.

  • century1stopcentury1stop Member
    edited May 2015

    I just googled, tons with this topic

    Faced this issue myself some time back, forgotten the solution.

    @dedicados by any chance you have mod_security on?

  • yes, is enabled.

  • century1stopcentury1stop Member
    edited May 2015

    ah just a second, I'll copy my file. See if it works.

    php.ini
    magic_quotes_gpc = Off;
    register_globals = Off;
    default_charset = UTF-8;
    memory_limit = 64M;
    max_execution_time = 18000;
    upload_max_filesize = 999M;
    safe_mode = Off;
    mysql.connect_timeout = 20;
    session.use_cookies = On;
    session.use_trans_sid = Off;
    session.gc_maxlifetime = 12000000;
    allow_url_fopen = on;
    ;display_errors = 1;
    ;error_reporting = E_ALL;
    
    (IfModule mod_security.c)
        # Turn off mod_security filtering.
        SecFilterEngine Off
    
        # The below probably isn't needed, but better safe than sorry.
        SecFilterScanPOST Off
    (/IfModule)

    The other PHP rules probably aren't needed for your application. Can't put in the code properly. You'll need to replace ( ) with < >.

  • dedicados said: Error: wsdl error: XML error parsing WSDL from http://domain/apicont/server_login.php?wsdl&debug=1 on line 2: junk after document element

    What is the exact output of that script?

    Please copy/paste to a paste site and include a hexdump of the output too.

    Its saying there is some junk in the document so it can't parse it.

  • @dedicados said:
    Hello, im having some error when i use an updated PHP version, works ok with 5.3.29 but i get error on new versions

    Warning: Creating default object from empty value in /home/domain/public_html/admin/nusoap/lib/nusoap.php on line 75

    The problem is BEFORE this warning. Something preiously fails and instead of an expected object, an empy one is passes, breaking the rest of the code. You'll have to debug the script to figure out where the problem is.

Sign In or Register to comment.