Menu

No write permission to directories

Help
Otmar
2010-02-12
2013-05-30
  • Otmar

    Otmar - 2010-02-12

    I've still a problem with write permission for media-directories in pgv 4.2.3. The second problem is, I cannot search after using a second GEDCOM-File. It seems my provider cannot find the problem.

    a) After the import of a new GEDCOM, pgv create automatic media directories for each person. The problem is, I cannot copy the pictures in this directories with FTP, because Apache server give me not a write permission. If the media directories are created manually with FTP, then I have write permission and I can copy pictures into the directories.

    b) After import of a second GEDCOM-file, I have a similar problem. The import self runs without problem. I'm also able to add new data in the second GEDCOM (database). If I search then for a name, then I get no result anymore - I see only "waiting on…". If some user on the website, then running 15 processes or more and then the complete system hangs. With one Gedcom it runs without search problems. The Files GEDCOM, _conf.php and _priv.php are set on 777.

    How can I solve this problem?

    Thanks for help.

    Otmar Mayr

     
  • Anonymous

    Anonymous - 2010-02-12

    Otmar

    First the media issue.

    That is a common problem with Apache, related to the difference between ownership and read/write permissions. Not easy to solve, and not really a PGV issue. Why do you need to use FTP to copy media files? It might help if we understood that.

    If you are going to use FTP to copy the images, why not just use the same to create the directories? Your problem seems to come from trying to use two different methodologies that are not compatible on your server.

    2 - Slow search problems like this are often caused by bad DB collations. Try this link:

    https://sourceforge.net/tracker/?func=detail&aid=2318005&group_id=55456&atid=477081

    Nigel

     
  • Otmar

    Otmar - 2010-02-13

    1.) If you are going to use FTP to copy the images, why not just use the same to create the directories?

    The problem is, if I forget some pictures then PGV create automatic the neccessary directories, but I get then no access with FTP. Then I can only upload with PGV the missing pictures. With earlier versions of PGV (with another provider) I had not this problem.

    2.) bad DB collations

    I did use this import-export script in the past, as I installed PGV 4.2.3. In config.php I've $DB_UTF8_COLLATION=true.

    Because other problems, my provider moved my data to another server with MEMORY_LIMIT 1024; PDO extension; … On the new server all works fine - but only with one GEDCOM.

    Must I use ever again this import-export script, with additional GEDCOM file?

    Otmar

     
  • Otmar

    Otmar - 2010-02-16

    {I've still a problem with write permission for media-directories in pgv 4.2.3. The second problem is, I cannot search after using a second GEDCOM-File. It seems my provider cannot find the problem.}

    I think I found the problem - it is the "standard search function". If I enter for example the word "Mayr" or this two words "Caspar Paris", then I get no result. After 10 minutes I must stop this searchjob in MyAdmin. If I use the "advanced search" feature, I immediately get a result. Perhaps the problem is, because I have more then 60,000 individuals in the database, and each person has a note. Maybe this is the reason why standard searching don't work. What's your opinion?

    Otmar Mayr

     
  • Anonymous

    Anonymous - 2010-02-16

    Otmar, that will certainly be a factor.

    Read this forum discussion. It explains a lot about issues related to the general search option:

    https://sourceforge.net/projects/phpgedview/forums/forum/185165/topic/3543220

    Nigel

     

Log in to post a comment.