Menu

Upgrade from 4.2.1 to 4.2.2 is failing.

Help
AH
2009-09-12
2013-05-30
  • AH

    AH - 2009-09-12

    I had upgraded to php 5.3 which caused 4.2.1 to spew error messages, so I tried to upgrade to 4.2.2.  After I upgraded (all the permissions are correct) all I get is an empty page without any errors in my apache log.  I was hoping someone can give me hints on where to look next.

    linux box:  apache 2.2.13, php 5.3, mysql 5.0.83
    index and media directories are in non-standard locations but are writeable and had been working until now.

    Thank you.

     
  • Stephen Arnold

    Stephen Arnold - 2009-09-12

    v4.2.2 public release is NOT php5.3 friendly. No amount of tweaking will make it so. If you must use php-v5.3, you will have to DL a current SVN tarball and install it in place of PGV-v4.2.2
    -Stephen

     
  • Anonymous

    Anonymous - 2009-09-12

    There are some suggestions in this bug report that *might* help, but really Stephen is right, either get svn version or go back to php 5.2 until PGV 4.2.3 is released (no planned date for that yet).

    https://sourceforge.net/tracker/index.php?func=detail&aid=2818804&group_id=55456&atid=634867

     
  • Mark Hattam

    Mark Hattam - 2009-09-12

    It depends on what errors you are seeing …

    If you are seeing lots of
    Deprecated: Function eregi() is deprecated in /phpGedView/includes/session_spider.php on line 230

    Then you can prevent these "deprecated" warnings by changing the error reporting value in php.ini, and making it
    error_reporting = E_ALL & ~E_DEPRECATED
    this is a new value introduced in php5.3, so just porting your earlier .ini file across won't have it (or tell you about it)

    4.2.2 runs fine on php5.3 … I have that here on both Mac 10.6.1 and Windows XP … there was also an issue with the socket connection for PDO
    https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3372260

    Check to see that your MySQL has PDO enabled for MySQL … that is a requirement for PGV 4.2.2 …

    Also is your 'blank" page really blank? Is there anything there if you look at the page source code in the browser?

    Mark

     
  • AH

    AH - 2009-09-13

    Thanks for all the tips.  I really was getting a blank page (as in the page source was blank without any errors).

    It turned out my major problem was that PDO was not enabled for MySQL in PHP 5.3.  I didn't see any changes in the requirements on the INSTALL doc, and I was sloppy because I thought a ".1" change difference was only going to be a bug fix.  I read the release notes and I updated the php 5.3 compile.  I can now login and access the database.

    I did have an error when I imported the gedcoms back into the database, but it doesn't seem to effect anything.

    **ERROR 2: copy(): Filename cannot be empty; 0 Error occurred on  in function copy1 called from line 537 of file uploadgedcom.php**

    It doesn't currently matter at the moment because I do have backups and the database isn't being edited at the moment.

    I should be okay for awhile.  Unfortunately going back to 5.2 isn't an option because of another application.

    Thank you again.

     
  • Gerry Kroll

    Gerry Kroll - 2009-09-15

    That error will occur when you're re-uploading a ZIP file.

    This bug is on my "to do" list, but I'm spending a LOT of time on reports at the moment.

    You'll need to delete the existing ZIP file and the various backups.

     
  • AH

    AH - 2009-09-15

    Actually it was the actual gedcom text file that produced the error.
    I don't backup using zip files.

     

Log in to post a comment.