Menu

Install problem

Help
Kizman
2005-03-09
2013-03-22
  • Kizman

    Kizman - 2005-03-09

    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.

     
    • Justin Koivisto

      Justin Koivisto - 2005-03-14

      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.

       
    • Richard Asp

      Richard Asp - 2005-03-23

      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

       
      • Justin Koivisto

        Justin Koivisto - 2005-03-28

        Sorry, there was a missing ")" for the if condition. I'll update the release file.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.