If you need to upgrade your PGV installation, then hopefully you will also consider that you can conveniently move to webtrees with our PGV-to-webtrees wizard. It will move ALL your users, news, favorites and family trees to webtrees in a matter of minutes.

TOPIC: not finding PGV directory

not finding PGV directory 7 years 1 month ago #1

  • macalter
  • macalter's Avatar
  • Offline
  • Senior
  • Posts: 499
Hi there,
trying the conversion over to webtrees:

Did the webtrees install. Using new hostname/mySQL dB. At the wizard step where it asks for my PGV install I entered

subdir.mydirectory.com/pgv/

Get error "The specified directory does not contain an installation of PhpGedView" so not sure what the proper syntax is.
---
macalter
webtrees 1.7.1 (demo site)
PHP Version: 5.6x (Fast CGI)
mySQL server: 5.1.56
MacOS X: 10.7.5 (Lion)
Browsers: Safari 6.1.6 (mac), Firefox 38.0 (mac)
[updated: 13 Jul 2015]
The administrator has disabled public write access.

Re: not finding PGV directory 7 years 1 month ago #2

  • fisharebest
  • fisharebest's Avatar
  • Online
  • Administrator
  • Posts: 10569
You have entered a URL. You need to enter a directory.

If you have installed the two applications side-by-side, e.g.

/home/macalter/public_html/webtrees
/home/macalter/public_html/phpgedview

Then you would specify either

../phpgedview/
or
/home/macalter/public_html/phpgedview/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Re: not finding PGV directory 7 years 1 month ago #3

  • macalter
  • macalter's Avatar
  • Offline
  • Senior
  • Posts: 499
webtrees cannot connect to the PhpGedView database: This email address is being protected from spambots. You need JavaScript enabled to view it.
MySQL gave the error: SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'admin'@'mydomain.com' for table 'pgv_site_setting'

I have webtrees in the same directory put different sub than PGV. Synatx is per Dreamhost. PGV uses pgvdatabase with pgv_ and while I didn't want to use same database, will assume webtrees will use it with wt_ prefix.

/home/username/mydomain.com/pgv
/home/username/mydomain.com/webtrees
---
macalter
webtrees 1.7.1 (demo site)
PHP Version: 5.6x (Fast CGI)
mySQL server: 5.1.56
MacOS X: 10.7.5 (Lion)
Browsers: Safari 6.1.6 (mac), Firefox 38.0 (mac)
[updated: 13 Jul 2015]
The administrator has disabled public write access.

Re: not finding PGV directory 7 years 4 weeks ago #4

  • macalter
  • macalter's Avatar
  • Offline
  • Senior
  • Posts: 499
My mistake. It's done and am now verifying transfer.
---
macalter
webtrees 1.7.1 (demo site)
PHP Version: 5.6x (Fast CGI)
mySQL server: 5.1.56
MacOS X: 10.7.5 (Lion)
Browsers: Safari 6.1.6 (mac), Firefox 38.0 (mac)
[updated: 13 Jul 2015]
The administrator has disabled public write access.

Re: not finding PGV directory 7 years 4 weeks ago #5

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
Mac
Welcome to webtrees (again). This project and the resultant software has come a long way since your last 'test'.
Now that you were able to follow the installation directions and have the program installed, please take your time and look around a good deal before simply popping off a series of questions. It is doubtful you have any that have not already been discussed on these forum topics, or in the WIKI, or in the help provided, and this forum is not hampered with a poor search engine that SF has. We are here to help, but we are very busy fixing bugs and making improvements, and there are other good resources for most questions.

Rant: I don't know how well webtrees will perform on some of Dreambosts plans. Please don't blame webtrees for any shortcomings of your host.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #6

  • AntonLargiader
  • AntonLargiader's Avatar
It would be helpful to add a help line in the import wizard clarifying that it's looking for the php path, and possibly providing an example based on its own php path. Only asking for a directory is a bit misleading; the user has to guess if it's just the directory, or relative to the site root, or the server root, or what.
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #7

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
looking for the php path
The webtrees PGV to WTwizard is looking for the relative path, as the several examples shown just below the empty field box demonstrate.

/public/pgv
/public/webtrees
or
/public/programs/webtrees

not, /usr/local/php5 or var/php5/ or etc/php5

What php path would be relevant?
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #8

  • AntonLargiader
  • AntonLargiader's Avatar
I ran the wizard this morning and didn't see any examples below the empty field box. Examples like you show would have been very helpful.

I can see code on the page admin_pgv_to_wt.php to the effect of, "PhpGedView might be found in these locations.." but that did not show up during the import.
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Re: not finding PGV directory 6 years 6 months ago #9

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
And I just did a test and I see this:


(NOT the php path).
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #10

  • AntonLargiader
  • AntonLargiader's Avatar
Well, I didn't. In fact, I not sure I saw any of the stuff in blue. I definitely didn't see a help bubble; I looked all over for one.
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #11

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
This was with Chrome, but here's FF 13:



As contained in the code, this suggested PGV directory is offered if and only if,
1) the path is empty
2) the directory containing a PGV installation is contained within a simliar level to the webtrees install, and
3) if the previous PGV installation contains the terms PGV or gedview or gene, and
4) the directories found in (2) contain a "config.php" file.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
Last Edit: 6 years 6 months ago by ToyGuy.
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #12

  • AntonLargiader
  • AntonLargiader's Avatar
ToyGuy wrote:
As contained in the code, this suggested PGV directory is offered if and only if,
1) the path is empty
2) the directory containing a PGV installation is contained within a simliar level to the webtrees install, and
3) if the previous PGV installation contains the terms PGV or gedview or gene, and
4) the directories found in (2) contain a "config.php" file.

If that's accurate, it would explain why the suggestions didn't appear. My PGV was in 'family' as is my webtrees now.

But I don't see why this would be written this way. After all, if someone's here in the wizard, then there IS a PGV install somewhere. Rather than try to find one and then not even offer help if that fails, it would be far more helpful to say something like:

Installation location:
(for example, this webtrees installation is at /home/johnsmith/httpdocs/webtrees)

This shows the equivalent location of webtrees so that the user can provide the correctly formatted location of PGV. Maybe PGV was in /programs/tree and the user wants the new location to be one level closer to the root. Or vice versa. I don't see why the wizard should withhold the suggestions only in cases where it can't find PGV on its own. That's just backwards. If the wizard can find the PGV installation, that's when the suggestions aren't needed and in fact the user input is hardly needed.
The administrator has disabled public write access.

Re: not finding PGV directory 6 years 6 months ago #13

  • fisharebest
  • fisharebest's Avatar
  • Online
  • Administrator
  • Posts: 10569
<<If that's accurate, it would explain why the suggestions didn't appear. My PGV was in 'family' as is my webtrees now.>>

The restriction was there to reduce the possibility of false-positives. I guess you're right - it is a little too strict. I've removed it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Moderators: makitso
Powered by Kunena Forum