View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
12765Bug reportsSurvey editingpublic2018-02-15 12:32
ReporterArneD Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.7x.x 
Fixed in Version3.0.x 
Summary12765: When saving Settings in a Survey an Error occurred
Description

After updating to the latest version I get an error when I save questionnaire settings:

New white page with: "Fatal error: Class 'string' not found in /survey/framework/validators/CValidator.php on line 175"

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)Version 2.72.0+171010
I will donate to the project if issue is resolvedNo
BrowserSafari
Database type & versionmysql 5.6.19
Server OS (if known)Linux
Webserver software & version (if known)?
PHP Version5-56

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2017-10-11 15:15

administrator   ~44573

Please activate debug mode in /application/config/config.php and see if you get a more detailed error. PLease save it as HTML file and attacht it to this bug,
Thank you.

ArneD

ArneD

2017-10-11 15:21

reporter   ~44575

debug report

c_schmitz

c_schmitz

2017-10-11 15:31

administrator   ~44578

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=24058

c_schmitz

c_schmitz

2017-10-11 15:33

administrator   ~44579

Please check out the fix above and apply it and let us know if it resolves your problem.

ArneD

ArneD

2017-10-11 15:46

reporter   ~44582

I'm sorry. Nothing changed. Same error.
I replaced the file on the server and reload the page.

c_schmitz

c_schmitz

2017-10-11 16:18

administrator   ~44584

Please use this file: https://github.com/LimeSurvey/LimeSurvey/raw/57e549ea81b67a7344a30009620f60805f5801dc/application/views/admin/survey/subview/accordion/_notification_panel.php

and try again.

ArneD

ArneD

2017-10-11 16:31

reporter   ~44585

Nope... I'm sorry. :(

Fatal error: Class 'string' not found in /survey/framework/validators/CValidator.php on line 175

c_schmitz

c_schmitz

2017-10-11 17:20

administrator   ~44586

I cannot reproduce here, sorry :-/.
Can you try a clean upload of all application files? It looks like some files are corrupted.

ArneD

ArneD

2017-10-11 17:21

reporter   ~44587

Sure, I'll give it a try. Thx for your help!

DenisChenu

DenisChenu

2017-10-11 19:25

developer   ~44588

@c_schmitz : i think it's fixed in https://github.com/LimeSurvey/LimeSurvey/commit/e52da872d648f16a8dd298da4169231e37972412

@ArneD : what is webarchive ? Better upload direct the html file

ArneD

ArneD

2017-10-12 08:42

reporter   ~44589

@DenisChenu : yeah, the fix works! thx. the webarchive is the "save as" file from safari. I thought it saved it as text file. I'll have a closer look next time.

Related Changesets

LimeSurvey: master fb79d590

2017-10-11 15:31:11

c_schmitz

Details Diff
Fixed issue 12765: When saving survey settings an error is shown. Affected Issues
12765
mod - application/views/admin/survey/subview/accordion/_notification_panel.php Diff File

LimeSurvey: master 57e549ea

2017-10-11 15:31:34

c_schmitz

Details Diff
Fixed issue 12765: When saving survey settings an error is shown. Affected Issues
12765
mod - application/views/admin/survey/subview/accordion/_notification_panel.php Diff File

Issue History

Date Modified Username Field Change
2017-10-11 15:12 ArneD New Issue
2017-10-11 15:15 c_schmitz Assigned To => c_schmitz
2017-10-11 15:15 c_schmitz Status new => feedback
2017-10-11 15:15 c_schmitz Note Added: 44573
2017-10-11 15:21 ArneD File Added: updatesurveylocalesettings.html.webarchive
2017-10-11 15:21 ArneD Note Added: 44575
2017-10-11 15:21 ArneD Status feedback => assigned
2017-10-11 15:31 c_schmitz Changeset attached => LimeSurvey master fb79d590
2017-10-11 15:31 c_schmitz Resolution open => fixed
2017-10-11 15:31 c_schmitz Changeset attached => LimeSurvey master 57e549ea
2017-10-11 15:31 c_schmitz Note Added: 44578
2017-10-11 15:33 c_schmitz Status assigned => feedback
2017-10-11 15:33 c_schmitz Note Added: 44579
2017-10-11 15:46 ArneD File Added: _notification_panel.php
2017-10-11 15:46 ArneD Note Added: 44582
2017-10-11 15:46 ArneD Status feedback => assigned
2017-10-11 16:17 c_schmitz File Deleted: _notification_panel.php
2017-10-11 16:18 c_schmitz Status assigned => feedback
2017-10-11 16:18 c_schmitz Note Added: 44584
2017-10-11 16:31 ArneD Note Added: 44585
2017-10-11 16:31 ArneD Status feedback => assigned
2017-10-11 17:20 c_schmitz Note Added: 44586
2017-10-11 17:21 ArneD Note Added: 44587
2017-10-11 19:25 DenisChenu Note Added: 44588
2017-10-12 08:42 ArneD Note Added: 44589
2018-02-15 12:32 c_schmitz Status assigned => closed
2018-02-15 12:32 c_schmitz Fixed in Version => 3.0.x
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing