Check out the LimeSurvey source code on GitHub!

Site with surveys suddenly turned blank!

More
5 years 8 months ago - 5 years 8 months ago #60183 by Bonafide
Heya!

A long time user of LimeSurvey, first time poster.

For my new job I created a domain and installed the newest RC of LimeSurvey scripts. Everything working like a charm and after I made a survey I started working on the layout. Made a template from scratch and things were coming along nicely.

Suddenly, however, the whole site went blank. No errors, just every page I tried to recall returned a blank screen. After trying several things I decided to reinstall the scripts and use a new database. Installation worked perfectly, but after I deleted the Install-directory I once again got the blank page.

You can view the state the site is in at:
Here or Here .

Does anyone know what has happened? Much obliged!

Many thanks in advance!
Last Edit: 5 years 8 months ago by Bonafide.

Please Log in to join the conversation.

More
5 years 8 months ago #60275 by DenisChenu
Hello,

Did you have access at the apache/php error log ?

Maybe there are a problem in your config.php file ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #60732 by drrrl
Hi,

I have the same issue after upgrading from 1.90+ b9642 to latest 1.91+ b10060 - I did upgrade following docs.limesurvey.org/Upgrading+from+a+pre...tions+for+LimeSurvey (choosed to remove all file, untar new tarball, replace config.php with backuped version), my http://site/admin works perfectly including database upgrade, but entering http:/site/ or running survey test from admin interface results in blank screen.

Error log says:

PHP Parse error: syntax error, unexpected T_STRING in /home/vhosts/site/index.php on line 2914

I'm using PHP 5.3.6, nothing was changed in PHP or Apache configuration since yesterday, when 1.90+ version was working properly.

Please advice,

G.
Last Edit: 5 years 8 months ago by drrrl.

Please Log in to join the conversation.

More
5 years 8 months ago #60738 by Bonafide
Weird thing is my site is working perfectly again. I went on a well-deserved holiday for a few days and when I returned the site worked again. I haven't tampered with it, so I ain't got the faintest idea what did the trick...

Sorry I couldn't be of more help.

Please Log in to join the conversation.

More
5 years 8 months ago #60739 by holch
Did you try to change the template?

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 years 8 months ago #60745 by drrrl

holch wrote: Did you try to change the template?


Yes - the interesting thing is that when I log in as "grzes" (my user, owner of the survey), and edit survey configuration, I can see only "default" template. When I log in as "admin", I can see all templates and can set other then default for this survey. Is is expected behaviour?

Nevertheless, even if I change template for my survey, and run "test survey" as admin, I get to blank page with the same error in Apache log. Also main page is blank.

I didn't have customized templated in my previous installation, so I got current templates directory by unpacking 1.91+ tarball. The access rights should be fine:
# ls -ld templates/
drwxr-xr-x 12 apache apache 4096 May 10 23:27 templates/
# ls -l templates/
total 40
drwxr-xr-x 2 apache apache 4096 May 10 23:27 basic
drwxr-xr-x 2 apache apache 4096 May 10 23:27 bluengrey
drwxr-xr-x 2 apache apache 4096 May 10 23:27 citronade
drwxr-xr-x 2 apache apache 4096 May 10 23:27 clear_logo
drwxr-xr-x 2 apache apache 4096 May 10 23:27 default
drwxr-xr-x 2 apache apache 4096 May 10 23:27 eirenicon
-rw-r--r-- 1 apache apache    0 Jul 29  2006 index.html
drwxr-xr-x 2 apache apache 4096 May 10 23:27 limespired
drwxr-xr-x 2 apache apache 4096 May 10 23:27 mint_idea
drwxr-xr-x 2 apache apache 4096 May 10 23:27 sherpa
drwxr-xr-x 2 apache apache 4096 May 10 23:27 vallendar

Please Log in to join the conversation.

More
5 years 8 months ago #60746 by drrrl
Stupid me - user grzes did not have permission to other templates.

I changed it, but anyway, the main site and testing survey is blank.

Please Log in to join the conversation.

More
5 years 8 months ago #60749 by holch
Hmm, there seem to be still quite a few issues with 1.91. I have seen it is considered to be stable, but there was no information on the website of the release of 1.91.

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #60753 by drrrl
That's right, on the other hand when you enter "Downloads" section ( www.limesurvey.org/en/download ) it says:

Download LimeSurvey 1.91+

Anyway, I just noticed that there is a new (today's) build 10061 and Release Notes say:

Changes from 1.91 (build 10060) to 1.91+ (build 10061) -Fixed issue #5158: Missing backslash in index.php gives throws a "unexpected T_STRING error" (shnoulle)

edit: I installed it and I can see my start page and test surveys :-)
Last Edit: 5 years 8 months ago by drrrl.

Please Log in to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #60754 by sp00ky
This will solve the problem. I had this same issue and adding backslash helped.

You do not need to make new installation, you can only backslash (like I did) at limesurvey\index.php (line 2914).

This:
.submit();"
Should be this:
.submit();\"

Or just copy index.php from new build to your installation.

Original bugtracker: bugs.limesurvey.org/view.php?id=5158
Last Edit: 5 years 8 months ago by sp00ky.

Please Log in to join the conversation.

More
5 years 8 months ago #60755 by drrrl
I did not have many customizations, to reinstallation was like a walk in the park, but thanks for advice!

Please Log in to join the conversation.

More
5 years 8 months ago #60776 by holch
Good that this is solved!

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form