-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank screen or empty response at login screen #10
Comments
Tracing include/vitals.inc.php prompted me to test for the validity of the generated config.inc.php: bash-3.2$ php -l include/config.inc.php Parse error: parse error in include/config.inc.php on line 20 Line 20 is the DB_PASSWORD which has a quote (U+0027)... |
write_config_file() is in include/install/config_template.php |
write_config_file() uses a simplistic str_replace() on a template string. We are stuck. |
I was suggested that addslashes and stripslashes should be $addslashes and $stripslashes. But doing that caused “Fatal error: Function name must be a string in /Users/ambrose/Sites/projects/ATutor/include/install/config_template.php on line 37” error.” |
Using call_user_func with $addslashes apparently works, but it generates Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /Users/ambrose/Sites/projects/ATutor/include/install/config_template.php on line 37 |
The real problem should be include/vitals.inc.php not having been included. It looks like we’re supposed to include it upstream as opposed to include_once where it’s needed… |
Pressing the “Log-in!” [sic] button at step 7 produces a blank screen at URL login.php?submit=%BB+Log-in%21
If we manually change the URL to just login.php we get an empty response. The headers are still intact and is 200 OK, but there is no content.
The text was updated successfully, but these errors were encountered: