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 last few days, I tried using your awesome Restler Tool to display some self-made requests. I followed the instructions from GitHub while installing. For a long time, either a white screen only or an empty explorer was shown. Today I found that with the latest release there was some code missing in the restler.php file:
...if (is_readable(__DIR__ . '/vendor/autoload.php')) { //if composer auto loader is found use it require __DIR__ . '/vendor/autoload.php'; class_alias('Luracast\\Restler\\Restler', 'Restler'); } else {...
After I added these commands back in, it turned out working for me:
...if (is_readable(__DIR__ . '/vendor/autoload.php')) { //if composer auto loader is found use it + $loader = require __DIR__ . '/vendor/autoload.php'; + $loader->setUseIncludePath(true); - // require __DIR__ . '/vendor/autoload.php'; class_alias('Luracast\\Restler\\Restler', 'Restler'); } else {...
Was this an error on my end, or had the compiler a hiccup? Thanks for checking.
Greetings and keep coding
Sebastian
The text was updated successfully, but these errors were encountered:
Hello @Arul- ,
the last few days, I tried using your awesome Restler Tool to display some self-made requests. I followed the instructions from GitHub while installing. For a long time, either a white screen only or an empty explorer was shown. Today I found that with the latest release there was some code missing in the restler.php file:
...if (is_readable(__DIR__ . '/vendor/autoload.php')) {
//if composer auto loader is found use it
require __DIR__ . '/vendor/autoload.php';
class_alias('Luracast\\Restler\\Restler', 'Restler');
} else {...
After I added these commands back in, it turned out working for me:
...if (is_readable(__DIR__ . '/vendor/autoload.php')) {
//if composer auto loader is found use it
+ $loader = require __DIR__ . '/vendor/autoload.php';
+ $loader->setUseIncludePath(true);
- // require __DIR__ . '/vendor/autoload.php';
class_alias('Luracast\\Restler\\Restler', 'Restler');
} else {...
Was this an error on my end, or had the compiler a hiccup? Thanks for checking.
Greetings and keep coding
Sebastian
The text was updated successfully, but these errors were encountered: