With the new release of phpGedView MySQL 1.22, I have decided I'd like all my Genealogy related files and folders in one subfolder. Hence, I would have seperated my Genealogy files from my scripting stuff.
The structure I'm trying to use is /public_html/genealogy/gedview Currently I have the software running in /public_html/phpgedview and it works fine. I setup the new folder, and uploaded the newly updated copy of GedView, and now I get the following error:
Warning: main(session.php) [function.main]: failed to create stream: No such file or directory in /home/mysite/public_html/GedView/config.php on line 120
Fatal error: main() [function.main]: Failed opening required 'session.php' (include_path='') in /home/mysite/public_html/GedView/config.php on line 120
What is wrong?
Thanks
jt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is saying that it can't find the "session.php" file. Have you checked to make sure that the session.php file is in the GedView directory. It should be if you uploaded all of the files from the latest release. I double checked the zip file to make sure that the session.php file really was in it, and it is. So you should have received a copy of that file.
You should also check to make sure that the proper read permissions are set on the file. The file needs to be readable by the user under which your web server and php run. You can find out what permissions are set from a terminal by running:
ls -l
You should probably make the files world readable.
The unix command to do this is:
chmod w+r session.php
You might want to run that command on all of the files and on the GedView directory:
chmod w+r *
These are the ideas I have about why it wouldn't be able to open the file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All,
With the new release of phpGedView MySQL 1.22, I have decided I'd like all my Genealogy related files and folders in one subfolder. Hence, I would have seperated my Genealogy files from my scripting stuff.
The structure I'm trying to use is /public_html/genealogy/gedview Currently I have the software running in /public_html/phpgedview and it works fine. I setup the new folder, and uploaded the newly updated copy of GedView, and now I get the following error:
Warning: main(session.php) [function.main]: failed to create stream: No such file or directory in /home/mysite/public_html/GedView/config.php on line 120
Fatal error: main() [function.main]: Failed opening required 'session.php' (include_path='') in /home/mysite/public_html/GedView/config.php on line 120
What is wrong?
Thanks
jt
This is saying that it can't find the "session.php" file. Have you checked to make sure that the session.php file is in the GedView directory. It should be if you uploaded all of the files from the latest release. I double checked the zip file to make sure that the session.php file really was in it, and it is. So you should have received a copy of that file.
You should also check to make sure that the proper read permissions are set on the file. The file needs to be readable by the user under which your web server and php run. You can find out what permissions are set from a terminal by running:
ls -l
You should probably make the files world readable.
The unix command to do this is:
chmod w+r session.php
You might want to run that command on all of the files and on the GedView directory:
chmod w+r *
These are the ideas I have about why it wouldn't be able to open the file.
John, Thanks for the reply
I found that some of the file in the folder were not readable to the public. Session was one.
When using the MySQL version, does the use of the index help?
I currently set this option to false in config.php.
Thanks
John
Mouse moved, time to reboot windows.....
The the config.php parameter for using index files doesn't do anything in the mysql version. I guess that I forgot to take it out. ;-}