Topic: PHP errors

When I run the buildgallery.php script I get the following PHP errors:

[23-May-2007 18:35:24] PHP Warning:  OpenDir: Invalid argument (errno 22) in c:phpdev5wwwbrickendonphotosnewgall2buildgallery.php on line 72
[23-May-2007 18:35:24] PHP Warning:  readdir(): supplied argument is not a valid Directory resource in c:phpdev5wwwbrickendonphotosnewgall2buildgallery.php on line 73
[23-May-2007 18:35:24] PHP Warning:  arsort() expects parameter 1 to be array, null given in c:phpdev5wwwbrickendonphotosnewgall2buildgallery.php on line 85
[23-May-2007 18:35:24] PHP Warning:  Invalid argument supplied for foreach() in c:phpdev5wwwbrickendonphotosnewgall2buildgallery.php on line 89
[23-May-2007 18:35:24] PHP Warning:  closedir(): supplied argument is not a valid Directory resource in c:phpdev5wwwbrickendonphotosnewgall2buildgallery.php on line 109

Any ideas what's wrong?

Thanks G smile

Re: PHP errors

Sorry - I had the buildgallery script in the wrong folder. However, having moved it I get the following:

Note: The GD imaging library was not found on this Server. Thumbnails will not be created. Please contact your web server administrator.

Note: The GD imaging library is version 0 on this server. Thumbnails will be reduced quality. Please contact your web server administrator to upgrade GD version to 2.0.1 or later.

What am I missing? Please???