Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Internal server error when i import a survey

Internal server error when i import a survey 1 Jahr 5 Monate her #92820

I have previously exported a survey structure and now I want import it from the "New Survey" screen.
My survey contains various question groups.

The new survey does not generate and the error message appears :

Internal Server Error
The value for the column "gid" is not supplied when querying the table "groups".

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

How can I do to import the survey with all groups ?
Thanks
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92821

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
Would you attach your survey and let us know what version of LimeSurvey you use? Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: paulinevieillard

Internal server error when i import a survey 1 Jahr 5 Monate her #92827

you will find my survey in attachment .
I use the Version 2.00+ Limesurvey.

Thanks
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92848

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
I see the same issue - opened a bug: bugs.limesurvey.org/view.php?id=7316
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92849

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
I just discovered that even though I received the error - after I signed off and back on to LimeSurvey the survey now appears and there are many errors (76 total) in the survey.
Letzte Änderung: 1 Jahr 5 Monate her von helper.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92850

Indeed I also have a new survey (even if the error message appears) in my list but it contains errors and I cannot use it.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92860

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
These guys here are great for fixing bugs!

See bugs.limesurvey.org/view.php?id=7316
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92863

I still have the bug ...

Internal Server Error
The value for the column "gid" is not supplied when querying the table "groups".

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92872

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
The LimeSurvey crew have not merged the changes to the release version yet. To fill the gap I took the changes and applied them manually. Here is a step by step:

1. In your favorite editor (for example, notepad) open .../application/helpers/common_helper.php
2. Find "if (strcmp($description,$qentry) !=0 ||" (this should be at line 6270)
3. Replace the following:
        if (strcmp($description,$qentry['description']) !=0  ||
        strcmp($gpname,$qentry['group_name']) !=0)
        {
            // Update Fields
 
            $data = array(
            'description' => $description,
            'group_name' => $gpname
            );
 
            $where = array(
            'gid' => $gid,
            'language' => $language
            );
 
            Groups::model()->update($data,$where);
 
        } // Enf if modified
    } // end while qentry
with the following (this is the changed code from LimeSurvey):
        if (strcmp($description,$qentry['description']) !=0  || strcmp($gpname,$qentry['group_name']) !=0) {
            $where = array(
                'gid' => $gid,
                'language' => $language
                    );
            $oGroup = Groups::model()->findByAttributes($where);
            $oGroup->description= $description;
            $oGroup->group_name= $gpname;
            $oGroup->save();
 
        } // Enf if modified
     } // end while qentry

Once you have the code change, try your import again.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Internal server error when i import a survey 1 Jahr 5 Monate her #92880

Thanks for these details but i work directly on the free LimeService.com.
Thus i can not change this code.

Do you think it is possible to warn the persons of LimeService to change the code?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.251 Sekunden
Donation Image