Ask Your Question

Revision history [back]

connection error using PHP

I have been running the PHP code for over a year with no problems - Howerver i am now getting server connection errors at different points. The error occurs while downloading data or pictures -

Error has been occuring for over 24 hours

$config = new \PHRETS\Configuration;

$config->setLoginUrl(''); $config->setUsername('etoutaro1'); $config->setPassword('##########');


I am using the latest PHP code.

here is the error

Fatal error: Uncaught exception 'PHRETS\Exceptions\RETSException' with message 'miscellaneous server error.' in D:\xampp\htdocs\jsapp-rets-code\vendor\troydavisson\phrets\src\Session.php:379

Stack trace:

0 D:\xampp\htdocs\jsapp-rets-code\vendor\troydavisson\phrets\src\Session.php(93): PHRETS\Session->request('Login')

1 D:\xampp\htdocs\jsapp-rets-code\ PHRETS\Session->Login()

2 {main}

thrown in D:\xampp\htdocs\jsapp-rets-code\vendor\troydavisson\phrets\src\Session.php on line 379