Welcome, Guest
Username: Password: Remember me

TOPIC: 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 year 9 months ago #91380

  • albertang
  • albertang's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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!
The administrator has disabled public write access.

Re: Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey​_url_parameters' not 1 year 9 months ago #91421

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6429
  • Thank you received: 840
  • 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
The administrator has disabled public write access.

Re: Upgrading to 2.0 Error: Table 'speci53_soosurvey.lime_survey​_url_parameters' not 1 year 8 months ago #91579

  • albertang
  • albertang's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.146 seconds
Donation Image