PHP Classes

Does not work

Recommend this page to a friend!

      Get IP by ISP  >  All threads  >  Does not work  >  (Un) Subscribe thread alerts  
Subject:Does not work
Summary:Errors: No such file vendor/autoload.php & Fatal error
Author:Rick Ruggiero
Date:2017-09-03 23:54:42


  1. Does not work   Reply   Report abuse  
Picture of Rick Ruggiero Rick Ruggiero - 2017-09-03 23:54:42
Execute the command as described in the documentation and the following errors occur

$ php getipbyisp.php --help

Warning: require_once(/Users/rick/Downloads/getipbyisp-2017-08-31/src/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 26

Fatal error: require_once(): Failed opening required '/Users/rick/Downloads/getipbyisp-2017-08-31/src/../vendor/autoload.php' (include_path='.:') in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 26

Create the directory and touch a autoload.php file to get a bit further only to get the following error:

$ php getipbyisp.php --help

Fatal error: Uncaught Error: Class 'Console_CommandLine' not found in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php:88
Stack trace:
#0 /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php(198): GetIpByIsp\GetIpCli->__construct()
#1 {main}
thrown in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 88

I would love to see how this works, maybe a bit of testing before re-release would be good though.



  2. Re: Does not work   Reply   Report abuse  
Picture of John John - 2017-09-04 18:08:37 - In reply to message 1 from Rick Ruggiero
Thanks. I will fix this.