Menu

Code added to pages?

Help
2011-10-03
2013-05-30
  • Gerry Kroll

    Gerry Kroll - 2011-10-03

    Looks like your hosting company has "improved" your site.  Are they responsible for maintaining your PhpGedView installation?

    I'd look for a different hosting company and I would also strongly recommend that you upgrade to the latest-and-greatest 4.3.0 (the "SVN" version).

     
  • Peter Western

    Peter Western - 2011-10-03

    Thanks for the advice. I have tried to do an upgrade to 4.2.4 but cant get it to work?

    I have my own server and can create my own mysql db ftp etc.

    If I go for 4.3.0 which I would like to do how do I keep my current 177 users? Also the 100+ uploaded gedcoms?

    Can I also use my current themes that have been modifioed for the header and footer files?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-03

    Read and understand the instructions given in that Help topic (I just "bumped" it to be near the top of the list).  If you haven't made any changes to any of the databases associated with each of your 100+ GEDCOMs (i.e., if the GEDCOMs match the database contents), you don't need to export them from the existing database.

    It's VERY important that you re-import each of the GEDCOMs to re-populate the database tables properly after the upgrade.

    As far as I can remember, there haven't been any significant changes to the themes.  The best way is to just try them.

    If necessary, you can always compare the original theme files (use either the Standard or the Xenea theme) against the same from the latest-and-greatest.  That will give you some hints as to what needs to be changed to bring your custom themes to the current level.

    If you don't have access to the old themes as released on SourceForge, please let me know.  I can go back as far as 3.3.7 .

    Are you SURE you need to support 100+ GEDCOMs?  That seems to be somewhat extreme.

     
  • Peter Western

    Peter Western - 2011-10-04

    Thanks. I sent you a mesage as I cant find where the download is for 4.3.0 also is the help topic you mention in the support list on this site or elsewhere? Does the upgrade also keep my users?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-04

    Hello, western1703:
    The Help topic whose title begins with "Repost:", just a few topics below this one, contains full download and install/update instructions.

     
  • Peter Western

    Peter Western - 2011-10-04

    Thanks got the download and info.

    Re "(b) Using the old program, export the database to a GEDCOM.  There's no need to download this file."
    There is no option to export do you mean use the backup option?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-04

    Of course there's an option to "export".  You'll find this on the Manage GEDCOMs page.

     
  • Peter Western

    Peter Western - 2011-10-04

    Tried all your instructions and get page cannot be displayed when trying to access the upgraded site, I got this also when trying 4.2.4. So upgrade is not a way forward for me. My site works okay at 4.2.0 just cant get rid of the code mentioned in my 1st post.

    Does anyone know of any way of searching files that may be adding this code on all page types?

     
  • Stephen Arnold

    Stephen Arnold - 2011-10-04

    Peter
    Tried offline, but access denied via your site to email (footer).
    v4.2.0 leaves serious security gaps in your software, whether you allow login or not. It should NOT be your option.
    -Stephen

     
  • Peter Western

    Peter Western - 2011-10-04

    Hi Stephen. Thanks for your input.

    I think I will need to do a brand new install of the latest version and start from scratch.

    My server is with 1and1 internet. They provide mysql 4 and 5 dbs But I have to have an .htaccess file with AddType x-mapp-php5 .php  in the code to allow php 5 to work.

    Problem I have when trying a new install is the localhost detail.is Host name :localhost:/tmp/mysql5.sock
    the install configuration screen says this is an error and wont accept this as part of the DB details, so I cant get 4.2.4 to install.

    I am interested in the link re a joomla version of PhpGedView, but the link is down for maitanance at this time. Would Joomla be a better option? I have Joomla sites on my server.

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-05

    You need to get your hosting support to tell you how to code a proper database host name that doesn't involve naming directories.  In other words, the database host name should be "localhost" without any additional stuff in there.

     
  • Peter Western

    Peter Western - 2011-10-05

    Hi again. If I go for a fresh install is there any way of transferring my user data/tables to the new site/Db?

     
  • Peter Western

    Peter Western - 2011-10-05

    I have asked my host re install issue but have managed to install using sql lite on mysql 4 db with 1and1 internet. Question is again how to import old users and is PhpGedView able to run properly with sql lite. I have it running with one smallish gedcom, but would it cope with 100?

    sql lite does not have tables displayed in phpmyadmin so cant see how to import saved users from previous mysql install?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-05

    "Previous mysql install":  The new PhpGedView should be able to use exactly the same database connect info (server, userid, PW, database name) as the old.

    If you install the new directly on top of the old (after having taken all necessary backups to allow you to revert if necessary), you should be good to go.  Just be sure to follow the instructions in that 'Repost: Download "SVN" version'  Help topic. 

    Don't try to skip any steps or modify the procedure, except that there's no need to export the database to GEDCOM(s) if you are certain that the GEDCOMs you have match the current database contents.

     
  • Peter Western

    Peter Western - 2011-10-05

    Hi Gerry,  I did try the upgrade. Your instructions say to delete everything except the config index file media etc then ftp the remaining files. So I have uploaded to a new folder the original config index media etc having removed from the new file set.

    This should be the same as ftp to the original folder? I could do it exactly as you say but I have problems in backing up the data. The index folder backup took 2 hours! Surely my method should have the same result, or am I missing something?

    Re the GEDCOM s I tried to just export 1 and add that to the index folder, but it did not work either. Have I really got to export all 100+ gedcoms 1 by 1 ? Is there no batch option?

    After renaming the new folder to be the same as my existing folder name (renaming the old one as old) when i access the site in my browser it says IE cannot display the page. I have also checked the file folder permissions as advised.

    Anyway I am still trying to do this as an upgrade, but finding the time to do it without problems is getting frustrating.  Any further thoughts would be gratefully received. Cheers Peter

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-06

    You should really examine WHY you have 100+ individual GEDCOMs.  This seems extreme.

    What were you using to do the server file backups?  It should have been a simple matter of using FTP to copy the whole works to your local PC.

    Why is your database export to a GEDCOM not working?  Are you sure you have the correct permissions on the "index" directory and all its contents?  What are the symptoms of  "not working"?

    "IE can't display the page" sounds a lot as if the permissions aren't set right, or that the memory limit in the PHP.INI file is set too low.  You need at least 32 Mb memory, and with more than 100 GEDCOMs, you should probably set the limit to 128 or 256.  You might have to manually adjust the memory limit in the "config.php" file within your PGV install directory.

    If you can get no satisfaction using the existing "config.php" file from the old installation, you could replace it with a re-named copy of "config.dist" from the downloaded set of PGV files.  If you do this, the Install wizard should launch when you access that PhpGedView installation.  You will have to enter the correct database connect information, as it exists in the old "config.php" file.  PGV should find all of your installed userids, etc.

     
  • Peter Western

    Peter Western - 2011-10-06

    Thanks Gerry. I will set time aside to download all the files on the current install to my pc. I have just purchased a new one which is faster so should help.

    I will then follow your original instructions.The gedcom export creates a file okay.The problem was the page not displayed. The php.ini is set at 16 Mb so I'll try to increase. Watch this space. Thanks again. Peter

     
  • Peter Western

    Peter Western - 2011-10-06

    Hi Gerry.

    My existing db is on a mysql4 db. PHP5 I have backed up and followed your instructions to the letter. Checked everything uploaded and increased php.ini to 128Mb.

    Still get Internet Explorer cannot display the webpage??????

    Cant see why this will not work?

    I have no options left apart from restoring old version, but that is no good.

    As I indicated before I cant get a new install to work with mysql 4 or 5. There has to be an issue in 4.2.4 that is giving me problems on my server with 1and1. Help!

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-06

    Peter:
    Please e-mail me with your site's URL and the PhpGedView site admin logon credentials.  I need to see this for myself, using something other than Internet Explorer.   gkroll at keldine dot ca

    IE saying that it can't display the page simply means that the server didn't respond in a timely manner.  If this is happening even when you have replaced the config.php file with a renamed "config.dist", then the problem isn't with the database connection. 

    We need to take this problem off-line until we have figured out what your problem is.  (You're not the only one who reports lots of problems with 1&1 as a service provider.)

     
  • Peter Western

    Peter Western - 2011-10-09

    Hi All. I have decided that phpgedview will not work with a 1and1 server set up and have opted to use TNG http://lythgoes.net/genealogy/software.php I have ported my gedcoms4u site http://www.gedcoms4u.com/ and it looks much better and more importantly its on a stable platform I have used for over 10 years. Thanks for all those including Gerry who have helped with my PHPGedview problem. Peter

     

Log in to post a comment.