View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03902Bug reportsSurvey editingpublic2009-12-29 19:07
Reporteruser5629Assigned Toc_schmitz  
PrioritynormalSeveritytweak 
Status closedResolutionno change required 
Product Version1.87RC2 
Summary03902: print of php msg changes layout
Description

if you get an php notice (because you didn't shut that down thru php settings) it will not only post those notices on top of the survey, it also changes all the font sizes, which makes it look pretty ugly

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)7922
I will donate to the project if issue is resolved
Browserie
Database type & versionmysql 5.1.36
Server OS (if known)windows, apache 2.2.11
Webserver software & version (if known)wamp
PHP Version5.3.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-11-25 17:55

  ~10252

How can we reproduce the issue? Please add a step-by-step instruction and an according sample survey (survey structure as .csv-file) - Thx!

user5629

2009-11-26 09:05

  ~10270

it is pretty easy.

i have set $debug = 0; but in the php settings "show error msg: on"

then you need a survey with mandatory questions. now just dont answer them and click to the next page, so you will get the msgbox from limesurvey, but also some "notice:" lines on top

because of writing those lines he busts his font sizes.
with switching the php setting to not show those, the same survey keeps stable.

ie7

user372

2009-11-26 09:10

  ~10271

Which notices do you get exactly? Please add a screenshot - Thx!

user372

2009-12-03 23:31

  ~10431

Please provide feedback!

user372

2009-12-11 02:25

  ~10536

I can reproduce, that PHP error, warnings,... break the layout.
@ c_schmitz: is this a bug, because there should be PHP error or warnings in productive environment - or?

c_schmitz

c_schmitz

2009-12-11 12:14

administrator   ~10542

I can't tell - what error notices?

c_schmitz

c_schmitz

2009-12-11 12:15

administrator   ~10543

gasthoerer, can you please provide detailed feedback with a sample survey attached?

user372

2009-12-26 09:37

  ~10679

Last edited: 2009-12-26 09:38

E.g. the notices are strict warning like:
Strict Standards: mktime() [function.mktime]: The is_dst parameter is deprecated in /home/.sites/962/site989/web/limesurvey/classes/adodb/adodb-time.inc.php on line 732

Strict Standards: gmmktime() [function.gmmktime]: The is_dst parameter is deprecated in /home/.sites/962/site989/web/limesurvey/classes/adodb/adodb-time.inc.php on line 732

How to reproduce:
0) use Firefox
1) http://www.prandstetter.at/limesurvey/index.php?sid=29846
2) At the second question page set a date
3) Proceed to group 4
==> as long as the notices are displayed some layout elements are not correct ==> the font size of the "[Exit and clear survey]"-button is too large

c_schmitz

c_schmitz

2009-12-29 19:07

administrator   ~10692

That's not a bug - just configure your PHP correctly.

Issue History

Date Modified Username Field Change
2009-11-25 15:41 user5629 New Issue
2009-11-25 15:41 user5629 Status new => assigned
2009-11-25 15:41 user5629 Assigned To => user372
2009-11-25 15:41 user5629 LimeSurvey build number => 7922
2009-11-25 15:41 user5629 Browser => ie
2009-11-25 15:41 user5629 Database & DB-Version => mysql 5.1.36
2009-11-25 15:41 user5629 Operating System (Server) => windows, apache 2.2.11
2009-11-25 15:41 user5629 Webserver => wamp
2009-11-25 15:41 user5629 PHP Version => 5.3.0
2009-11-25 17:55 user372 Note Added: 10252
2009-11-25 17:56 user372 Status assigned => feedback
2009-11-26 09:05 user5629 Note Added: 10270
2009-11-26 09:10 user372 Note Added: 10271
2009-12-03 23:31 user372 Note Added: 10431
2009-12-11 02:25 user372 Note Added: 10536
2009-12-11 02:25 user372 Status feedback => assigned
2009-12-11 02:25 user372 Assigned To user372 => c_schmitz
2009-12-11 12:14 c_schmitz Assigned To c_schmitz => user372
2009-12-11 12:14 c_schmitz Note Added: 10542
2009-12-11 12:15 c_schmitz Note Added: 10543
2009-12-11 12:15 c_schmitz Status assigned => feedback
2009-12-26 09:37 user372 Note Added: 10679
2009-12-26 09:37 user372 Status feedback => assigned
2009-12-26 09:37 user372 Assigned To user372 => c_schmitz
2009-12-26 09:38 user372 Note Edited: 10679
2009-12-29 19:07 c_schmitz Note Added: 10692
2009-12-29 19:07 c_schmitz Status assigned => closed
2009-12-29 19:07 c_schmitz Resolution open => no change required
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing