Error message of .module file

gosomewhere.eu - March 1, 2009 - 19:39
Project:Fading Slideshow
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi!

This module seems to be very cool. Thanks for your work.

But I just installed it following all the steps advised and when I try to load the page where there is the slideshow in a block, I get this error message saying there is some error in the .module file in line 158

"warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/np2156/domains/gosomewhere.eu/public_html/modules/fade_slideshow/fade_slideshow.module on line 158."

and some other in line 132

warning: Invalid argument supplied for foreach() in /home/np2156/domains/gosomewhere.eu/public_html/modules/fade_slideshow/fade_slideshow.module on line 132.

Have no idea how to solve this. Could I get some help?

Thanks for your help.

Bruno A.

#1

der - March 1, 2009 - 21:43

It sounds like you don't have any valid images in the image directory you should have specified on the admin/settings/fade_slideshow page.

#2

gosomewhere.eu - March 2, 2009 - 08:22

what would be the criteria to define a image as valid. It is 6 .JPG files sized 200x150. and named photo 1, photo2...
nothing special about it. But willing to hear suggestions.

I still think it is somehow in the .module file of the module. With some modification I can make disappear some of the error messages... but I know nothing about editing such a file. I don't seem to be able to remove all the "errors" and I am sure it wouldn't work anyway. I will send a image showing what I get when I see the page. the small lighter grey area is where the slideshow should appear.

Thanks again for the help.

Bruno A.

#3

gosomewhere.eu - March 2, 2009 - 08:23

what shows...

AttachmentSize
error.JPG 197.13 KB
 
 

Drupal is a registered trademark of Dries Buytaert.