Menu

Upgrade to 3 error on line 94

Help
2004-04-24
2004-04-29
  • Gilles Deacur

    Gilles Deacur - 2004-04-24

    I tried upgrading today from 2.65.  I can log in and see the admin screen, but when I click on the link to go to the family tree view, I get the following error:

    Fatal error: Call to undefined function: getblocks() in /home/deacursr/deacur-www/familytree/index.php on line 94

    Please help.

    Thanks.

     
    • Gilles Deacur

      Gilles Deacur - 2004-04-24

      Also on line 108

      Fatal error: Call to undefined function: getblocks() in /home/deacursr/deacur-www/familytree/index.php on line 108

      Tried clicking on the link on the top right.  The other error (94) was the link in the top center.

      http://www.deacur.com/familytree

      Thanks.

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-24

      Trying to do a search:

      Search Results

      Warning: Invalid argument supplied for foreach() in /home/deacursr/deacur-www/familytree/functions_index.php on line 553

      Warning: Invalid argument supplied for foreach() in /home/deacursr/deacur-www/familytree/functions_index.php on line 607

      Warning: Invalid argument supplied for foreach() in /home/deacursr/deacur-www/familytree/functions_index.php on line 592

       
    • Anonymous

      Anonymous - 2004-04-24

      Do you have the file functions_blocks in your PGV root?

      Regards,

      Roland

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-24

      Yes I do.

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-24

      Also, the files I didn't upload with the update were the index file, the media folder, config.php. I couldn't find authenticate.php so that was ignored, but I didn't upload authentication_index.php or authentication_myslq.php.

      Otherwise, I uploaded everything in the zip.

       
    • Mark Hattam

      Mark Hattam - 2004-04-24

      The phpGedView page about upgrading says to upload everything except config.php and the index and media folders.

      http://phpgedview.sourceforge.net/upgrading.php

      So try doing what this page says, and see if the error disappears.

      Mark

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-24

      I uploaded authentication_index.php and authentication_myslq.php and it takes me further than before.   But now it is prompting me for the Location of upgrade files.  What is that asking?  They are uploaded in the same directories as the zip folder had them.

       
    • Mark Hattam

      Mark Hattam - 2004-04-25

      But it probably wants to be told that.

      You might also want to consider a clean install, as that did clear up someone else's "weird" problem yesterday. Keep the same database, just do a clean install and hence configuration of the software.

      Mark

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-25

      Well, I downloaded the authenticate.php, index directory, and config.php to my computer after downloading v3.  Then I deleted the familytree file from my server and then uploaded the whole thing new.  Not going good.

      I can log on, but can't see anything of importance.

      I can create users.  To see what I'm up against, go to http://www.deacur.com/familytree and login as "test" and password "phptest".

      It seems I have something wrong with authentication_index.htm.

      Don't know what to do.

       
    • Mark Hattam

      Mark Hattam - 2004-04-25

      Did you load the individual files by ftp? Are you on Windows, Mac, unix or?

      Do you have shell (Telnet) access to your server?

      Reason for asking is that on a Mac, if you expand the .zip archive, you tend to get Mac style end-of-lines ... \r  ... rather than Unix end-of-lines. And PHP doesn't like it.

      What I've done recently is to upload the .zip file, then unzip it on the web server. That solved a similar problem for me a couple of versions ago.

      Mark

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-26

      It was done with CuteFTP.  I uploaded the 2.65 version fine previous to this.

       
    • John Finlay

      John Finlay - 2004-04-26

      Here are my suggestions:

      1. Make sure that write permissions are set for all of the files in the index directory.  When you made a copy of the files and then put them back the permissions probably got messed up.

      If you keep getting the question to enter the upgrade files, you should start with a fresh config.php file.

      --John

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-28

      Okay, I CHMOD write permissions in the index file.  Same thing.  So I uploaded a new config.php file and the same thing.

      I think it's getting a bit farther along, but not far enough to see the data.

       
    • Gilles Deacur

      Gilles Deacur - 2004-04-29

      I re-uploaded my GEDCOM. Luckily I entered information in both the PhpGedView version and the FTM version.  It saved me lost data this time around.

      It's working fine now.  But all the pictures and incidental data that was tagged to people in the PGV version is gone.

       

Log in to post a comment.