I have a problem installing phpGedview 4.2.4 (I also tried 4.1 with a similar result).
My host meet the requirements of pgv and I have altered the write permissions correctly. When running the install script I get:
Warning: require_once(includes/classes/class_person.php) : failed to open stream: No such file or directory in /home/piil.org/htdocs/phpGedview/includes/classes/class_gedcomrecord.php on line 34
Fatal error: require_once() : Failed opening required 'includes/classes/class_person.php' (include_path='/home/piil.org/includes/') in /home/piil.org/htdocs/phpGedview/includes/classes/class_gedcomrecord.php on line 34
The files are of course there and I have tried reinstalling a few times - just to make sure.
I can run through the errors and replace the require_once functions with absolute paths, fixing the problem, only to get the error in the next require-call.
home---htdocs------phpGedview---includes(whichiswhytheincludepathintheerrorlookslikeitdoes,Iguess.Ihavetriedputtingtheincludes-dirherealso,butthatdoesn't change anything, of course)------Any ideas would be appriciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you're installing PhpGedView, it's very important to have all of the file and directory structure identical to what's been distributed.
You unzip the ZIP file to a temporary directory on your local PC. In that temporary directory, you'll find a bunch of files and subdirectories. Copy the whole works to whatever directory on the server you want PGV to live in. The name of this server directory doesn't matter, but it DOES matter when you submit a URL to launch PGV.
Suppose the webroot contains a directory "foo", and you've copied the PGV files and directories to this directory "foo". You would then callup PhpGedView by using a URL like http://www.yoursite.com/foo
You need to set the file and directory permissions properly. 755 for everything except file "config.php", and directories "index" and "media, which require 777. "config.php" should be reset to 755 when you've got your site working and have finished site configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-16
Hi,
All that has been done… (666/644 must be ok for files eg. config.php, right?)
I have tried several times. Both with the basic and the full package.
When I alter the require_once statement in includes/classes/class_gedcomrecord.php on line 34 with at full path to the required file it does get accepted. Replacing:
Your PHP system, installed on the server, isn't processing the include path correctly. Are you running a current version of PHP 5?
Why do you have an "includes" directory that's at the same directory level as the PGV install?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-18
Thanks. I expected something like that…still, havn't got a clue what to do about it. The phpinfo looks alright. If I could just point at something there that I could raise to my service provider.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-18
Btw.
I have already tried to upload the requested files to /home/piil.org/includes/ (which is the servers include-path) as opposed to /home/piil.org/htdocs/phpGedview/includes
no change.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-18
Maybe someone could post a link to their phpinfo() from a webserver with a working installation of pgv - then I could start scanning for differences in the php-implementations.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please e-mail me: gkroll at keldine dot ca --- you haven't provided SourceForge with any contact information, so I can't e-mail you through the SourceForge link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a problem installing phpGedview 4.2.4 (I also tried 4.1 with a similar result).
My host meet the requirements of pgv and I have altered the write permissions correctly. When running the install script I get:
Fatal error: require_once() : Failed opening required 'includes/classes/class_person.php' (include_path='/home/piil.org/includes/') in /home/piil.org/htdocs/phpGedview/includes/classes/class_gedcomrecord.php on line 34
The files are of course there and I have tried reinstalling a few times - just to make sure.
I can run through the errors and replace the require_once functions with absolute paths, fixing the problem, only to get the error in the next require-call.
PHP-info: http://piil.org/info.php
The structure of the webserver is something like:
When you're installing PhpGedView, it's very important to have all of the file and directory structure identical to what's been distributed.
You unzip the ZIP file to a temporary directory on your local PC. In that temporary directory, you'll find a bunch of files and subdirectories. Copy the whole works to whatever directory on the server you want PGV to live in. The name of this server directory doesn't matter, but it DOES matter when you submit a URL to launch PGV.
Suppose the webroot contains a directory "foo", and you've copied the PGV files and directories to this directory "foo". You would then callup PhpGedView by using a URL like http://www.yoursite.com/foo
You need to set the file and directory permissions properly. 755 for everything except file "config.php", and directories "index" and "media, which require 777. "config.php" should be reset to 755 when you've got your site working and have finished site configuration.
Hi,
All that has been done… (666/644 must be ok for files eg. config.php, right?)
I have tried several times. Both with the basic and the full package.
When I alter the require_once statement in includes/classes/class_gedcomrecord.php on line 34 with at full path to the required file it does get accepted. Replacing:
With
I then get the error messages in line 35 instead, trying to require class-family.php.
Your PHP system, installed on the server, isn't processing the include path correctly. Are you running a current version of PHP 5?
Why do you have an "includes" directory that's at the same directory level as the PGV install?
Thanks. I expected something like that…still, havn't got a clue what to do about it. The phpinfo looks alright. If I could just point at something there that I could raise to my service provider.
I'm running PHP Version 5.2.16 (from http://piil.org/info.php)
My directory structure looks like this:
http://dl.dropbox.com/u/2044756/hierarki.png
Btw.
I have already tried to upload the requested files to /home/piil.org/includes/ (which is the servers include-path) as opposed to /home/piil.org/htdocs/phpGedview/includes
no change.
Maybe someone could post a link to their phpinfo() from a webserver with a working installation of pgv - then I could start scanning for differences in the php-implementations.
Please e-mail me: gkroll at keldine dot ca --- you haven't provided SourceForge with any contact information, so I can't e-mail you through the SourceForge link.
We're taking this discussion off-line for the time being.
Check the owner and group setting, and permission for the directories.
Hi,
Thanks. The owner is piil.org (the webhotel-user). It makes no difference if ALL the files and dirs are 777.
Nothing from there.
The temp solution is a selvmanaged LAMP-server instead… :-(
http://212.10.217.129/ for the curious.