Menu

Error after new installation of PhpGedView

Help
Anonymous
2004-08-02
2004-08-04
  • Anonymous

    Anonymous - 2004-08-02

    I tested phpgedview without data base and was inspired by the possibilities.

    After the test I deleted the test version.

    Again Installation:

    The installation of mysql was successful.

    The installation of phpmyadmin was successful.

    Successfully provide user and data base for PhpGedView in mysql.

    Unzip of phpGedView 3,1 successfully in htdocs

    Now the problems began:

    After typing  "http://localhost/phpgedview/" the answer was

    Warning: main(authentication_index.php): failed to open stream: No such file or directory in c:\apache\htdocs\PhpGedView\session.php on line 224

    Fatal error: main(): Failed opening required 'authentication_index.php' (include_path='.;c:\php4\pear') in c:\apache\htdocs\PhpGedView\session.php on line 224

    and after "http://localhost/phpgedview/config.php"

    Got your hand caught in the cookie jar.

    I found neither in the FAQ nor in the forum a reference to these
    errors.

    Can someone help me?

     
    • Jim Carey

      Jim Carey - 2004-08-02

      you need to change the config.php to show that you are using the mysql version now - also will need the mysql username and password.

      That error message shows that the program still thinks you are in non-mysql (ie index) mode

      jim

       
    • Anonymous

      Anonymous - 2004-08-03

      Jim, thanks for your answer.
      I adapted config.php according to your data.
      No progress. The URL  "http://localhost/phpgedview/"  always changes to "http://localhost/phpgedview/editconfig.php" and this error message appears:

      Warning: main(authentication_index.php): failed to open stream: No such file or directory in c:\apache\htdocs\phpgedview\session.php on line 224

      Fatal error: main(): Failed opening required 'authentication_index.php' (include_path='.;c:\php4\pear') in c:\apache\htdocs\phpgedview\session.php on line 224

      Which I do not understand: I made a complete new installation. Why reacts phpgedview not as first time?

      With the installation or during the execution of phpgedview are any
      data stored outside of the phpgedview-directory?

      Somehow it should be nevertheless possible to make phpgedview running.

      I am grateful for each suggestion.

      Paul

       
      • Jim Carey

        Jim Carey - 2004-08-03

        just to confirm - you have this line in your config.php:

        $PGV_DATABASE = "mysql";    ?

        Jim

         
    • Anonymous

      Anonymous - 2004-08-03

      Besides that line you should also have this line:

      $AUTHENTICATION_MODULE = "authentication_mysql.php";

      Your config file now reads:
      $AUTHENTICATION_MODULE = "authentication_index.php";

      Or not?

      Regards,

      Roland

       
    • John Finlay

      John Finlay - 2004-08-04

      The real problem here is that PhpGedView cannot find the authentication_index.php file.  Verify that this file is in the phpgedview directory.

      Even though you want to use the MySQL version you still need to have the authentication_index.php file in order to run the first configuration of editconfig.php because it assumes index mode.  The editconfig.php file will automatically edit the config.php file.  I reccommend using the editconfig.php script to change the configuration settings.

      Now you can manually configure your site by editing the config.php file.  There should be a section in the readme about manually configuring, but the short version is to set:
      $PGV_DATABASE = "mysql";
      $AUTHENTICATION_MODULE = "authentication_mysql.php";
      $CONFIGURED = true;

      --John

       
    • Anonymous

      Anonymous - 2004-08-04

      Thanks to all.

      John, there is no file beginning with authentication* in the phpgedview directory. There is also no such file in the *.zip.
      Remember: I deleted phpgedview (the whole directory in htdocs!). I wanted to start completely new.

      I can make these files manually. With which contents?
      But actually I would like to make the configuration rather online.

      Paul

       
    • John Finlay

      John Finlay - 2004-08-04

      Hi Paul,

      I just downloaded the zip file again to make sure that it had all of the files.  And they are in the zip file.

      You could have gotten an incomplete zip file or it could have been corrupted during your download.  You should first try downloading the 3.1 zip file again.

      --John

       
      • Anonymous

        Anonymous - 2004-08-04

        Thanks John,
        That was the solution. It works!

        Paul

         

Log in to post a comment.