- Posts: 2
- Thank you received: 0
Blank Page After Installation
I found the help tip in the install manual:
After Database Creation
Blank Page after Database Creation
LimeSurvey installed OK, and database was created, but instead of the admin page, you get an empty page
Web surver log shows "Fatal error: Call to a member function on a non-object in /path/to/limesurvey/admin/login_check.php on line 69"
This is probably an incorrect setting for $rooturl or $rootdir in config.php. In particular, config.php attempts to set $rootdir correctly by calling dirname(__FILE__) and while this usually works, it can be upset when LimeSurvey is installed in a user's home or public_html directory and the home directory is mounted over NFS. Try setting $rootdir manually, and in particular, while your shell or pwd command may show a path like "/disks/hostname/home/username/public_html/limesurvey", try using "/home/username/public_html/limesurvey".
The problem is I'm not sure how to modify the basepath:
return array( 'basePath' => dirname(dirname(__FILE__)),
I tried this (with and without the single quotes) but it didn't work:
return array( 'basePath' => '/public_html/mysite.com/limesurvey',
Thanks for your help