I am trying to install PSA 4. I followed the instructions in the INSTALL file.
I copied PSA files under www root, and tried to reach the following URL: http://localhost/PSA/index.php and this is what I get the following:
I just tried a fresh install of your program and it works fine. However, when I add another page private.php with the _restrict.php required, I get the following error:
Parse error: parse error in /home/vhosts/richard/projects/rcatest/httpdocs/psa/_restrict.php on line 33
Private page
The final "Private page" parse is from the private.php page.
Can you suggest a fix?
Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to install PSA 4. I followed the instructions in the INSTALL file.
I copied PSA files under www root, and tried to reach the following URL: http://localhost/PSA/index.php and this is what I get the following:
[Login] [Logout] [Forget Password?]
* Users
* Profiles
* Pages
* Settings
* Documentation
* phpSecurityAdm 4.0.b01
* Valid XHTML 1.0 Strict
Notice: A session had already been started - ignoring session_start() in \psa4.0\_restrict.php on line 32
Fatal error: Call to a member function on a non-object in \psa4.0\_restrict.php on line 59
What's the problem exactly?
Thanx for your help.
Looks like the restrict file was running session start not matter what... Small change to the file:
if(!defined('PSA_CONFIG_INC'){
require PSA_PATH.'/include/config.php';
session_start();
}
(Just wrapped the 2 lines inside an if statement.) I will try to get this up in a release ASAP.
I just tried a fresh install of your program and it works fine. However, when I add another page private.php with the _restrict.php required, I get the following error:
Parse error: parse error in /home/vhosts/richard/projects/rcatest/httpdocs/psa/_restrict.php on line 33
Private page
The final "Private page" parse is from the private.php page.
Can you suggest a fix?
Richard
Sorry, there was a missing ")" for the if condition. I'll update the release file.