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.
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 >
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?
$GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel = 9;
is a working self made portal, but yes is a little old.
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.
ah just a second, I'll copy my file. See if it works.
The other PHP rules probably aren't needed for your application. Can't put in the code properly. You'll need to replace ( ) with < >.
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.
Mark
http://pastebin.com/Cuy2iHpK
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.