New version looks great!! Where do you find the time?!! A couple of things I've noticed:
* In my live system (2.13) I have '../tree.ged' as the path to my gedcom file. In the new version, it can't find the file and I've had to place it in the phpgedview directory.
* I get a timeout when trying to view the medialist - /var/www/test.tanti.org.uk/functions_index.php on line 698
* If I use my own theme (which contains and 'images' folder), the image files on the pedigree chart aren't found
I'm running on php 4.3.3 on Apache 2.0 (finally got around to upgrading php!!!)
Owen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't had any problems using a relative path like that. In fact for my live site I use ../../test.ged.
I look at the media list timeout. It looks like you got into an infinite loop.
The new themes define a variable called: $PGV_IMAGE_DIR. You need to define this variable in your theme and set it to the location of your images directory. Somthing like this I would think:
$PGV_IMAGE_DIR = "./themes/owen/images/";
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I still have the problem with using a relative path. I've found that if I give an abosulte path to the same file, it works perfectly - so more of a curiousity than a problem.
The images was indeed a problem with my theme - I'd not copied in the new theme.php!!
So, my only remaining problem is the multimedia list.
I now get:
Warning: strpos(): Offset not contained in string. in /var/www/test.tanti.org.uk/functions_index.php on line 698
several times, followed by my multimedia list displayed perfectly. The gedcom and media files are exactly the same as my live system.
Owen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On line 698 of functions_index.php change strpos to @strpos. The @ will suppress that silly warning. Later I'll have to try repositioning where I do the strpos in that function and see if that makes a difference.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wonderful!!! That's me all sorted with 2.50 and ready to go live. I must look up the strpos function in my newly acquired php book and find out exactly what I just did!!!!!
Owen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
John,
New version looks great!! Where do you find the time?!! A couple of things I've noticed:
* In my live system (2.13) I have '../tree.ged' as the path to my gedcom file. In the new version, it can't find the file and I've had to place it in the phpgedview directory.
* I get a timeout when trying to view the medialist - /var/www/test.tanti.org.uk/functions_index.php on line 698
* If I use my own theme (which contains and 'images' folder), the image files on the pedigree chart aren't found
I'm running on php 4.3.3 on Apache 2.0 (finally got around to upgrading php!!!)
Owen
Owen,
I haven't had any problems using a relative path like that. In fact for my live site I use ../../test.ged.
I look at the media list timeout. It looks like you got into an infinite loop.
The new themes define a variable called: $PGV_IMAGE_DIR. You need to define this variable in your theme and set it to the location of your images directory. Somthing like this I would think:
$PGV_IMAGE_DIR = "./themes/owen/images/";
--John
John,
I'm now on the released 2.50 version.
I still have the problem with using a relative path. I've found that if I give an abosulte path to the same file, it works perfectly - so more of a curiousity than a problem.
The images was indeed a problem with my theme - I'd not copied in the new theme.php!!
So, my only remaining problem is the multimedia list.
I now get:
Warning: strpos(): Offset not contained in string. in /var/www/test.tanti.org.uk/functions_index.php on line 698
several times, followed by my multimedia list displayed perfectly. The gedcom and media files are exactly the same as my live system.
Owen
On line 698 of functions_index.php change strpos to @strpos. The @ will suppress that silly warning. Later I'll have to try repositioning where I do the strpos in that function and see if that makes a difference.
--John
Wonderful!!! That's me all sorted with 2.50 and ready to go live. I must look up the strpos function in my newly acquired php book and find out exactly what I just did!!!!!
Owen