You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard installation does not work according to the instructions.
Error message occurs on a Linux with Apache2 and PHP 8.2
Fatal error: Uncaught Error: Class "Idoit\APIClient\API" not found in /var/www/test/idoit-api/api.php:12 Stack trace: #0 {main} thrown in /var/www/test/idoit-api/api.php on line 12
My Code
`use Idoit\APIClient\API;
use Idoit\APIClient\Idoit;
Hello everyone,
The standard installation does not work according to the instructions.
Error message occurs on a Linux with Apache2 and PHP 8.2
Fatal error: Uncaught Error: Class "Idoit\APIClient\API" not found in /var/www/test/idoit-api/api.php:12 Stack trace: #0 {main} thrown in /var/www/test/idoit-api/api.php on line 12
My Code
`use Idoit\APIClient\API;
use Idoit\APIClient\Idoit;
require_once 'vendor/autoload.php';
$api = new API([
API::URL => 'https://demo.i-doit.com/src/jsonrpc.php',
API::KEY => 'c1ia5q',
API::USERNAME => 'admin',
API::PASSWORD => 'admin'
]);
$request = new Idoit($api);
$info = $request->readVersion();
var_dump($info);`
My environment:
Debian 12, Apache 2.4.57-2 , PHP 8.2.7-1~deb12u1
The text was updated successfully, but these errors were encountered: