It doesn't work on localhost

Help
2007-10-19
2013-03-27
  • Elaine Barros
    Elaine Barros
    2007-10-19

    It doesn't seem to work on localhost.
    I just receive a blank page when I try to acess www/index.php
    I think it's because the congif.user configurations:

       $site_root_offline="/var/www/ppm";                 #YOUR OFFLINE PATH
       $site_root="$site_root_offline/public_html";       #YOUR ONLINE PATH
       $root_domain="http://127.0.0.1";                   #YOUR DOMAIN ex: http://mysite.com
       $root_url="http://127.0.0.1/ppm";                                      #SUBURL [OPTIONAL] ex: "/ppm" if ppm installed in http://mysite.com/ppm

    I'm sure it's installed under the 'www' folder named as 'ppm'.
    Can anybody help me?

     
    • Oleg Savchuk
      Oleg Savchuk
      2007-10-22

      Hello,

      if you installed all files to /var/www/ppm, then your config file should look like this:

      $site_root_offline="/var/www/ppm";
      $site_root="$site_root_offline";
      $root_domain="http://127.0.0.1";
      $root_url="http://127.0.0.1/ppm";

      I.e. I've changed $site_root

      Thanks,
      Oleg Savchuk

       
      • Elaine Barros
        Elaine Barros
        2007-10-22

        I've changed to this:

        $site_root_offline="./";
        $site_root="$site_root_offline";
        $root_domain="http://127.0.0.1";
        $root_url="http://127.0.0.1/ppm";

        And now the main page shows up. But, when I click the link to to the login page, the login page is blank again.

         
        • Elaine Barros
          Elaine Barros
          2007-10-30

          I'll be waiting for the new version, then.
          I just can't get the right offline path at localhost.

          Thanks, anyway. :)

           
    • Oleg Savchuk
      Oleg Savchuk
      2007-10-30

      No, you can't use relative paths in $site_root_offline

      $site_root_offline="./";

      you have to write full path like :
      $site_root_offline="/var/www/ppm";

      or whenever pPM installed.

      Anyway, nearest version of pPM will include simple and easy automatic configuration/installation script, so you will not need to edit config files at all.

      Thanks,
      Oleg