hi
when I tried to add survey to page I get PDOException: SQLSTATE[42S02] err:
Original

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXX_XXX.lime_tokens_152993' doesn't exist in limesurvey_sync_survey_properties() (line 65 of /home1/XXX/public_html/XXX/sites/all/modules/limesurvey_sync/ls_api/limesurvey_sync_api_survey.inc).
Additional

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXX_XXX.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] => %type: !message in %function (line %line of %file). [:context] => ) in locale() (line 720 of /home1/XXX/public_html/XXX/modules/locale/locale.module).
Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXX_XXX.lime_semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 18767558835200ccd9e0b131.17080974 ) in lock_release_all() (line 269 of /home1/XXX/public_html/XXX/includes/lock.inc).

please help me ,how can I fix it?

Comments

thedut’s picture

Component: Documentation » Code
Assigned: farzantabrizi » Unassigned
Category: support » bug
Status: Active » Closed (duplicate)

This is a duplicate issue of Token Management - If survey does not have initialised tokens an error is thrown .
Please go to the right issue page, test my fix and report.