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
require_once 'jrs-rest-php-client/autoload.dist.php';
$client = new \Jaspersoft\Client\Client();
creates the situation where the value of $location variable in spl_autoload_register is /home/user/jrs-rest-php-client/src/Jaspersoft\Client\Client.php
the path is incorrect due to backslashes
it is now $location = JASPERCLIENT_ROOT . $class . '.php';
it should be $location = JASPERCLIENT_ROOT . str_replace('\\', '/', $class) . '.php';
The text was updated successfully, but these errors were encountered:
this code
creates the situation where the value of $location variable in spl_autoload_register is
/home/user/jrs-rest-php-client/src/Jaspersoft\Client\Client.php
the path is incorrect due to backslashes
it is now
$location = JASPERCLIENT_ROOT . $class . '.php';
it should be
$location = JASPERCLIENT_ROOT . str_replace('\\', '/', $class) . '.php';
The text was updated successfully, but these errors were encountered: