Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

After update to version 2.72.6+171207, the system does not find asset files

  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161796 by TommyB
I just did a manual update to 2.72.6 and now the system does not show any templates because it can't load any assets...

So checked the web server log files and before the update, the requests looked like this:


[18/Dec/2017:10:41:55 +0100] "GET /survey/tmp/assets/81b731fd/scripts/template.js HTTP/1.1" 304


after the update though, there is an url-encoded backslash in the path, which results in a 404 error:


[18/Dec/2017:10:52:40 +0100] "GET /survey/tmp/assets/c3527dc8/scripts%5C template.js HTTP/1.1" 404
[18/Dec/2017:10:55:47 +0100] "GET /survey/tmp/assets/c3527dc8/css%5C template.css HTTP/1.1" 404


The weird thing, *some* of the assets are loaded properly, even from the same subfolder:

[18/Dec/2017:10:55:47 +0100] "GET /survey/tmp/assets/2bbf3928/jquery.ui.touch-punch.min.js HTTP/1.1" 200
[18/Dec/2017:10:55:47 +0100] "GET /survey/tmp/assets/f8e31e16/css/font-awesome.min.css HTTP/1.1" 200


HELP!
The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161825 by TommyB
Just did a clean install with that version and have the same problem.
The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161827 by TommyB
Just tried version 3.x ->

Internal Server Error
Property "Survey.gsid" is not defined.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 3 months ago #161831 by LouisGac
Hey Tommy, you should have opened a bug report for that.

What server are you using?
The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161835 by TommyB
Hi Louis,

for which of the problems exactly?

Apparently, the backslash problem is limited to Firefox - I tested IE and Chrome and both seem to replace the backslash with a slash.

I'm running Apache 2.4 on Windows Server 2012 R2 / Browser is Firefox ESR 45.4.0
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #161842 by holch
Have you tried with a "normal" and recent Firefox? Just to see if it is only a problem with this specific version of Firefox or if it is a more general Firefox-Problem?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161848 by TommyB

holch wrote: Have you tried with a "normal" and recent Firefox? Just to see if it is only a problem with this specific version of Firefox or if it is a more general Firefox-Problem?


Well - it worked with this Firefox version and LimeSurvey 2.50.

I found some references of this strange behaviour on Stackoverflow:

stackoverflow.com/questions/10438008/dif...y-firefox-and-chrome
stackoverflow.com/questions/4887928/apac...ith-slash-on-firefox


But the actual question is -> Where does that Backslash come from? It wasn't there in 2.50.
The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161850 by TommyB
FYI, I just did a quick test on browsershots.org and it seems that starting with Firefox 47, this has been changed and the page renders correctly again, despite the backslash character.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #161852 by holch
Maybe open a bug report for this? Even if it works now, who guarantees that it will work in the future. And it should ben "/", not "%5C" anyway.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • TommyB
  • TommyB's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #161856 by TommyB
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose