Mastercoding/AMFHP-script-generator — Issue #1: readdir() and closedir() expects parameter 1 to be resource
Author: dougrdotnet
Created: 2012-01-29 22:44:30+00:00
State: open

I was wondering if you could help me shed some light on the following error:

PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /crypt/site/src/AMFHP-script-generator/generators/Generator.php on line 100
PHP Warning: closedir() expects parameter 1 to be resource, boolean given in /crypt/site/src/AMFHP-script-generator/generators/Generator.php on line 129

I'm not sure of the exact format for params, have tried both relative and absolute paths. Using fully-qualified for namespace. Could you provide an example of syntax for parms? (e.g. quotes, relative or absolute, etc...) I've tried several permutations.

Thanks