View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05878Bug reportsInstallationpublic2012-03-11 16:31
Reporterhugomp Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92 
Fixed in Version1.92+ 
Summary05878: Progrss-bar not showing
Description

After updating from 1.91 to 1.92 (exactly according to update instructions), every thing is well except that the progress-bar is not showing anymore, only 0% and 100% and nothing in between. The same default template being used.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)120303
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMySQL: 5.0.77
Server OS (if known)Linux
Webserver software & version (if known)?
PHP Version5.2.14

Users monitoring this issue

TMSWhite

Activities

c_schmitz

c_schmitz

2012-03-06 13:19

administrator   ~17746

What's the name of the template you are using?

hugomp

hugomp

2012-03-06 13:31

reporter   ~17748

Default. I also checked with "Basic" template, it's the same thing.

c_schmitz

c_schmitz

2012-03-06 14:15

administrator   ~17749

Did you really replace the /templates folder with the one from the installation package?

hugomp

hugomp

2012-03-06 15:20

reporter   ~17750

Definitely "yes".

c_schmitz

c_schmitz

2012-03-06 15:28

administrator   ~17751

Did you clear your browser cache after update?

hugomp

hugomp

2012-03-06 15:39

reporter   ~17752

Yes, to make sure I did it again ---> no change

hugomp

hugomp

2012-03-06 15:43

reporter   ~17753

By the way..., here is the link :http://www.pre-sales.ch/limesurvey/

c_schmitz

c_schmitz

2012-03-06 15:48

administrator   ~17755

It looks like for some reason the JS file http://www.pre-sales.ch/limesurvey/classes/eval/em_javascript.js cannot be read from your server.
Please investigate if the file exists. I assume some security setting is keeping the file from being shown.

c_schmitz

c_schmitz

2012-03-06 15:50

administrator   ~17756

Reminder sent to: TMSWhite

Thomas, I think this might be connected to the JS directory being named 'eval', I guess this creates a false positive in mod_security and is being blocked. We should consider renaming the directory to something less dangerous looking.

TMSWhite

TMSWhite

2012-03-06 15:56

reporter   ~17757

I'm fine with having it changed to "expressions" to make it consistent with Yii

c_schmitz

c_schmitz

2012-03-06 16:00

administrator   ~17758

Sounds great - can you do it or want me to do it? (I think you should rather do it to have your name on the new files ;)

hugomp

hugomp

2012-03-06 16:02

reporter   ~17759

The file em_javascript.js is in its place.
Clicking on the link you gave above I become a 500 - Internal Server Error.

TMSWhite

TMSWhite

2012-03-06 17:25

reporter   ~17762

Carsten, I won't be able to get to this until tomorrow or later, so could you do it?

c_schmitz

c_schmitz

2012-03-06 17:34

administrator   ~17763

Sure, np.

c_schmitz

c_schmitz

2012-03-06 17:43

administrator   ~17764

hugomp: You will have to find out why there is a 500 error. It is most probably because the script is blocked. Or wait until the next 1.92+ version is released (sometime this week) which might solve this issue for you.

c_schmitz

c_schmitz

2012-03-06 17:47

administrator   ~17765

Fixed in rev. 7e61746b7f8e9217b5b317aa8f8b4b170f28b84a

hugomp

hugomp

2012-03-06 18:19

reporter   ~17766

OK, Thanks.

hugomp

hugomp

2012-03-07 19:10

reporter   ~17783

Here is the answer of my provider (sorry for the German language). Apparently, the problem is not the path but some other thing that the script is trying to do. The provider says that to do a research on this topic is cost prohibitive.
Note: With version 1.91 the progressbar was working perfectly, why change it?

ja, es liegt nicht am Pfad, da können wir keine Richtlinien festelgen, weil dies ja von kunde zu Kunde unterschiedlich ist. Es kann sein, dass das Script ausführbare rechte benötigt oder Dateien ausführen möchte, was nicht zulässig ist. Rechte um Dateinen zu verschieen oder kopirern in Geschütze Ordner können gemacht werden, indem die Rechte der jeweiligen Ordner auf 777 gesetzt werden, aber welche Ordner das sind, können wir nicht beurteilen. Wir können keine Script aufgrund der komplexität und dem draus resultierendenden Aufwand überprüfen.

c_schmitz

c_schmitz

2012-03-07 21:19

administrator   ~17784

Typische Support-Antwort - unwissend, nicht nachfragend und dem Kunden mit Kosten drohen:

Wenn ich http://www.pre-sales.ch/limesurvey/classes/eval/em_javascript.js aufrufe wird da nix ausgeführt, sondern normalerweise nur der Inhalt der Datei wiedergegeben.
Schick denen einfach die URL und frag Sie warum die Datei nicht angezeigt wird.

hugomp

hugomp

2012-03-08 10:04

reporter   ~17785

Here is a better answer:

eine JavaScript Datei kann normalerweise nicht direkt im Browser eingegeben werden sondern wird in der Regel über ein "Include" ausgeführt. Dies ist der Grund weshalb die Datei http://www.pre-sales.ch/limesurvey/classes/eval/em_javascript.js nicht angezeigt werden kann.

Um das JavaScript korrekt auszuführen, bitten wir Sie sich mit einem Webentwickler zu beraten der die Fehlerbehebung vornehmen kann.

Does it make more sens?
This provider is: www.green.ch

