Error dialog: Toolbar item index out of range.

2013-12-25
2014-01-04
  • Andova Begarin
    Andova Begarin
    2013-12-25

    Using Dev-PHP v2.6.1.29, Windows XP

    Opening a source file results in: "Toolbar item index out of range" dialog box and then the text area is empty. But then if you click on the file's TAB the text is rendered as I just found out while writing this.

    UPDATE: You have to open a second file, click its TAB, then click te first file's TAB!

     
    Last edit: Andova Begarin 2013-12-25
    • Hi
      (By the way, thanks for the version numbers - it helps a lot)

      Well, this looks like a bug. At the moment I'm not able to reproduce it.
      Please, could you give a step by step guide?

       
  • Hi Pierre - I am just setting up a brand new computer. I installed Dev-PHP from a clean download and opened an existing .prj file in my PHP source folder. I got this error dialog every time I opened a source file by doulble clicking its entry in the project list.

    But now after exiting and fiddling about a bit, it's OK. Very strange! I can't tell you what I did to fix it, so not much help I'm afraid!

     
    • Hi Jeff,
      Nice to read you again (I wish you a happy new year and a lot of fantastic flights).
      Well, about this "Toolbar item index out of range." error, it could come from the .prj file. And, as this project.prj file is rewritten on exiting Dev-PHP, it's likely the error has been fixed.
      Difficult to reproduce - unless you have a backup.

      Kind regards,
      Pierre

       
      • <html>
        <head>
        <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
        </head>
        <body text="#000000" bgcolor="#FFFFFF">
        Well, moving from one system to a new one, I have lots of backups
        for the transfer! I do have the original prj file which I can send
        to you. Probably best to zip up all the files included in the
        project, but I would ask you to delete them once you have found the
        problem. I don't want to make the project public right now.



        Jeff.



        PS: I stopped flying a while ago! Happy new year to you too.



        On 01/01/2014 18:01, Pierre Fauconnier
        wrote:




        Hi Jeff,

        Nice to read you again (I wish you a happy new year and a lot
        of fantastic flights).

        Well, about this "Toolbar item index out of range." error, it
        could come from the .prj file. And, as this project.prj file
        is rewritten on exiting Dev-PHP, it's likely the error has
        been fixed.

        Difficult to reproduce - unless you have a backup.


        Kind regards,

        Pierre




        Error
        dialog: Toolbar item index out of range.




        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/devphp/discussion/426561/


        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/






        </body>
        </html>

         
        •  
          Last edit: Pierre Fauconnier 2014-01-02
          • <html>
            <head>
            <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
            </head>
            <body text="#000000" bgcolor="#FFFFFF">
            Here you are. Sorry for the delay. Actually it's .prd not .prj. Is
            that significant, or just a typo?



            Jeff



            On 02/01/2014 09:37, Pierre Fauconnier
            wrote:







            </body>
            </html>

             
            Attachments
            • You're right: the extension is .prd, not .prj - that's a typo.

              The only weird setting in the attached project.prd is inside the TODO section, where a 0= could have been confusing - but, I've added such a setting into an existing .prd and no issue. I guess the bug is elsewhere.

              Dev-PHP has some other settings in %APPDATA% and it's very likely the bug is here. Usually this comes from the settings from a previous version when we try to read these "old" settings and to transpose them, resulting in "new" settings. This operation is done only once. The Dev-PHP installer has an option in order to rewrite or preserve these settings.