Menu

Installation problem

Help
Anonymous
2011-01-16
2013-05-30
  • Anonymous

    Anonymous - 2011-01-16

    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.

    PHP-info: http://piil.org/info.php
    The structure of the webserver is something like:

    home
    ---htdocs
    ------phpGedview
    ---includes (which is why the include path in the error looks like it does, I guess. I have tried putting the includes-dir here also, but that doesn't change anything, of course)
    ---
    ---
    Any ideas would be appriciated.
    
     
  • Gerry Kroll

    Gerry Kroll - 2011-01-16

    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.

     
  • Anonymous

    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:

    require_once 'includes/classes/class_person.php';
    

    With

    require_once '/home/piil.org/htdocs/phpGedview/includes/classes/class_person.php';
    

    I then get the error messages in line 35 instead, trying to require class-family.php.

     
  • Gerry Kroll

    Gerry Kroll - 2011-01-17

    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?

     
  • Anonymous

    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.

    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

     
  • Anonymous

    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.

     
  • Anonymous

    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.

     
  • Gerry Kroll

    Gerry Kroll - 2011-01-18

    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.

     
  • Gerry Kroll

    Gerry Kroll - 2011-01-19

    We're taking this discussion off-line for the time being.

     
  • Rob Peters

    Rob Peters - 2011-01-19

    Check the owner and group setting, and permission for the directories.

     
  • Anonymous

    Anonymous - 2011-01-21

    Hi,

    Thanks. The owner is piil.org (the webhotel-user). It makes no difference if ALL the files and dirs are 777.

     
  • Anonymous

    Anonymous - 2011-01-25

    Nothing from there.

    The temp solution is a selvmanaged LAMP-server instead… :-(
    http://212.10.217.129/ for the curious.

     

Log in to post a comment.