Fatal error: Call to undefined function check_media_depth() in /home/gprichardson1/photosetc.net/phpGedView/includes/functions/functions.php on line 1251
It doesn't happen to everyone in my db. It seems the closer I get to people in present day the error happens.
Is my database screwed up? If so I can nuke what I have and install a new gedcom. But I'd like to know if there's something else going on and, if so, does anyone have an idea how I can fix this?
Thanks!
-Gary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suggest that you upgrade to the "SVN Tarball" mentioned in the Help topic. This will get you to the latest-and-greatest 4.3.0. I've just made some improvements to the SVN that won't show up in the nightly Tarball until tomorrow. The changes have to do with configurable links to Web Analytics (Google Analytics, Piwik, ClustrMaps). If these aren't important to you, you don't need to wait until tomorrow.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just upgraded from 4.1.5 to 4.2.4 by following the directions at http://wiki.phpgedview.net/en/index.php?title=Upgrading . After the upgrade when I go to some people I get the following error:
Fatal error: Call to undefined function check_media_depth() in /home/gprichardson1/photosetc.net/phpGedView/includes/functions/functions.php on line 1251
It doesn't happen to everyone in my db. It seems the closer I get to people in present day the error happens.
Is my database screwed up? If so I can nuke what I have and install a new gedcom. But I'd like to know if there's something else going on and, if so, does anyone have an idea how I can fix this?
Thanks!
-Gary
A lot of changes happened between 4.1.5 and 4.2.4. Quite a few of the functions were moved to different files and different directories.
I suspect that you forgot to clear out the PhpGedView folder on your server before you copied in the new files.
I don't think it's necessary to blow away the whole installation - just follow the instructions in this Help topic:
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/4392768
You'll probably need to adapt the instructions to suit your exact situation.
I suggest that you upgrade to the "SVN Tarball" mentioned in the Help topic. This will get you to the latest-and-greatest 4.3.0. I've just made some improvements to the SVN that won't show up in the nightly Tarball until tomorrow. The changes have to do with configurable links to Web Analytics (Google Analytics, Piwik, ClustrMaps). If these aren't important to you, you don't need to wait until tomorrow.