Hej,

 

Mam problem z tym skryptem. Wpisalem login, hasło i id w plik, zmieniłem tez sciezke platformy i po uruchomieniu dostaje takie info:

 

2016-01-28 13:45:39 lms-cashimport-bgz.php START

PHP Notice:  Trying to get property of non-object in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 150

PHP Notice:  Trying to get property of non-object in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 150

PHP Notice:  Trying to get property of non-object in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 150

PHP Notice:  Trying to get property of non-object in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 156

Dodaje plik  do bazy.

PHP Notice:  Trying to get property of non-object in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 158

PHP Fatal error:  Uncaught SoapFault exception: [soap:Server] Brak uprawnień lub brak pliku o id: [null] in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php:158

Stack trace:

#0 /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php(158): SoapClient->__call('getDocument', Array)

#1 /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php(158): My_SoapClient->getDocument(Array)

#2 {main}

  thrown in /var/www/lms/contrib/bin/lms-cashimport-bgz-soap.php on line 158

 

oczywiście nic nie importuje…

Zna ktoś rozwiązanie ?

 

Pozdrawiam

Dominik Rosiak