Home arrow Support arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Blank Page after Database Creation problem (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Blank Page after Database Creation problem
#21821
giopas (User)
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Blank Page after Database Creation problem 1 Month, 1 Week ago Karma: 0  
Hi *

I'd like at first to thank you all for your excellent work: I used the old phpsurveyor a couple of years ago, since then you improved it sooo much!

Ok, let's talk about my problem:

The fact

1. I wanted to install limesurvey 1.80RC2 on a Windows NT server where I'm not the admin.

2. I made the admin (apparently) solving a mbstring issue, and properly configured the database (/admin/install/index.php).

The problem

When I try to access to the admin panel (/admin/admin.php), I receive a blank page.

Understanding the problem

1. I had a look at the wiki FAQ page and I tried without succeed all possible combinations of $rootdir starting from a phpinfo.php, and in particular from this line:

Code:

SCRIPT_FILENAME C:www-rootmy-site.comwwwsurveyphpinfo.php


2. I went on IRC and I've found ElMatador69 that very kindly tried to help me with the following suggestions:

[*] upload again sources on the site (just in case of some transfer network issue
[*] enable debug in config.php
Code:

$debug = 1;

[*] have a look at phpmyadmin

In phpmyadmin I've finally found what it could be the problem, since I could read the following error:
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

However in phpinfo.php I can see the following information:

Code:

Multibyte Support                  enabled
Multibyte string engine                  libmbfl
HTTP input encoding translation          enabled
Multibyte (japanese) regex support          enabled
Multibyte regex (oniguruma) version          4.4.4
Multibyte regex (oniguruma) backtrack check  On 

Directive               Local Value                 Master Value
mbstring.detect_order       ASCII,JIS,UTF-8,SJIS,EUC-JP ASCII,JIS,UTF-8,SJIS,EUC-JP
mbstring.encoding_translation On                         On
mbstring.func_overload       0                         0
mbstring.http_input       UTF-8,SJIS,EUC-JP         UTF-8,SJIS,EUC-JP
mbstring.http_output       UTF-8                         UTF-8
mbstring.internal_encoding    UTF-8                         UTF-8
mbstring.language       Japanese                 Japanese
mbstring.strict_detection     Off                         Off
mbstring.substitute_character long                         long



That's strange: phpmyadmin can't find the plugin, whereas php does!

I'm not even sure about the problem: maybe it's just related to $rootdir, but can someone tell me what have I eventually to put in config.php instead of dirname(__FILE__) ?

Thank you for your work and help!

enjoy,
giopas
 
Logged Logged  
 
Last Edit: 2008/12/03 22:41 By giopas.
  The administrator has disabled public write access.
#21830
Mazi (Moderator)
Moderator Lime
Posts: 3514
graph
User Offline Click here to see the profile of this user
Re:Blank Page after Database Creation problem 1 Month ago Karma: 28  
Did you also have a look at "Any action in admin page will return you to login screen"?

Please upload a phpinfo file so we can take a look at your server configuration. Just put the following code into a file named phpinfo.php and upload it to your webserver:
Code:

 <?php phpinfo(); ?> 

After uploading please post the link to the file.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#21848
giopas (User)
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Blank Page after Database Creation problem 1 Month ago Karma: 0  
Hi Mazi, thank you for you answer!

This afternoon (in EU), I've received an email of my server administrator saying that the problem has been solved, indeed.

Apparently mbstring library gave some kind of problem to "other hosted sites" (it's a professional hosting service for corporate sites) and after having disabled such extension in the morning, the admin finally succeeded solving the problem in the afternoon. However he told me that "scripts [limesurvey? mbstring?] were not 100% compliant with their webserver security policies".

I've already asked for more details about the solution (and which kind of security policies did 'em broke), so I will report them here for everybody.

Thank you again!

enjoy,
giopas
 
Logged Logged  
  The administrator has disabled public write access.
#21864
giopas (User)
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Blank Page after Database Creation problem 1 Month ago Karma: 0  
Just for completeness, I report the solution found by the site admin:

The filesystem function "realpath" was disabled, to restrict information about server and tree filesystem configuration. However limesurvey needs use it.

Ici quelque info sur realpath.

enjoy,
giopas
 
Logged Logged  
  The administrator has disabled public write access.
#21876
Mazi (Moderator)
Moderator Lime
Posts: 3514
graph
User Offline Click here to see the profile of this user
Re:Blank Page after Database Creation problem 1 Month ago Karma: 28  
Thanks for your feedback.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top