Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Can i have some help

Help
2008-08-05
2012-10-29
  • GROS Nicolas
    GROS Nicolas
    2008-08-05

    Hello,

    I try to install FEZ RC2 on my debian with fedora 2.2.1
    the sanity_check work fine "All tests passed"

    But i can't create any community :
    //Warning: Invalid argument supplied for foreach() in /var/www/fez_2.0_rc1/include/class.fedora_direct_access.php on line 274
    //Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /var/www/fez_2.0_rc1/include/class.record.php on line 2338

    I can't index my fedora object :

    The PID demo:SmileyEarring does not have an display id (FezMD->xdis_id). This object is currently in an erroneous state.
    include/class.record.php 2668
    Backtrace:
    Error_Handler->logError"The PID demo:SmileyEarring does not have an display id (FezMD->x...", "/var/www/fez_2.0_rc1/include/class.record.php", 2668
    include/class.record.php:2668
    RecordGeneral->getDisplay
    include/class.record.php:2691
    RecordGeneral->getDetails
    include/class.record.php:2314
    RecordGeneral->getRecordType
    include/class.record.php:2865
    RecordGeneral->isCommunity
    include/class.record.php:688
    Record::setIndexMatchingFields"demo:SmileyEarring", "", Null
    include/class.reindex.php:642
    Reindex::indexFezFedoraObjectsArray(15)
    manage/index_new.php:91

    In fact nothing work.

    I'm going to kill my server ;)

    Someone have some idea for me i have try many thing i read on the forum but ...

    Thx for all,
    NG

     
    • GROS Nicolas
      GROS Nicolas
      2008-08-29

      Hy all,

      In fact, i have made a second install of fez and fedora.
      One for dev, one for prod.

      When i have install the second server , i had the same problem :
      //Warning: Invalid argument supplied for foreach() in /var/www/fez_2.0_rc1/include/class.fedora_direct_access.php on line 274
      //Fatal error: Call to a member function getXSD_HTML_Match() on a non-object in /var/www/fez_2.0_rc1/include/class.record.php on line 2338

      I have found the reason :

      When you install your fez application you must specified path to fedora Appli.
      like this :
      localhost:8080/fedora

      If you run the sanity check all is OK, but when you try to create a community or other fedora object,
      application fail.

      i have change my fedora application path
      :
      localhost:8080/fedora/ look at the "/" at the end

      Now it works fine (sanity check fail but application work fine ???)

       
    • GROS Nicolas
      GROS Nicolas
      2008-08-06

      Hi,

      I have read :
      http://sourceforge.net/forum/forum.php?thread_id=1498288&forum_id=496050

      because i thought that it was the same problem, I try to follow steps.
      But it doesn't work better.

      in fact, i have try to debug FEZ_2.
      i find that fez create my object in fedora with test:39 and index it in is own database fez2.
      But when it generate the error, it's because it try to access test:40 ????

      It call just one time GetNextPID funtion wich give test:39, why is fez2 trying to access the next PID ??

      Is there someone to help me ? maybe someone who have successfuly install FEZ2 ???

       
    • GROS Nicolas
      GROS Nicolas
      2008-08-07

      Ok,

      i have reinstall all (Fedora and FezRC2)

      Fez2 first
      then fedora

      it works fine now, with a litle fopen error when i create collections.

      But now it's clear :

      if you have some fedora data into your repository (like fedora demo data for testing)
      fez is unable to index them correctly. Why ?
      in fact, if you try to index them into fez,
      they goes in error status with a false pid then, fez say "pid does not exist".

      Have you some idea ?

       
    • GROS Nicolas
      GROS Nicolas
      2008-08-07

      here , the fopen error :

      Warning: parse_url(/fez_2.0_rc1/list.php?community_pid=changeme:9) [function.parse-url]: Unable to parse URL in /var/www/fez_2.0_rc1/workflow/end.php on line 64