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
Hello,
Perhaps my version of php is not supported yet ?
I got this error :
getlegos git:(master) php getlegos.php 89398939PHPFatal error: UncaughtError: Call to undefined function curl_init() in /tmp/getlegos/getlegos.php:18Stack trace:
#0 /tmp/getlegos/getlegos.php(36): url2json('https://www.leg...')#1 /tmp/getlegos/getlegos.php(106): recupInfos('8939')#2 /tmp/getlegos/getlegos.php(115): moulinette('8939')#3 {main}
thrown in /tmp/getlegos/getlegos.php on line 18
Hi !
You're missing "php-curl" extension and you need to install it.
If you are using debian/ubuntu, it's very easy : apt install php-curl
And then, restart the web server, it should works fine !
Hello,
Perhaps my version of php is not supported yet ?
I got this error :
If it should help, url in code is https://www.lego.com//service/biservice/search\?fromIndex\=0\&locale\=fr-FR\&onlyAlternatives\=false\&prefixText\= but it looks like real one should be something like https://www.lego.com/fr-fr/service/buildinginstructions/search\#\?search\&text\=8939%2520Lesovikk%2520Bionicle
If it should helps :
The text was updated successfully, but these errors were encountered: