From command line I use:
php bin/gpm install admin
I get this error:
“eval” non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
…
Suggestions ?
Thanks!
Maurizio
From command line I use:
php bin/gpm install admin
I get this error:
“eval” non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
…
Suggestions ?
Thanks!
Maurizio
Heya maurizio (I think you are Italian too), I use the github desktop app and this install the git bash, with this you can use easy the cli command line:
bin/gpm install admin
---
If for you is much simple talking in Italian you can without worries ^^
Yes, I’m Italian.
I tested and get this notice, but the command line continue to install the plugin, I tested with cdn plugin (because the admin plugin already installed). you confirm this?
C:\Sites\grav>php bin/gpm install cdn
"eval" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Preparing to install CDN [v1.2.1]
|- Downloading package... 100%
|- Checking destination... ok
|- Installing package... ok
'- Success!
Clearing cache
Cleared: cache/twig/*
Cleared: cache/doctrine/*
Cleared: cache/compiled/*
Touched: C:/Sites/grav/user/config/system.yaml
C:\Sites\grav>
---
In the next version of grav this notice not appear in the windows installation. Thanks for submit info ^^
Namaless, I have try. I have eval warning and runtime exception to download package.
C:\www\grav-demo>php bin/gpm install admin
"eval" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Package Admin Panel has 3 required dependencies that must be installed first…
Preparing to install Form [v0.3.0]
|- Downloading package… 0%
[RuntimeException]
Error while trying to download ‘https://github.com/getgrav/grav-plugin-form/zipball/0.3.0’
install [-f|–force] [-y|–all-yes] [-d|–destination [DESTINATION]] [–] ()…
I have try git command and curl command: working properly.
The problem if I remember true is the OpenSSL, you can’t download files from https, try to use curl to download this link and I think you give this error.
I solved with workaround.
I have modified system\src\Grav\Common\GPM\Response.php.
I have forced method ‘curl’. With auto, then fopen I have problem!
private static $method = ‘curl’;
Add curl option SSL_VERIFYPEER =false
CURLOPT_SSL_VERIFYPEER => false
Bye
Nice, thank you for response with your solution ^^