Menu

Fatal Error

Help
Anonymous
2003-10-28
2003-10-28
  • Anonymous

    Anonymous - 2003-10-28

    I get this message when trying to automatically begin the online configuration process:

    Fatal error: Failed opening required 'themes/standard/theme.php' (include_path='c:\php4\pear') in d:\html\users\tossickcom\html\phpgedview\config_gedcom.php on line 109

    My site is PHP compatible and the authenticate and config php files and the phpgedview folder are all writeable.  I do not understand what the "./index" file is.  HELP PLEASE.

     
    • L Rutker

      L Rutker - 2003-10-28

      Within the phpGedView directory there is a directory "index". Write permisions need to be set for this dir.
      Hope this helps

       
      • Anonymous

        Anonymous - 2003-10-28

        I did add a subdirectory to the phpgedview directory.  Nada.  Same error.  I have the latest beta version as well as 2.51

         
    • John Finlay

      John Finlay - 2003-10-28

      You appear to be missing the themes directory.  When you downloaded phpGedView you should have gotten a zip file.  Expanding that zip file will give you a phpGedView folder.  In that folder are all of the .php files and some directories.  One of the directories is the "themes" directory.  The themes directory is where all of look and feel settings are kept.

      Make sure that the "themes" directory and everything in it got uploaded to your server.

      --John

       
    • Anonymous

      Anonymous - 2003-10-28

      Well this could be part of the problem.  My zip files (both versions) DO NOT have "index" or "theme" directories as folders.  I did add both subdirectories to my phpgedview directory and still get the same error message as original.  Are there other subdirectories  besides index and theme?

       
    • Anonymous

      Anonymous - 2003-10-28

      Okay. Added THEME and INDEX subdirectories, but now I get this.  (There is no header information at the end):

      CGI Error
      The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

       
    • John Finlay

      John Finlay - 2003-10-28

      In the readme.txt file is a file structure section that tells you all of the files that you should have received with the project.  You will need all of these files and directories in order for the program to work.

      If you are using FTP to upload your files, some FTP programs don't copy subdirectories and you have to manually upload each subdirectory manually.

      --John

       
    • John Finlay

      John Finlay - 2003-10-28

      The subdirectories are: images, index, languages, media, and themes.

      The "media" directory has a "thumbs" subdirectory.

      The "themes" directory has "standard", "minimal", "ocean", and "wood" subdirectories.  These directories have theme .php files and .html files in them that you will need.

      Your zip file should have included all of these files in it.  I don't think that anyone else has downloaded a zip without them.

      --John

       
    • Anonymous

      Anonymous - 2003-10-28

      Okay, folders issue resolved. Somehow WinZip stripped the folders out of the zip file.  Downloaded again and extracted.  All is well with folder and file issues.  Got to the initial config screen, but now get this (I'm sure all the files have proper write permissions -- "-rwxrwxrwx"):

      Warning: fopen("config.php", "wb") - Permission denied in d:\html\users\tossickcom\html\phpgedview\editconfig.php on line 151
      Error writing configuration file. Check permissions and try again.

       
    • John Finlay

      John Finlay - 2003-10-28

      Sometimes you need to set permissions on the PhpGedView directory containing the config.php file.

      --John

       
    • Anonymous

      Anonymous - 2003-10-28

      To get this far and be stuck is very frustrating. I'm sorry to be a bother, but all the files in the entire directory, as well as all the subfolders are all "read, write, execute" for "owner, group, and public".  What else could be causing this error:

      Warning: fopen("config.php", "wb") - Permission denied in d:\html\users\tossickcom\html\phpgedview\editconfig.php on line 151
      Error writing configuration file. Check permissions and try again.

       
    • John Finlay

      John Finlay - 2003-10-28

      There usually isn't a permissions problem running on windows machines.  What version of windows is your host machine running.

      --John

       
    • Anonymous

      Anonymous - 2003-10-28

      NT 4.0 at readyhosting.com.  I'm using XP Pro.  I'v e doublechecked and the files and folders all have permissions.  I'm going to try deleting my cache and uploading the config.php file.

       
    • Anonymous

      Anonymous - 2003-10-28

      DAMN.  Did all that and still the same error:

      Warning: fopen("config.php", "wb") - Permission denied in d:\html\users\tossickcom\html\phpGedView\editconfig.php on line 151
      Error writing configuration file. Check permissions and try again.

       
    • John Finlay

      John Finlay - 2003-10-28

      After the error there should be a prompt to let you download the configuration file you just created and manually upload it to the server.  I know this is a inconvenience for you, but it will allow you to work around the problem temporarily.

      I think that your next step is to talk to the tech support people at readyhosting.com and see if they can tell you why the permissions aren't being set even though you are being told that they are.

      --John

       
    • Anonymous

      Anonymous - 2003-10-28

      There is NO prompt for this (no prompt at all). 

       
    • John T

      John T - 2003-10-28

      Not to beat a dead horse and all, but I suspect that as a windows user, your simply opened the file in winzip and dragged the files out to a folder.  These file need to be Extracted to maintain the folder structure.

       
    • Anonymous

      Anonymous - 2003-10-28

      Horse died. I think you're right John Trainer. The second time I "extracted" and it worked. On the permissions thing, I just learned that readyhosting.com doesn't allow the user to change the permissions. I called and they reset the permission on authenticate.php, config.php, and the index subfolder.  Got logged in and then their server went down.  Duh. When it rains it pours.  Hopefully I'll be able to get this configured soon...  Seriously thanks for both John's time and trouble. This appears to be a kick-ass program.  I was using Uncle Ged, but it seems like it sometimes switches fields around (?).  Thanks again!

       

Log in to post a comment.