Menu

obtuse php errors (at least to me)

Help
Anonymous
2004-01-10
2004-01-10
  • Anonymous

    Anonymous - 2004-01-10

    This is my first php project, and my first webserver.  I'm using 2.65b5 due to the security warning.  When installing I just tried to follow the directions given by readme.txt.  When it said that write permissions had to be given for authenticate.php, config.php, and ./index, I simply changed the owner to my local user account and did chmod 664 for the three files in questions.  After finishing the configuration page, I was asked to set up an Administrator account.  I filled this information in, and when I submitted it, I got errors talking about permission denied for specific files.  I then went in and gave write permissions to all for the files mentioned, and tried to reload the page.  More errors popped up, and I just gave write permission for the entire folder.  This didn't work.  I ended up removing phpGedView from the computer, restarting, and starting again.  Unfortunately, I can't even get back to square one now; I continually get the same error message now.  I guess this means there's some stored data somewhere else than the phpgedview folder.
    The error message I can't get rid of:

    Warning: stat failed for themes/standard/theme.php (errno=13 - Permission denied) in /var/www/html/phpGedView/config_gedcom.php on line 122

    Fatal error: Failed opening required 'themes/standard/theme.php' (include_path='.:/usr/share/pear') in /var/www/html/phpGedView/config_gedcom.php on line 125

    Any help would be appreciated; I'm at a complete loss.

     
    • Anonymous

      Anonymous - 2004-01-10

      Hello Bill,

      The error message is saying that it cannot open the file theme.php in the folder themes/standard. This folder is located in the PGV base folder. Can you please check if the file /var/www/html/phpGedView/themes/standard/theme.php is present?

      If you want to start all over again you can do the following:
      Please check the config.php file at the bottom it will say: $CONFIGURED = true; Please change true to false. This will cause PGV to go back to its initial start page.

      Please let me know how it goes.

      Regards,

      Roland

       
    • Arne Eckmann

      Arne Eckmann - 2004-01-10

      Hi Bill

      I can add that it might be a good idea to chmod the files authenticate.php and config.php plus the index folder to 777 for the first setup - you can always change it afterwards.

      In addition to setting $CONFIGURED = false; in the config.php file, it may be a good idea to replace authenticate.php with a fresh copy or to ensure that its content are:

      <?php
      # $Id: authenticate.php,v 1.7 2003/12/09 16:23:49 yalnifj Exp $
      $users = array();

      ?>

      best regard

      Arne

       
    • Anonymous

      Anonymous - 2004-01-10

      Thanks for the help.  I'm no longer getting that error.

       

Log in to post a comment.