1
kuzen
Weird things on XOOGLE
  • 2004/8/14 9:15

  • kuzen

  • Just popping in

  • Posts: 4

  • Since: 2002/7/2 2


Hi everybody,

I am using fresh installed XOOPS 2.07.
I installed xoogle 0.73 entered proper google api key.

when I'm trying to search, weird characters (I know, php & smarty code) appearing at top of my page.

Quote:
about to create soap_parser instance'); $parser = new soap_parser($data,$this->xml_encoding,$this->operation); // if parse errors if($errstr = $parser->getError()){ $this->setError( $errstr); // destroy the parser object unset($parser); return false; } else { // get SOAP headers $this->responseHeaders = $parser->getHeaders(); // get decoded message $return = $parser->get_response(); // add parser debug data to our debug $this->debug($parser->debug_str); // add document for doclit support $this->document = $parser->document; // destroy the parser object unset($parser); // return decode message return $return; } } /** * set the SOAP headers * * @param $headers string XML * @access public */ function setHeaders($headers){ $this->requestHeaders = $headers; } /** * get the response headers * * @return mixed object SOAPx4 soapval object or empty if no headers * @access public */ function getHeaders(){ if($this->responseHeaders != '') { return $this->responseHeaders; } } /** * set proxy info here * * @param string $proxyhost * @param string $proxyport * @access public */ function setHTTPProxy($proxyhost, $proxyport) { $this->proxyhost = $proxyhost; $this->proxyport = $proxyport; } /** * if authenticating, set user credentials here * * @param string $username * @param string $password * @access public */ function setCredentials($username, $password) { $this->username = $username; $this->password = $password; } /** * use HTTP encoding * * @param string $enc * @access public */ function setHTTPEncoding($enc='gzip, deflate'){ $this->http_encoding = $enc; } /** * use HTTP persistent connections if possible * * @access public */ function useHTTPPersistentConnection(){ $this->persistentConnection = true; } /** * gets the default RPC parameter setting. * If true, default is that call params are like RPC even for document style. * Each call() can override this value. * * @access public */ function getDefaultRpcParams() { return $this->defaultRpcParams; } /** * sets the default RPC parameter setting. * If true, default is that call params are like RPC even for document style * Each call() can override this value. * * @param boolean $rpcParams * @access public */ function setDefaultRpcParams($rpcParams) { $this->defaultRpcParams = $rpcParams; } /** * dynamically creates proxy class, allowing user to directly call methods from wsdl * * @return object soap_proxy object * @access public */ function getProxy(){ $evalStr = ''; foreach($this->operations as $operation => $opData){ if($operation != ''){ // create param string $paramStr = ''; if(sizeof($opData['input']['parts']) > 0){ foreach($opData['input']['parts'] as $name => $type){ $paramStr .= "\$$name,"; } $paramStr = substr($paramStr,0,strlen($paramStr)-1); } $opData['namespace'] = !isset($opData['namespace']) ? 'http://testuri.com' : $opData['namespace']; $evalStr .= "function $operation ($paramStr){ // load params into array \$params = array($paramStr); return \$this->call('$operation',\$params,'".$opData['namespace']."','".$opData['soapAction']."'); }"; unset($paramStr); } } $r = rand(); $evalStr = 'class soap_proxy_'.$r.' extends soapclient { '.$evalStr.' }'; //print "proxy class:


I checked the html code and I saw php code, it comes from class/nusoap.php line 3941 to end.

Weird

Do you have any idea?

For test :
http://www.fetchat.com/modules/xoogle/index.php?query=fethiye

2
kuzen
Re: Weird things on XOOGLE
  • 2004/8/16 7:26

  • kuzen

  • Just popping in

  • Posts: 4

  • Since: 2002/7/2 2


Sorry,
I removed the xoogle module from my site.


Now, you can see error message.

I do some search and this script is in nusoap.php file.
I downloaded and installed new version of nusoap class from http://dietrich.ganx4.com/nusoap/index.php

but, same thing still happening. and also sometimes I see 0 search results for google
I tried to search "xoops" with xoogle in my site, xoogle says 0 web site found...

Many thanks

3
YourHelp
Re: Weird things on XOOGLE
  • 2004/8/16 9:17

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Is the module available for download?

4
kuzen
Re: Weird things on XOOGLE
  • 2004/8/16 9:32

  • kuzen

  • Just popping in

  • Posts: 4

  • Since: 2002/7/2 2


Of course

Here : xoogle

Best Regards

Login

Who's Online

177 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits