Active
Project:
Frontpage Slideshow
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Feb 2009 at 13:55 UTC
Updated:
19 Oct 2009 at 02:29 UTC
Jump to comment: Most recent
Referrer http://www.xxx.org/node/add/fpss-slide
Nachricht preg_match() expects parameter 2 to be string, array given in /www/htdocs/w009e5c5/xxx/includes/bootstrap.inc in Zeile 761.
Schweregrad Fehler
whats wrong ?
Comments
Comment #1
wilco commentedI'm not quite certain what is going on here. I've rolled a new version of the module. Hopefully it will solve your problems.
Comment #2
Anonymous (not verified) commentedI have the same error with v 6.x-1.x-beta2:
warning: preg_match() expects parameter 2 to be string, array given in /home/cmseasyn/public_html/drupal-6/includes/bootstrap.inc on line 771.
Comment #3
SkullSplitter commentedsame to me :(
# warning: preg_match() expects parameter 2 to be string, array given in /www/htdocs/xxx/includes/bootstrap.inc on line 771.
# warning: preg_match() expects parameter 2 to be string, array given in /www/htdocs/xxx/includes/bootstrap.inc on line 771.
any solutions ?
Comment #4
SkullSplitter commentedComment #5
wilco commentedCan you provide me with some information as to your setups? Since this error is happening in another part of the code, I need some idea of what your FPSS settings are? Version of Drupal? PHP?
If you can also try to fun FPSS without any other modules to see if there is a conflict with something.
So far, I've tested it with a wide array of modules going and I've seen no conflicts yet.
Comment #6
dddave commentedI confirm this error. I got the message with the one described here #393624: Does not work with i18n.
My system is a XAMP local installation, php 5.2.8, Drupal 6.10.
Comment #7
medieval111 commentedI can confirm this error too. The slideshow won't load here.
I'm using Drupal 6.10 on EasyWAMP (PHP 5.2.0 & MySQL 5.0.22).
warning: preg_match() expects parameter 2 to be string, array given in C:\EasyWAMP\www\xxxx\includes\bootstrap.inc on line 771.
warning: preg_match() expects parameter 2 to be string, array given in C:\EasyWAMP\www\xxxx\includes\bootstrap.inc on line 771.
Comment #8
davecormier commentedThis issue is not directly related to the slideshow module. It seems to be occuring in many different contexts... or is a system error that responds to conflicting contrib modules the same way. I am having it... have only node-comment and views module installed.
Comment #9
dddave commentedAccording to this post it seems to be a problem with the module: http://drupal.org/node/408374#comment-1380488
@wilco:
Are there any solutions to be expected within the near future? I would really love to use your module. ;-)
Comment #10
dddave commentedOk, I retried on a liveserver but with the same result. I got the errore described above and in addition:
Unknown column 'n.language' in 'where clause' query: SELECT vid, title FROM drupalnode WHERE (n.language ='de') AND ( type = 'fpss_slideshow') in /is/htdocs/wp1141249_Q7UT4FKE6D/www/drupal6/sites/all/modules/fpss/fpss.module in Zeile 361.
Is there any hope this will be solved? I could really need this module.
Comment #11
Burhank commentedHey guys...
I have the very same problem and I havent sleep in the past 3 days and I didnt find a solution.. SO finally i had to change something in the fpss.module at line 361 so it can work and ignore the language field but I have the Slideshow mixed with all my nodes now and I cant even use it on other languages interface (Cant translate it) but still I guess its something you can use until the Frontpage Slideshow guys release a more stable module and give us some attention...
Open fpss.module and go to line 360 and find:
$sql = "SELECT vid, title FROM {node} WHERE type = '%s'";
Replace it with:
$sql = "SELECT vid, title FROM {node} as n ";
-----------------------------------------------------------------------------
I hope someone can find a solution how to enable this module to other languages.
Blessings,
Burhan
Comment #12
sai571 commentedI think this is caused because of theme('table') call. Please check your code.
If this is correct, please somebody check the core and correct it immediately.
Comment #13
sai571 commentedHi Everyone,
I think i may have found the solution,
By code was broken because i didn't add this line
to
when i had passed it to theme('table',$headers,$rows). Insted i added a dummy
array()Comment #14
amogiz commentedI have exactly the same problem but could not find any solution.
I noticed that the label for Title and Body part are "hidden" and that i have twice the error message.
warning: preg_match() expects parameter 2 to be string, array given in /home/httpd/vhosts/lavielemonde.com/httpdocs/includes/bootstrap.inc on line 771.
It would be really pleasant to get a solution :)
Comment #15
kalilo commentedI have the same problem
Can any one help?