gzunzip error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
raindance
Forum Newbie
Posts: 7
Joined: Sun Dec 14, 2008 9:54 am

gzunzip error

Post by raindance »

Hi
I've got a problem on my site where I'm getting this error on every page when it tries to connect to our third party partner:
Error: wsdl error: Getting http://tripauthority.com/hotel.asmx?WSDL - HTTP ERROR: Error using gzinflate to un-gzip the payload
Webservice Error:wsdl error: Getting http://tripauthority.com/hotel.asmx?WSDL - HTTP ERROR: Error using gzinflate to un-gzip the payload

We just had to build a new server and move everything over which caused all kinds of problems, this being just one, because my old server was compromised at the root level by an injection script (imgaaa.net drama) which I'd read tried to use gzunzip to do bad things. So it's a little scary to be seeing this but my hosting company says this does not look related to the previous compromise.

We didn't have this error on the old server. So I don't know if this is a server setting issue? I didn't set up the last server. Or a permissions issue? Or a NuSoap or Apache compilation/installation issue? It's causing other things to not work on the site, namely the Juicy Details arrow usually opens and closes with JSQuery but is not working. And of course it's not connecting to the third party API we use for rates and booking.

I am not a sophisticated PHP dev or server administrator...but both my programmer and hosting company say they have no idea what the problem is or how to fix it.

The error logs look like:
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:                if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:                $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:                $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:                $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            $this->setError('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/nusoap.php:            } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_server.php:        } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:                $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:                $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:                $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            $this->setError('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/nusoap.php:            } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_server.php:    } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                    // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                    $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                        if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                                if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                            $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                        if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                                if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/lib/class.soap_transport_http.php:                            $this->setError('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:                if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:                            $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib1/class.soap_transport_http.php:    $this->setError('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:                if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:                $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:                $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:                $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            $this->setError('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib/nusoap.php:            } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_server.php:        } elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:   if(function_exists('gzinflate')){
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    // IIS 5 requires gzinflate instead of gzuncompress (similar to IE 5 and gzdeflate v. gzcompress)
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    $this->debug('The gzinflate function exists');
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    if ($degzdata = @gzinflate($data)) {
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:                            $this->setError('Error using gzinflate to inflate the payload');
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    if ($degzdata = @gzinflate(substr($data, 10))) {    // do our best
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    if ($degzdata = @gzinflate(substr($data, 10))) {
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:                            $this->debug('Error using gzinflate to un-gzip the payload');
/home/juicyhot/public_html/includes/nusoap/lib/class.soap_transport_http.php:    $this->setError('Error using gzinflate to un-gzip the payload');

Any help much appreciated to get this working right again as it was before on the previous server.

Thanks so much
raindance
Forum Newbie
Posts: 7
Joined: Sun Dec 14, 2008 9:54 am

Re: gzunzip error

Post by raindance »

Also this is the message I got back from the hosting company about it when they briefly looked at it:
You can run 'php -i | grep Configure' on your server to see that PHP has
> been compiled with zlib. The error logs do not contain any further
> information about why the script is outputting the debuggining error from
> the nusoap.php file. Also, NuSOAP is a toolkit which your developers/admins
> would have configured on the server. Your admins are responsible for any
> reconfiguring any settings to the new server that were applied to the old
> compromised server.

I have no idea what to do with this info.

Thanks again in advance for any direction.
raindance
Forum Newbie
Posts: 7
Joined: Sun Dec 14, 2008 9:54 am

Re: gzunzip error

Post by raindance »

Also the server company created this test...
http://www.juicyhotels.com/hdctest3.php
Can anyone direct me to some possible solutions?
Post Reply