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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-08-04
Thanks John,
That was the solution. It works!
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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
just to confirm - you have this line in your config.php:
$PGV_DATABASE = "mysql"; ?
Jim
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
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
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
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
Thanks John,
That was the solution. It works!
Paul