By vishakha1204 on
Hello, i'm new in using Drupal. I'm trying to create slideshow in drupal. For that i've downloaded slideshow creator. I'm getting the following warning
" warning: preg_match() expects parameter 2 to be string, array given in
/opt/lampp/htdocs/drupal-5.9/includes/bootstrap.inc on line 670."
If i give only one image in the code, it wont show any warning. But if i give multiple images this warning appears.
Can you plz help me to solve this problem?
Comments
You probably need to post
You probably need to post the code you added so people can look for mistakes in it. Make a page with nothing else, so it is sure that the error is not coming from somewhere else.
Slideshow Code
Sorry for the inconvenience. Following is the code i've written for creating slideshow ,
[slideshow: 2, rotate=2,blend=1,layout=bottom,
height=200,width=200,img=|http://localhost/drupal-5.9/themes/garland/girl.jpg||Drupal|Hello||, img=|http://localhost/drupal-5.9/themes/garland/General.jpg||MySQL|bye||]
And i'm getting the warning after submitting the page ,
warning: preg_match() expects parameter 2 to be string, array given in /opt/lampp/htdocs/drupal-5.9/includes/bootstrap.inc on line 670.
Plz let me know if something else shld i explain or not. Thanx for replying.
This is first time i'm using forums.
Can you plz help me?
It's not exactly like mine.
It's not exactly like mine. Not sure whether the difference matters though. Here is one from my site that works:
See this at http://wingedhearts.org/thestickybeak/st10. I notice a few differences: You have used more options up front, and you have included full http: stuff. I can't see how that makes a difference though. The use of localhost might be a problem: on the browsing machine, the files are not on localhost. Is it looking on the wrong computer?