c_schmitz

c_schmitz

2012-03-08 10:13

administrator   ~17786

Last edited: 2012-03-08 10:14

Die Antwort ist völliger Blödsinn und eine echte Frechheit
Natürlich kann man jede JavaScript-Datei direkt im Browser aufrufen.

Beispiele:
http://www.limesurvey.org/modules/mod_jTweet/js/jquery.tweet.js
oder auch
http://www.green.ch/Resources/Shared/Scripts/jquery/jquery-ui.min.js
(von deren eigener Webseite)

Provider wechseln hilft. Unglaublich.

hugomp

hugomp

2012-03-08 14:24

reporter   ~17790

I passed on your answer and it did move things! Here is the latest:

Wir haben dies nochmals überprüft. Natürlich hat Ihr Webmaster recht, Sie können .js Skripte im Browser ersehen. Wir vermuten den Fehler in der .htaccess Datei welche wahrscheinlich vom Webentwickler falsch Programmiert oder übersehen worden ist.

Als wir die .htaccess umbenennt haben wurde der Code angezeigt.

Um dies Korrekt zu Programmieren kann sich der Webentwickler mit phpinfo die Server Konfigurationen anschauen und so das Problem mit der .htaccess lösen.

What do you think?

c_schmitz

c_schmitz

2012-03-08 14:40

administrator   ~17791

Last edited: 2012-03-08 14:49

Hallo!
Nunja, LimeSurvey platziert keine .htaccess Datei, die das beeinflussen könnte, daher kommt die evtl. von einer anderen Software.
Mit deren Fehlerbehebung sollte LS aber nun funktionieren.

hugomp

hugomp

2012-03-08 15:37

reporter   ~17792

The problem was the .htaccess in limesurvey/classes/
In the downloaded package it is correctly named .htaccess but
for some strange reason it was automatically renamed .htaccess.txt during files transfer respectively installation of 1.92. I do not understand..., for transfer I use FileZilla in Binary mode.
Renaming .htaccess.txt to .htaccess corrected the problem...
Thanks for your help!

hugomp

hugomp

2012-03-08 19:10

reporter   ~17794

Checking again with GREEN, they confirmed that they are the ones who changed the name of the .htaccess file to .htaccess.txt. and got me confused.
So finally it is the opposite from what I said above, the problem appears when the .htaccess file has its normal name with its content option to remove the directory listing "Options -Indexes".
It looks like that the server is blocking this type of directive.
Is it of any use to LimeSurvey?

c_schmitz

c_schmitz

2012-03-11 16:31

administrator   ~17828

1.92+ Build 120211 released

Issue History

Date Modified Username Field Change
2012-03-06 12:53 hugomp New Issue
2012-03-06 13:19 c_schmitz Note Added: 17746
2012-03-06 13:19 c_schmitz Assigned To => c_schmitz
2012-03-06 13:19 c_schmitz Status new => feedback
2012-03-06 13:31 hugomp Note Added: 17748
2012-03-06 13:31 hugomp Status feedback => assigned
2012-03-06 14:15 c_schmitz Note Added: 17749
2012-03-06 14:15 c_schmitz Status assigned => feedback
2012-03-06 15:20 hugomp Note Added: 17750
2012-03-06 15:20 hugomp Status feedback => assigned
2012-03-06 15:28 c_schmitz Note Added: 17751
2012-03-06 15:28 c_schmitz Status assigned => feedback
2012-03-06 15:39 hugomp Note Added: 17752
2012-03-06 15:39 hugomp Status feedback => assigned
2012-03-06 15:43 hugomp Note Added: 17753
2012-03-06 15:48 c_schmitz Note Added: 17755
2012-03-06 15:50 c_schmitz Issue Monitored: TMSWhite
2012-03-06 15:50 c_schmitz Note Added: 17756
2012-03-06 15:56 TMSWhite Note Added: 17757
2012-03-06 16:00 c_schmitz Note Added: 17758
2012-03-06 16:02 hugomp Note Added: 17759
2012-03-06 17:25 TMSWhite Note Added: 17762
2012-03-06 17:34 c_schmitz Note Added: 17763
2012-03-06 17:43 c_schmitz Note Added: 17764
2012-03-06 17:47 c_schmitz Note Added: 17765
2012-03-06 17:47 c_schmitz Status assigned => resolved
2012-03-06 17:47 c_schmitz Fixed in Version => 1.92+
2012-03-06 17:47 c_schmitz Resolution open => fixed
2012-03-06 18:19 hugomp Note Added: 17766
2012-03-07 19:10 hugomp Note Added: 17783
2012-03-07 21:19 c_schmitz Note Added: 17784
2012-03-08 10:04 hugomp Note Added: 17785
2012-03-08 10:13 c_schmitz Note Added: 17786
2012-03-08 10:14 c_schmitz Note Edited: 17786
2012-03-08 14:24 hugomp Note Added: 17790
2012-03-08 14:40 c_schmitz Note Added: 17791
2012-03-08 14:49 c_schmitz Note Edited: 17791
2012-03-08 15:37 hugomp Note Added: 17792
2012-03-08 19:10 hugomp Note Added: 17794
2012-03-11 16:31 c_schmitz Note Added: 17828
2012-03-11 16:31 c_schmitz Status resolved => closed
2021-08-02 17:19 guest Bug heat 6 => 8