-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some changes and it works fine with actual dokuwiki (I think) #4
Comments
Thanks a lot Amglez your modifications are just what I needed. |
Does this still work, or am I doing something wrong? When I run the command line with the output specified, I get Content-type: text/html and no file generated. This is with or without the changes above. |
Hello DoomBudgie ! It work for me just now. Can your elaborate on your context. |
Debian GNU/Linux 11 (bullseye) I use the command php bin/grapher1.php -o outputfile I suspect I'm doing something simple wrong. Thanks for your help! |
Here is the command I run to get the result as "result_image.png" in the hope it will help you.
|
I am a total newie and I was trying the grapher.php in my dokuwiki (Release 2022-07-31a "Igor") but it did not work. I looked around and, after changing things as said after, it looks to work fine.
As indicated in phpcli, I put :
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class Grapher extends CLI {...
And I changed :
$namespaces = array_map('cleanID', $options->args);
for
$namespaces = array_map('cleanID', $options->getArgs());
I attached the file in case is any good.
grapher (1).zip
The text was updated successfully, but these errors were encountered: