Menu

Installation Error

Help
Anonymous
2003-11-24
2004-02-26
  • Anonymous

    Anonymous - 2003-11-24

    I've tried to install this software (as it sounds amazingly great) but am getting the following error:

    "Warning: chmod(): Operation not permitted in /public_html/editconfig.php on line 311
    We have detected that you configuration file is not writable by PHP. You can use the download button to save your settings to a file that you can upload manually."

    I've tried setting the chmod settings a kajillion ways and I've tried a few other things but I can't figure out what the heck is going wrong.

    Any help would be appreciated as I would love to be able to utilize this program.

     
    • KosherJava

      KosherJava - 2003-11-24

      From the readme:
      "Write permissions will need to be set for the following files or directories: authenticate.php, config.php, ./index"
      the first 2 are files, the last is the index dir

       
      • Anonymous

        Anonymous - 2003-11-24

        Been there, done that. The only reason I'm asking for help here is that the answer has eluded me beyond the readme and installation info.

        I can't find the answer, hence my post.

         
        • Thomas Gail Haws

          Please answer this.  I also am unable to get a successful install of 2.65.3 as I am asking in another thread.  Mine is saying:
          Warning: main(themes/standard/theme.php): failed to open stream: Permission denied in /home/happyhav/public_html/hawsedc/phpGedView/config_gedcom.php on line 129

          Fatal error: main(): Failed opening required 'themes/standard/theme.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/happyhav/public_html/hawsedc/phpGedView/config_gedcom.php on line 129

          I also would like to see a list of all recommended directory and file permissions just so I can check all mine.

           
    • John Finlay

      John Finlay - 2003-11-24

      Are you using the chmod command in a SSH terminal or from an FTP client? 

      The following commands will set your permissions to the most liberal setting:
      chmod 777 config.php
      chmod 777 ./index
      chmod 777 authenticate.php

      If you are using an FTP client, these commands may not work.  Most hosts allow you to change properties using an SSH terminal, or through some sort of control panel program.

      If your host won't allow you to change the file permissions, then after you save the settings you will have the option of downloading the config.php file and uploading it yourself.  This will be inconvenient, but possilbe.

      --John

       
    • Anonymous

      Anonymous - 2003-11-25

      I too have the same problem and error.  I have checked and verified the permissions status.  I get an error writing to the editconfig.php file.  EVERY single file I have is 777.  I think my problem is that the root directory I am given is /www, the folder I normally use for webpages is /www/www though I have installed the files in /www/family/   I dont have access to ./  any suggestions?

      I can not even save the config file.

       
    • Himanshu Gohel

      Himanshu Gohel - 2004-01-03

      An easy way to find out what phpGedView is having trouble with is to look at the line number in the error message...my file doesn' seem to correspond to yours, so you'll have to check your current install.

      I had to add world read permissions to all the directories under phpGedView such as themes, languages, etc. to make things work.  This was not listed in the install instructions and/or readme.

       
    • Himanshu Gohel

      Himanshu Gohel - 2004-01-04

      To set the privacy options, I had to add world write permissions to privacy.php as well -- not documented.

       
      • Phantomas

        Phantomas - 2004-01-04

        As I wrote somewhere else before there is a built in check in the next release that warns you if you have no write permissions while trying to edit the privacy...

        Bye, Kurt

         
    • Thomas Gail Haws

      You have to CHMOD 755 everything from phpGedView/ down then CHMOD 777 the required files.

      ===Play-by-play======
      I may not have experienced the exact same problem as you, but here is how I installed.

      Since I couldn't figure out how to ftp the files from sourceforge to my server, I downloaded the install files (tar.gz) via dialup to my home computer, then up to my server's www (public_html) folder.

      I unzipped the program in SSH terminal file in the www (public_html) directory.  It went automatically to the phpGedView directory and below.

      I did the 777 permissions as directed in the instructions.

      Somehow my permissions were still bad (something like 744), and I could not finish install.  I got errors similar to yours.  I couldn't find a list of the required phpGedView permissions anywhere.

      I finally got some hints and I used SSH terminal again to CHMOD 755 everything from phpGedView down, then go back and CHMOD 777 the required files.

      It is running like a dream.  The dream I have had for years!!!!!!  I am so jazzed I can't sleep.  I have enlisted a committee of administrators and techies form my family, and we are working toward a general family announcement.  Three cheers for PGV and its creator!!!

       

Log in to post a comment.