Menu

Nothing in Manage MultiMedia

Help
2010-12-07
2013-05-30
  • Bill Lancaster

    Bill Lancaster - 2010-12-07

    Display All in Manage MultiMedia simply returns does nothing.

    MM items are present and are displayed when associated Individual is accessed.

    I think this problem followed the deletion of an mm item

    Something is wrong - but what?

    gdv 4.2.3

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-07

    You're probably using subdirectories to organize your media items.  The "Display all" button displays only the media items in the subdirectory currently selected.

    If you're using subdirectories, you CAN'T display all of the media files on your site at once.

     
  • Bill Lancaster

    Bill Lancaster - 2010-12-13

    Thanks for the comment.

    All my multi media  are in /media/ with no sub directories.

    Am also getting a load of error messages at login.

    "ERROR 2: require(./index/index_conf.php): failed to open stream: No such file or directory
    0 Error occurred on line 114 of file user_favorites.php in function print_user_favorites
    1 called from line 114 of file user_favorites.php in function print_user_favorites
    2 called from line 1 of file index.php(276) : eval()'d code in function eval
    3 called from line 276 of file index.php
    Warning: require(./index/index_conf.php): failed to open stream: No such file or directory in /customers/lancasterfamilyhistory.co.uk/lancasterfamilyhistory.co.uk/httpd.www/phpgedview/blocks/user_favorites.php on line 114 Fatal error: require(): Failed opening required './index/index_conf.php' (include_path='.:/usr/share/php') in /customers/lancasterfamilyhistory.co.uk/lancasterfamilyhistory.co.uk/httpd.www/phpgedview/blocks/user_favorites.php on line 114 "

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-13

    Is your GEDCOM file called "index.ged" and is it located in directory "./index"?  If not, it looks as if your configration files have been damaged. 

    File "./index/gedcoms.php" contains a list of all the GEDCOM files in your database.  If this file is damaged, you could end up with the system looking for a non-existent GEDCOM file.

    File "./config.php" contains, among other things, pointers to the database and also a pointer to the true location of the "./index" directory.

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-13

    I forgot to mention:  File "./config.php" contains an entry for the server URL.  This should be blank.  It might contain the URL of your server. 

    This is not wrong, and old versions of PGV could have put this value into that variable.  PGV works better when this field is made blank.

     
  • Bill Lancaster

    Bill Lancaster - 2010-12-14

    Thanks for the ideas.

    Under /index I have index.php and index

    config.php contains this entry
    $INDEX_DIRECTORY='./index/';
    and
    $SERVER_URL='';

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-16

    The entries in the "config.php" file seem to be OK.

    The problem is that the GEDCOM file in your "./index" directory is not named properly or is missing entirely.  There's also no "gedcoms.php" file in this directory.  I can't explain how this might have happened.

    If your database is OK (except for the missing media stuff), you can recover without having to re-upload everything.  You'll need to build a proper "./index/gedcoms.php" file and also a proper "./index/xxx_conf.php" file, where "xxx" is the full name of your GEDCOM file.

    If you wish, I can send you a copy of my files, so that you can see what they're supposed to look like.  Send me an e-mail:  gkroll at keldine dot ca

     
  • Bill Lancaster

    Bill Lancaster - 2010-12-16

    Sorry, my post was misleading.  I didn't that those were the only files under "./index".

    I have :-
    _conf.php
    gedcoms.php
    index
    index.bak
    index.php
    lang_settings.php
    pgv-201012.log
    pgv_changes.php
    _priv.php
    reports.dat

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-16

    Your GEDCOM file name is blank.  That's a no-no.  The name should be something like "foo.ged" with the ".ged" part being either upper or lower case.

     
  • Bill Lancaster

    Bill Lancaster - 2010-12-17

    Sorry, don't understand your message.

    Have set up a 'clean' pgv on a different website.  The contents of  "./index" are just the same.

     
  • Bill Lancaster

    Bill Lancaster - 2010-12-17

    Decided to study the login error messages again.

    The first one was :- "ERROR 2: require(./index/index_conf.php): "  So I copied _conf.php to index_conf.php and login now doesn't show any error messages - great.  Don't know how the file name became corrupted.

    BUT - still can't see my multimedia items in "Display All in Manage MultiMedia"

     
  • Stephen Arnold

    Stephen Arnold - 2010-12-17

    Bill
    As Gerry suggested, you must have named your GEDCOM as INDEX.GED, as otherwise the conf.php file would have been (should have been named)    "YourGEDCOMname_conf.php", or in my case "arnold.ged" and "myers.ged" and "Thomas_Kinman.ged". Each of these generate two other files, the arnold.ged_conf.php  and the arnold.ged_priv.php, etc.

    Both of these are essential to the proper operation of PGV.  You need BOTH, and you should never name your GED file: index or index.ged, as these could create confusion both when examining the files manually, as well as mechanically within the system.
    -Stephen

     
  • Gerry Kroll

    Gerry Kroll - 2010-12-17

    Bill:
    It's quite possible that when you uploaded your GEDCOM you told PGV to give it a different name on the server.  This is easy to do when you fill in the "Path and name on server" field on the GEDCOM configuration page.

    When you use PGV to upload a GEDCOM from your local PC, you use the "Browse" button on the GEDCOM configuration page to locate that GEDCOM.  In this case, you shouldn't put anything into that "Path and name on server" field, so that the uploaded GEDCOM will be put into the "./index" directory and will get the same name it has on your local PC. 

    If it's essential to you that the on-the-server copy of your GEDCOM have a different name from the name on your local PC, you can enter the correct name into the "Path and name on server" field, but you shouldn't enter the path name.

    Re. "Nothing on manage media page":
    How many media objects are there?  If you have a very large number of pictures all located in one directory, it's possible that PGV has simply run out of time.

    Check the page source to see whether there's a meaningful error message at the bottom.

     

Log in to post a comment.