I have installed your latest nightly snap-shot 17-Jun-2007 on our test server. I updated a copy of our database using the supplied sql scripts as well as modifying the Release_Constraints and the Secured_Constraints files. When I launched the web site, there was just a blank page. I tried to view the source code but it was blank as well. There were also no errors generated.
I believe I have followed all the set up procedures but I must have missed something.
Any help would be appreciated.
Thanks in advance.
Richard Morency
BCIT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My first disclaimer is that the documentation to installing the bleeding edge version of Mamook is somewhat incomplete unfortunately. So, I apologize ahead of time :)
Now, the reason that you're getting a blank white screen is that PHP is getting a fatal error or something, but error messages are being suppressed. To activate error messages simply put this line at the top of mamook.php:
ini_set('display_errors', 1);
Alternatively, you can go into your PHP.ini (on your test box) and turn 'display_errors' on as well.
That will at least give us an error message to play with, and we'll go from there.
Cheers
-Chris Chan
Mamook Core Developer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, that helped. The error I am getting is (Fatal error: Call to undefined function dumpToLog() in /var/www/html/mamook/mamook.php on line 144). Line 144 in mamook.php is (dumpToLog("POST AUTHENTICATION CONDITIONS {\n");) I have set up the authentication the same way I did with the older version. Not sure what the problem is.
Thanks
Richard Morency
BCIT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On line 141, Mamook is trying to call a function called dumpToLog() which doesn't seem to exist anymore. I'll consult with the other coders to figure out what happened to this function.
For now, go to line 141, and remove (or comment out) this block of code:
Thanks, that trick worked. I am now able to bring up the login screen but I can't login. In the old version we used the login script method but it does not seem to work in this new version. The authentication system seems to be different in this version.
Any ideas on how we could get the login to work either with or with out our script.?
Thanks.
Richard Morency
BCIT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Chris,
I have installed your latest nightly snap-shot 17-Jun-2007 on our test server. I updated a copy of our database using the supplied sql scripts as well as modifying the Release_Constraints and the Secured_Constraints files. When I launched the web site, there was just a blank page. I tried to view the source code but it was blank as well. There were also no errors generated.
I believe I have followed all the set up procedures but I must have missed something.
Any help would be appreciated.
Thanks in advance.
Richard Morency
BCIT
Hi Richard,
My first disclaimer is that the documentation to installing the bleeding edge version of Mamook is somewhat incomplete unfortunately. So, I apologize ahead of time :)
Now, the reason that you're getting a blank white screen is that PHP is getting a fatal error or something, but error messages are being suppressed. To activate error messages simply put this line at the top of mamook.php:
ini_set('display_errors', 1);
Alternatively, you can go into your PHP.ini (on your test box) and turn 'display_errors' on as well.
That will at least give us an error message to play with, and we'll go from there.
Cheers
-Chris Chan
Mamook Core Developer
Hi Chris
Thanks, that helped. The error I am getting is (Fatal error: Call to undefined function dumpToLog() in /var/www/html/mamook/mamook.php on line 144). Line 144 in mamook.php is (dumpToLog("POST AUTHENTICATION CONDITIONS {\n");) I have set up the authentication the same way I did with the older version. Not sure what the problem is.
Thanks
Richard Morency
BCIT
Hi Richard,
On line 141, Mamook is trying to call a function called dumpToLog() which doesn't seem to exist anymore. I'll consult with the other coders to figure out what happened to this function.
For now, go to line 141, and remove (or comment out) this block of code:
if (DEBUG)
{ // *** DEBUG CODE BELOW ***
dumpToLog("POST AUTHENTICATION CONDITIONS {\n");
dumpToLog("\tUserlevel: " . $auth->getUserLevel() . "\n");
dumpToLog("\tLogin: " . $auth->login . "\n");
dumpToLog("\tDepartment: " . $auth->department . "\n");
dumpToLog("}\n");
}
It shouldn't affect the functionality of Mamook since this is just some code for debugging.
Lets see if that helps.
Cheers
-Chris Chan
Hi Chris
Thanks, that trick worked. I am now able to bring up the login screen but I can't login. In the old version we used the login script method but it does not seem to work in this new version. The authentication system seems to be different in this version.
Any ideas on how we could get the login to work either with or with out our script.?
Thanks.
Richard Morency
BCIT