Menu

Big bug

2008-07-16
2012-11-13
  • Nobody/Anonymous

    When inserting an question mark in PHP mode the program crashes immediately.

     
    • Markus Elfring

      Markus Elfring - 2008-07-18

      How do you think about to rewrite your approach
         <A HREF=\"".pickurl(191)."?\">
      into the following wording?
         '<a href="' . pickurl(191) . '/?' . get_URL_parameters($context) . '">'

       
    • Markus Elfring

      Markus Elfring - 2008-07-18

      I hope that open issues with the handling of opening parentheses will also be fixed ...
      https://sourceforge.net/tracker/index.php?func=detail&aid=2018667&group_id=95717&atid=612382

       
    • Nobody/Anonymous

      To be precise:

      Take this PHP-construction (never mind what it means):

      <A HREF=\"".pickurl(191)."\">

      and try to make it this:

      <A HREF=\"".pickurl(191)."?\">

      when adding the ? before the \, the program crashes.
      It is only a problem in version 5.0.1, version 4.9.2. works as expected.

       
    • Nobody/Anonymous

      I have follow your indications, and don't crash for me.

       
    • Nobody/Anonymous

      yeah, me neither

       
    • Slythfox

      Slythfox - 2008-07-17

      I have a similar problem. I'm using 5.0.1. When I open a file sometimes, it'll crash when I type. Sometimes it's when I type a "p" or a period, or a slash. Other times it'll work for awhile, and then crash when I type at a certain place. It's repeatable on my computer with the same file if you type in the same spot.

      I'll do some more investigation on another computer with the same file. (But this crash has happened to me with different files... so it's probably not the file itself causing the problem.)

       
    • Nobody/Anonymous

      i've also had this issue. it's bad because it's not always able to be reproduced. i thought i had a virus or something at first,  but nothing shows up with AVG and others are having this problem as well.

       
    • Nobody/Anonymous

      Here the topicstarter again...

      The approach of Markus is interesting, but I don't need all URL-parameters so it could work in some cases, but not in others. Anyway: thanks for the suggestion, it is a valuable one!

      Other people say the error isn't reproducible.
      Hint: did you try it in PHP mode?
      Probably there isn't a problem in other modes (I didn't try this).

       
    • Don HO

      Don HO - 2008-07-20