Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey_url_parameters' not

Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey​_url_parameters' not 1 Jahr 9 Monate her #91380

  • albertang
  • albertangs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
When upgrading to 2.0 from 1.9, the following error was encountered:

An non-recoverable error happened during the update. Error details:
CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'speci53_soosurvey.lime_survey_url_parameters' doesn't exist

Please fix this error in your database and try again

Going through the database, the table indeed does not exist. I created a blank table with the same name, then error occurs when the upgrade is looking for fields in the table. Can I get a copy of the table somewhere or the detail of the table fields so that I can create it?

Any help is much appreciated!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey​_url_parameters' not 1 Jahr 9 Monate her #91421

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6429
  • Dank erhalten: 839
  • Karma: 249
Strange, The db creation are set in update process.

Maybe some "db version" error.
if ($oldversion < 149)
        {
            $fields = array(
            'id' => 'integer',
            'sid' => 'integer',
            'parameter' => $sVarchar.'(50)',
            'targetqid' => 'integer',
            'targetsqid' => 'integer'
            );
            createTable('{{survey_url_parameters}}',$fields);
            Yii::app()->db->createCommand()->update('{{settings_global}}',array('stg_value'=>149),"stg_name='DBVersion'");
        }
source: application/helper/update/updatedb_helper.php

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey​_url_parameters' not 1 Jahr 8 Monate her #91579

  • albertang
  • albertangs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 2
  • Karma: 0
Thanks for the reply.

Where can I find the dbversion in my old installation to verify what the old db version value is?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.244 Sekunden
Donation Image