View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05900 | Bug reports | Import/Export | public | 2012-03-12 11:49 | 2012-03-15 01:19 |
Reporter | ulysse68 | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00a2 | ||||
Fixed in Version | 2.00a3 | ||||
Summary | 05900: Unable to import a survey | ||||
Description | Unable to import a survey (.lss) exported from LimeSurvey 1.92. I tried several examples, but there is always the same message: Undefined variable sFullFilepath (see additional information). | ||||
Additional Information | Here is the full error message: PHP Error Undefined variable: sFullFilepath /var/www/limesurvey2/application/controllers/admin/surveyadmin.php(929) 917 } Stack Trace 77 $oMethod = new ReflectionMethod($this, $sDefault); #3 144 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri; #7 166 2012-03-12 09:51:11 Apache/2.2.20 (Ubuntu) Yii Framework/1.1.8 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 000000 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | GNU/Linux | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.3 | ||||
I can't reproduce that here. I guess your file_upload_dir is not writable somehow. |
|
I double checked: greg@dionysos:~$ ls -l /var/www/limesurvey2/ Subdirectories are also writeable. And I precise that my user (greg) has the same rights as www-data. I am trying on another computer and let you know. |
|
What about /tmp? |
|
Done: greg@dionysos:/var/www$ ll /var/www/limesurvey2/tmptotal 16 And... The error changed! CException Property "Survey.showXquestions" is not defined. /var/www/limesurvey2/framework/db/ar/CActiveRecord.php(145) 133 PHP setter magic method. Stack Trace 197 $data["faxto"] = $filter->purify($data["faxto"]); #2 3425 } #3 844 { #4 |
|
Please attach the survey. Thank you! |
|
I used the "Slightly Trickier Sample Survey" (see attached). Maybe the problem comes from my system (local server on Ubuntu 11.10). Still trying on a remote server, but I've been busy and my connection is slow :-( |
|
I found the issue. It will be fixed in the next rev. Attached a fixed file. |
|
I still have an error (CException) with the new file (application/helpers/admin/import_helper.php) -- but it changed again! "Property "Survey.googleAnalyticsStyle" is not defined." But all right, I'll check with the next rev. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-12 11:49 | ulysse68 | New Issue | |
2012-03-12 16:16 | c_schmitz | Assigned To | => c_schmitz |
2012-03-12 16:16 | c_schmitz | Status | new => assigned |
2012-03-12 16:25 | c_schmitz | Note Added: 17887 | |
2012-03-12 16:47 | ulysse68 | Note Added: 17888 | |
2012-03-12 17:10 | c_schmitz | Note Added: 17889 | |
2012-03-12 17:10 | c_schmitz | Status | assigned => feedback |
2012-03-12 17:23 | ulysse68 | Note Added: 17891 | |
2012-03-12 17:23 | ulysse68 | Status | feedback => assigned |
2012-03-12 17:29 | c_schmitz | Note Added: 17893 | |
2012-03-12 20:02 | ulysse68 | File Added: limesurvey_survey_29975.lss | |
2012-03-12 20:04 | ulysse68 | Note Added: 17898 | |
2012-03-12 20:23 | c_schmitz | Note Added: 17899 | |
2012-03-12 20:23 | c_schmitz | File Added: import_helper.php | |
2012-03-12 20:49 | ulysse68 | Note Added: 17901 | |
2012-03-15 01:19 | c_schmitz | Status | assigned => closed |
2012-03-15 01:19 | c_schmitz | Resolution | open => fixed |
2012-03-15 01:19 | c_schmitz | Fixed in Version | => 2.00a3 |