cli-script.php can't be run from a web request, you have to run it on the command-line.