I've pasted the example code into a regular Page node and get the following warnings/errors. The Drupal and MySQL images display fine, just not the images from a directory. Any thoughts?

    * warning: glob() expects parameter 2 to be long, string given in slideshow_creator.module on line 27.
    * warning: glob() expects parameter 2 to be long, string given in slideshow_creator.module on line 27.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in slideshow_creator.module on line 30.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in slideshow_creator.module on line 30.
    * warning: glob() expects parameter 2 to be long, string given in slideshow_creator.module on line 27.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in slideshow_creator.module on line 30.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in slideshow_creator.module on line 30.
    * warning: glob() expects parameter 2 to be long, string given in slideshow_creator.module on line 27.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in slideshow_creator.module on line 30.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in slideshow_creator.module on line 30.

Comments

g011um’s picture

I found the answer to my own problem.

The PHP manual states that for glob()

The GLOB_BRACE flag is not available on some non GNU systems, like Solaris.

I'm running Drupal on a Solaris 10 box. I'll play wiht this a bit more and if I can get the glob function to work I'll post it here, for any other Solaris users that may wander by.

brmassa’s picture

Status: Active » Fixed

Darryl,

thanks for this report. i will try to review this command for the next releases (only for Drupal6).

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.