Dear all, it's the first time I try to use this program and I find a lot of problems.
First of all I've to say that I try to use it on my PC with Vista Ultimate and EasyPhp. In the installation file is written that I've to copy config.dist in config.php but that file doesn't exist. Another problem occur with the session.php and also this dosn't exist. Is possible to solve these problems or it's impossible to use PhpGedView?
There is anyone that can help me?
thanks for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-17
Hi, and welcome to PGV.
PGV is really designed for web site use, but it certainly can be used on a desktop.
I don't know anything about EasyPHP, but it sounds as if it may be short of a few vital components.
I generally recommend Xampp as the best and easiest to install and use virtual server for a windows PC. You can find and download it for free on the web.
Wat version of PGV have you downloaded? It certainly should include both the files you mention.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another possibility is that the complete directory and file structure, created when the PhpGedView ZIP file was unZipped, did not get copied to the right place for use by the web server.
How about file permissions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I simply ignored the instructions to copy that to config.php and used the config.php which was included with the release. This worked fine.
It's really strange that the installation instructions in the readme file refer to a file which does not exist in the release, namely the file config.dist. If this file is only in SVN but not in the release it should surely not be mentioned in the release documentation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is __readme.txt__ from the distribution __PhpGedView-all-4.2.2.zip__ released 2009-08-01. Here are the relevant excerpts:
__QUICK INSTALLATION__
2. Copy config.dist to config.php
__INSTALLATION__
*A. Upload Program Files:
To install PhpGedView, unzip the compressed package and upload the files to
a directory on your web server. Rename the config.dist file to config.php.
But the distribution does not have a config.dist file. It does have a config.php file. Simply ignoring the copy step seems to work fine.
Incidentally while we are discussing the readme.txt I can also mention that it also has in two places the statement
But at the time of this writing the link does not bring up the installation guide. The link brings up a redirect stub. The redirect stub claims to offer the link to the latest installation guide but does not. The link actually opens an upgrade guide. That is only a little confusing, not a big deal.
The home site for PhpGedView (__http://www.phpgedview.net/__) still refers to the 4.2.1 release as being the latest release. That is also a bit confusing.
If it would be at all helpful, I could make a few edits to bring things up to date, but being brand new to this software I might make some errors of ignorance in the process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
where the link for "Download v4.1.6 Now" (which ought to really show 4.1.7 anyway) actually lands on a wiki page which is a redirect to Download 4.2.x rather than Download 4.1.x … so that needs changing so that the link from www.phpgedview.net points to
which does have links to 4.1.7 packages. But if I can, I will in the meantime add a second option to the initial redirect page that is being pointed to.
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The wiki front page says 4.2 was released on 31-Jan-2009. That's the last release announced and that gave me the wrong impression that the 31-Jan release was the most recent mentioned on the wiki.
Then I clicked Installation. On the broken installation guide there is a link to 4.2.1, and as a result of careless reading on my part I concluded 4.2.1 was a point release for systems without PDO, making IT the most recent mentioned on the wiki.
Lastly, just now in fact, I discovered the 4.2.2 page on the wiki. Not locked in a disused lavatory with a sign on it reading "BEWARE OF THE LEOPARD" … but on the other hand it isn't linked from the pages that I read.
So that's the story of my confusion and enlightenment about what's on the wiki. There's nothing missing from the wiki except the installation guide, plus maybe a couple of one line news items on the front page which mention the 4.2.1 and 4.2.2 releases and link to the release pages.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Mark - would it be a little clearer if "download" simply directed to the latest version - and the latest version had links to earlier versions for people who's servers don't meet the requirements?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you to you all for the answers but :
the release I've downloaded is the 4.2.2 (zip format) and the installation instructions are includede in the .txt file. Even if I've ignored the config.dist file step remain the error about the session.php that's not included. From where I can try to download again a running PhpGedView files?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-18
mrzpro
I have just downloaded a fresh copy of PGV 4.2.2 and can absolutely guarantee you that session.php DOES exist there. Perhaps you did not look far enough. It is in the sub-folder /includes.
What is the error message you are getting that says session.php doesn't exist? I suspect you may have a permissions problem. Have you set the correct permission on the index folder?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"includes/session.php" is only called from "config.php".
I have noticed that on my system, I have to set the permissions of all directories and their contents to 755, except of course "index" and "media", which, with their contents, need 777
The "111" part of the permissions set is "execute". Some systems check for this, others don't. Thus, it's best to use "755" instead of "644". When you think about it, "execute" imples "read", but "read" doesn't imply "execute". There IS a difference.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As you're on Vista Ultimate using EasyPHP … permissions may not be the problem.
In your php.ini file, what do you have in the section? In particular have you defined
session.save_path
to point to an existing directory on your machine. You could either use an existing "temp" directory, or create one yourself, eg c:/sessions. Then stop and start your webserver (Apache or IIS or … ) so that the change in php.ini is picked up.
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all, it's the first time I try to use this program and I find a lot of problems.
First of all I've to say that I try to use it on my PC with Vista Ultimate and EasyPhp. In the installation file is written that I've to copy config.dist in config.php but that file doesn't exist. Another problem occur with the session.php and also this dosn't exist. Is possible to solve these problems or it's impossible to use PhpGedView?
There is anyone that can help me?
thanks for your help
Hi, and welcome to PGV.
PGV is really designed for web site use, but it certainly can be used on a desktop.
I don't know anything about EasyPHP, but it sounds as if it may be short of a few vital components.
I generally recommend Xampp as the best and easiest to install and use virtual server for a windows PC. You can find and download it for free on the web.
Wat version of PGV have you downloaded? It certainly should include both the files you mention.
> In the installation file is written
> that I've to copy config.dist in
> config.php but that file doesn't exist
This only applies to the SVN code - not an official release.
> Another problem occur with the
> session.php and also this dosn't
> exist.
Perhaps you didn't download all the files?
Another possibility is that the complete directory and file structure, created when the PhpGedView ZIP file was unZipped, did not get copied to the right place for use by the web server.
How about file permissions?
I simply ignored the instructions to copy that to config.php and used the config.php which was included with the release. This worked fine.
It's really strange that the installation instructions in the readme file refer to a file which does not exist in the release, namely the file config.dist. If this file is only in SVN but not in the release it should surely not be mentioned in the release documentation.
Which release documentation are you refering to?
It is __readme.txt__ from the distribution __PhpGedView-all-4.2.2.zip__ released 2009-08-01. Here are the relevant excerpts:
__QUICK INSTALLATION__
2. Copy config.dist to config.php
__INSTALLATION__
*A. Upload Program Files:
To install PhpGedView, unzip the compressed package and upload the files to
a directory on your web server. Rename the config.dist file to config.php.
But the distribution does not have a config.dist file. It does have a config.php file. Simply ignoring the copy step seems to work fine.
Incidentally while we are discussing the readme.txt I can also mention that it also has in two places the statement
These instructions can also be found in the wiki at:
http://wiki.phpgedview.net/en/index.php?title=Installation_Guide
But at the time of this writing the link does not bring up the installation guide. The link brings up a redirect stub. The redirect stub claims to offer the link to the latest installation guide but does not. The link actually opens an upgrade guide. That is only a little confusing, not a big deal.
The home site for PhpGedView (__http://www.phpgedview.net/__) still refers to the 4.2.1 release as being the latest release. That is also a bit confusing.
If it would be at all helpful, I could make a few edits to bring things up to date, but being brand new to this software I might make some errors of ignorance in the process.
I've fixed readme.txt.
I can't find the place on www.phpgedview.net which says that 4.2.1 is the latest version.
I don't know what happened to the installation_guide page. Someone with some time needs to re-create it.
There is a installaton guide for 4.2.x (currently 4.2.x) at
http://wiki.phpgedview.net/en/index.php?title=Installation_Guide_v4.2.x
However, that is not the page linked to from the previously referred to "redirect stub" (which is also the result of the left hand column link)
http://wiki.phpgedview.net/en/index.php?title=Installation_Guide
If I can remember my login, I'll fix the links so they make more sense.
There is also an issue with
http://www.phpgedview.net
where the link for "Download v4.1.6 Now" (which ought to really show 4.1.7 anyway) actually lands on a wiki page which is a redirect to Download 4.2.x rather than Download 4.1.x … so that needs changing so that the link from www.phpgedview.net points to
http://wiki.phpgedview.net/en/index.php?title=Download_v4.1.x
which does have links to 4.1.7 packages. But if I can, I will in the meantime add a second option to the initial redirect page that is being pointed to.
Mark
The wiki front page says 4.2 was released on 31-Jan-2009. That's the last release announced and that gave me the wrong impression that the 31-Jan release was the most recent mentioned on the wiki.
Then I clicked Installation. On the broken installation guide there is a link to 4.2.1, and as a result of careless reading on my part I concluded 4.2.1 was a point release for systems without PDO, making IT the most recent mentioned on the wiki.
Lastly, just now in fact, I discovered the 4.2.2 page on the wiki. Not locked in a disused lavatory with a sign on it reading "BEWARE OF THE LEOPARD" … but on the other hand it isn't linked from the pages that I read.
So that's the story of my confusion and enlightenment about what's on the wiki. There's nothing missing from the wiki except the installation guide, plus maybe a couple of one line news items on the front page which mention the 4.2.1 and 4.2.2 releases and link to the release pages.
Have another look at the wiki now … I've just made the changes I mentioned. See if that's any better.
Mark
I've updated the links on www.phpgedview.net.
Mark - would it be a little clearer if "download" simply directed to the latest version - and the latest version had links to earlier versions for people who's servers don't meet the requirements?
Yes it would … just looking for an elegant way to put in the "old version" link(s) without distracting from the "current" version.
Mark
Done … the automatic redirecting seems to not work when there is an evaluation on the page, eg embedding the current version variable.
Mark
thank you to you all for the answers but :
the release I've downloaded is the 4.2.2 (zip format) and the installation instructions are includede in the .txt file. Even if I've ignored the config.dist file step remain the error about the session.php that's not included. From where I can try to download again a running PhpGedView files?
mrzpro
I have just downloaded a fresh copy of PGV 4.2.2 and can absolutely guarantee you that session.php DOES exist there. Perhaps you did not look far enough. It is in the sub-folder /includes.
What is the error message you are getting that says session.php doesn't exist? I suspect you may have a permissions problem. Have you set the correct permission on the index folder?
I think it definitely IS a permissions problem.
"includes/session.php" is only called from "config.php".
I have noticed that on my system, I have to set the permissions of all directories and their contents to 755, except of course "index" and "media", which, with their contents, need 777
The "111" part of the permissions set is "execute". Some systems check for this, others don't. Thus, it's best to use "755" instead of "644". When you think about it, "execute" imples "read", but "read" doesn't imply "execute". There IS a difference.
As you're on Vista Ultimate using EasyPHP … permissions may not be the problem.
In your php.ini file, what do you have in the section? In particular have you defined
session.save_path
to point to an existing directory on your machine. You could either use an existing "temp" directory, or create one yourself, eg c:/sessions. Then stop and start your webserver (Apache or IIS or … ) so that the change in php.ini is picked up.
Mark
Thisi is the error obtained :
Parse error: parse error in c:\easyphp1-8\www\phpgedview-all-4.2.2\includes\session.php on line 335
and this is the involved line (session.php line 335) :
require_once 'includes/classes/class_pgv_db.php';
try {
$DBPASS=str_replace(array("\\\\", "\\\"", "\\\$"), array("\\", "\"", "\$"), $DBPASS); // remove escape codes before using PW
PGV_DB::createInstance($DBTYPE, $DBHOST, $DBPORT, $DBNAME, $DBUSER, $DBPASS, $DB_UTF8_COLLATION);
unset($DBUSER, $DBPASS);
try {
PGV_DB::updateSchema('includes/db_schema/', 'PGV_SCHEMA_VERSION', PGV_SCHEMA_VERSION);
} catch (PDOException $ex) {
// The schema update scripts should never fail. If they do, there is no clean recovery.
die($ex);
}
} catch (PDOException $ex) {
// Can't connect to the DB? We'll get redirected to install.php later…..
}
That looks like easyphp does not have the PDO for MySQL drivers perhaps enabled.