Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php]PHPgoogleSearch
Mike122
post
Post #1





Grupa: Zarejestrowani
Postów: 253
Pomógł: 1
Dołączył: 12.04.2006

Ostrzeżenie: (0%)
-----


Witam, posiadam skrypt PHPgoogleSearch konfiguracja jest zrobiona prawdopodobnie poprawnie posiadam także GOOGLE API KEY LICENSE lecz wyświetla się następujący błąd:
Fatal error: Method SOAP_Client::__call() must take exactly 2 arguments in \httpd-users\httpd\srv\PHPgoogleSearch\SOAP\Client.php on line 335
W linji 335 znajduje się znak: }
Serwer posiada PHP5

Co robić? Prosze o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
hwao
post
Post #2


Developer


Grupa: Moderatorzy
Postów: 2 844
Pomógł: 20
Dołączył: 25.11.2003
Skąd: Olkusz




Zrób poprostu tak
  1. <?php
  2. function __call($method, $args)
  3. {
  4. if ($this->wsdl) $this->wsdl->matchMethod($method);
  5. $return_value = $this->call($method, $args);
  6. return TRUE;
  7. }
  8.  
  9. }
  10. ?>

Powinno działać
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 13.10.2025 - 23:54