Menu

calendar bug with iteration

Help
fazerman
2006-02-09
2013-04-08
  • fazerman

    fazerman - 2006-02-09

    Hi,

    I'm using WAMP5 1.6.1 (PHP5), XPWEB 3.2.1, Windows XP and Firefox.

    Starting from a blank PC, I install WAMP5 and XPWEB with hack on php.ini (short_open_tag = On) and hack on model/BaseDatabase_model.inc.php (near ligne 1323...).

    I do this steps :
    1 - As admin user, I create a project and the coach of this project. A click on the calendar button work fine.
    2 - As coach user, I create a iteration.
    3 - I want to see this iteration on calendar. I click on the calendar button.
    I've got this error :

    SQL ERROR:
    SELECT id, name FROM stories WHERE (iteration_id = "1" AND project_id = ) GROUP BY (stories.id)
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY (stories.id)' at line 1

    Fatal error: Call to a member function Fields() on a non-object in D:\binaires\wamp\www\XPWeb\Controler\Planning_controler.inc.php on line 1215

    The project_id is empty !

    OK

    Now, I switch to PHP4 with the WAMP add-on (and a hack on my.ini for old_passwords).
    I do step 1 to 3.
    No error !!! I can see calendar and iteration !

    What's wrong with PHP5 config ?

    Thanks in advance

    Didier.

     
    • Olivier Chirouze

      Hi Didier,

      Thanks for noticing the "strange behaviour".

      Could you tell me something: does the "Reports" and "Calendar" section appear in the list of "sections" in your "Coach" profile rights? (this should be after "Links" section right).

      Thanks,

      Olivier

       
    • fazerman

      fazerman - 2006-02-09

      Hi Olivier,

      yes, the "Reports" and "Calendar" section appear in the list of "sections" in my "Coach" profile rights, after "Links" section right)

      Didier.

       
      • Olivier Chirouze

        Ok, I managed to get the bug too.

        The thing is, I have to say this looks very complicated AND... it works fine on the new version I'm working on (v3.3), either with PHP4 or PHP5. In fact, it works fine in the very same configuration.

        I changed a lot of things since v3.2.1 and it would take me more time to fix 3.2.1 than to release the new one! I spent approx. an hour trying to fix it but I gave it up...

        I usually try to fix previous versions but in this case I'm sorry I'll ask you to be patient and wait for next one... It is very close to stable so I'll release it soon...

        Thanks!

        Olivier

         
    • fazerman

      fazerman - 2006-02-09

      Hi Olivier,

      I'll wait the next version...and stay in PHP4 instead.

      Thanks for your quick answers.

      Didier.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.