Menu

Help for a newbie

Help
Anonymous
2004-08-06
2004-08-07
  • Anonymous

    Anonymous - 2004-08-06

    I'm new and have had considerable success with 3.1 so far, plowing and fixing all the errors. But this one has me stumped. I'm NEARLY home free if I fix this one.

    Warning: Wrong datatype for second argument in call to array_key_exists in /home/virtual/site490/fst/var/www/html/gen/functions_print.php on line 1176

    Thanks

     
    • John Finlay

      John Finlay - 2004-08-06

      This error means that the $factarray language variables have not been loaded.  The $factarray variable is set in the languages/facts.xx.php files.

      I'm not sure what you are trying to do because you definately should not be getting this error.  What page are you trying to access?

      If you give us some more details we will be able to help you out some more.

      --John

       
    • Anonymous

      Anonymous - 2004-08-06

      Thanks. The error happens when I click a person's individual details, but in English only. If I switch to French it's ok. Originally I had uploaded only some language files but later I uploaded all of them. Now my FTP is telling me that most languages (including English) have 0 bytes. The languages which do have a size on the server work ok.

      So how do I re-initiate so to speak the other languages incl. English?

       
    • John Finlay

      John Finlay - 2004-08-06

      If the files are 0 bytes then they didn't get uploaded correctly.  You should try uploading them again.

      --John

       
    • Anonymous

      Anonymous - 2004-08-06

      Solved! Turns out I had run out of web space on server and my FTP was uploading files at 0 bytes.

      I deleted most themes and several language files. All seems to be working fine except I still get all the languages in the drop-down menu. Where is that data and how do I clean it up?

      Thanks

       
      • KosherJava

        KosherJava - 2004-08-06

        Admin > Edit and configure language files >
        Configuration of supported languages >
        edit and set unneeded ones to inactive.
        That should do the trick

         
    • Anonymous

      Anonymous - 2004-08-06

      Hi Mark,

      You have to disable the languages in the Language Configuration section.

      What do you have to do:
      1. Go to the admin menu
      2. Go to Edit and configure language files
      3. Go to the bottom of the page and select edit for each language you want disabled.
      4. Choose Active: No on the first line and save the change. Repeat this for every language you want disabled.

      Regards,

      Roland

       
    • Anonymous

      Anonymous - 2004-08-06

      Thanks Kosher and Ronald. That worked.

      Finally this:

      Parse error: parse error, unexpected $, expecting ']' in /home/virtual/site490/fst/var/www/html/gen/placelist.php on line 272

       
    • John Finlay

      John Finlay - 2004-08-06

      Since you had other problems with files uploading.  I would try uploading the placelist.php file again too.

      The file should be 9.89 KB and 307 lines long.

      Line 272 should look like this:
      if (!isset($surnames[$surname.$firstname.$gid])) {

      --John

       
    • Anonymous

      Anonymous - 2004-08-07

      Replacing placelist.php worked too even though it had data on the server.

      The $pid variable was empty. Unable to perform update.

      Notice: Undefined variable: gedrec in /home/virtual/site490/fst/var/www/html/gen/gdbi_interface.php on line 790
      ERROR 4: Could not find gedcom record with xref:

      But replacing gdbi_interface.php isn't working.
      This happens when I try to save an edit in a Person's details

       

Log in to post a comment.