我目前正在使用石灰调查模块在 drupal 上构建一个站点。我尝试配置limesurvey 和我的网站之间的同步。我打开了 sites/default/settings.php,并在 $databases['default']['default'] 变量之后添加了以下行:
$databases['ls']['default'] = array(
'driver' => 'your_LimeSurvey_driver',
'database' => 'your_LimeSurvey_database_name',
'username' => 'your_LimeSurvey_database_username',
'password' => 'your_LimeSurvey_database_user_password',
'host' => 'your_LimeSurvey_host'
'prefix' => 'lime_' [or another value]
'collation' => 'utf8_general_ci' [or another value]
);
按照指示。我第一次遇到这个错误( Parse error: syntax error, unexpected ''prefix'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in C:\wamp\www\lime survey\drupal-7.24\sites\default\settings.php 上线235 ) 并通过从代码中取出“[或其他值]”来解决它。
我现在正面临这些错误(http://postimg.org/image/b6ynerdr1/)(http://postimg.org/image/io7utz3a5/) ,我已经没有想法了。请帮帮我