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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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
Do you have the file functions_blocks in your PGV root?
Regards,
Roland
Yes I do.
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.
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
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.
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
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.
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
It was done with CuteFTP. I uploaded the 2.65 version fine previous to this.
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
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.
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.