Menu

2.50b2

2003-09-15
2003-09-19
  • Owen Campbell

    Owen Campbell - 2003-09-15

    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

     
    • John Finlay

      John Finlay - 2003-09-15

      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

       
    • Owen Campbell

      Owen Campbell - 2003-09-19

      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

       
    • John Finlay

      John Finlay - 2003-09-19

      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

       
    • Owen Campbell

      Owen Campbell - 2003-09-19

      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

       

Log in to post a comment.