hi
I'm new here and I have a problem and I wonder if you guys can help me out.
I've changed the setting page as below :

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'XXX',
'username' => 'XXX',
'password' => 'XXX',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);

$databases['ls']['default'] = array(
'driver' => 'mysql',
'database' => 'XXX',
'username' => 'XXX',
'password' => 'XXX',
'host' => 'localhost',
'prefix' => 'lime_' [or another value],
'collation' => 'utf8_general_ci' [or another value],
);

when I refresh the page to see it works or not an empty page is shown and nothing else happens,
what should I do to fix this?

Comments

thedut’s picture

Title: no page is shown when setting page is changed » no page is shown when setting.php file is changed
Assigned: farzantabrizi » Unassigned

Hello farzantabrizi,

You have an error into your settings.php file.
You should

  • delete ' [or another value]' strings,
  • and make sure you have correctly filled the settings, replacing the 'XXX' by the correct values

report if it fix your issue.

farzantabrizi’s picture

tnx it worked but when i change limesurvey path to survey (my path is survey) i get an err:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mmc_mecsurvey.lime_locales_source' doesn't exist: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => fa [:source] => Fake survey @sid from the drupal site @url [:context] => ) in locale() (line 720 of /home1/mmc/public_html/mecsurvey.com/modules/locale/locale.module).

thedut’s picture

Status: Active » Closed (fixed)

I'm glad it works.
You meet a new issue from the LimeSurvey Sync module : I have created a new issue page for this bug and I have provided a fix. Please report on this new page now :
Fatal error on the synchronization setting page for non english language.