View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04107Bug reportsTheme editorpublic2010-02-10 10:12
Reporterledut Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.87+ 
Summary04107: html and W3C errors on survey page (with solutions)
Description

html balise are not corretly build on the survey page.
actually it is :
"
<form>
<table>
<tr><td></td></tr>
</form>
</table>
"

instead of :
"
<form>
<table>
<tr><td></td></tr>

</table>

</form>
"

Additional Information

This error doesn't modify the page. It's not so big deal.
It occurs at the very beginning on the page.
On the W3C validator, it generates a lots of errors.

The solution is :
edit the file /limesurvey/survey.php
simply move :
echo templatereplace(file_get_contents("$thistpl/endpage.pstpl"));
from line 926 to line 920.

I haven't checked other pages for this bug, but it should affect more pages. My solution is just for the survey page. There are 50 occurences for the file "endpage.pstpl" in the limesurvey folder. Checkin all pages on w3c validator could be a good idea.

tested with the html validator plugin for firefox.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)8310
I will donate to the project if issue is resolved
BrowserMozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6
Database type & versionMysql 5.1.36
Server OS (if known)wamp on Windows seven
Webserver software & version (if known)localhost
PHP Version5.2.11
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

ledut

ledut

2010-02-06 22:55

reporter   ~11003

How to reproduce it :
Create a survey,
Go for completing it
Test the survey page with the html validor plugin for mozilla or use the online W3C validator on http://validator.w3.org/
For a 11 questions survey page I had 19 errors. After solving this bug, it changes to 6 errors only .

ledut

ledut

2010-02-07 00:01

reporter   ~11007

still occurs on build 8338

tpartner

tpartner

2010-02-07 14:43

partner   ~11011

ledut, could you please attach your survey?

ledut

ledut

2010-02-07 23:27

reporter   ~11016

Last edited: 2010-02-07 23:30

No I can't because I want to keep my survey private.
I can send it to you by email.
what is your email ?
For your information, I use on my survey a lot of radio buttons, some textarea and input area, some conditions, few numeric input.

tpartner

tpartner

2010-02-08 13:50

partner   ~11018

ledut, you can send it to tpartner.limesurvey@yahoo.ca

Also, please let me know which template you are using.

ledut

ledut

2010-02-08 14:11

reporter   ~11019

I use the "basic" template (the default one).
i have just sent to you the survey by email.

tpartner

tpartner

2010-02-08 17:02

partner   ~11022

Fixed in revision 8358.

This was a problem with the HTML in the 'Basic' template .pstpl files and has been cleaned up.

Thanks for the report ledut.

Issue History

Date Modified Username Field Change
2010-02-06 22:50 ledut New Issue
2010-02-06 22:50 ledut Status new => assigned
2010-02-06 22:50 ledut Assigned To => user372
2010-02-06 22:50 ledut LimeSurvey build number => 8310
2010-02-06 22:50 ledut Browser => Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6
2010-02-06 22:50 ledut Database & DB-Version => Mysql 5.1.36
2010-02-06 22:50 ledut Operating System (Server) => wamp on Windows seven
2010-02-06 22:50 ledut Webserver => localhost
2010-02-06 22:50 ledut PHP Version => 5.2.11
2010-02-06 22:55 ledut Note Added: 11003
2010-02-06 22:56 user372 Assigned To user372 => tpartner
2010-02-07 00:01 ledut Note Added: 11007
2010-02-07 14:43 tpartner Note Added: 11011
2010-02-07 23:27 ledut Note Added: 11016
2010-02-07 23:30 ledut Note Edited: 11016
2010-02-07 23:30 ledut Note Edited: 11016
2010-02-08 13:50 tpartner Note Added: 11018
2010-02-08 14:11 ledut Note Added: 11019
2010-02-08 17:02 tpartner Note Added: 11022
2010-02-08 17:02 tpartner Status assigned => resolved
2010-02-08 17:02 tpartner Resolution open => fixed
2010-02-10 10:12 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor