can not load project files

eddy147
2007-11-16
2012-12-07
  • eddy147

    eddy147 - 2007-11-16

    After saving a project file and closing php-dev, and starting php-dev again it does not load the project file.
    If i go to Open Project, and browse and open the prd file, nothing happens. It stays in "Explorer mode".

     
    • Pierre Fauconnier

      Hi,

      > After saving a project file
      How did you save it (filename and so on...) ?

      > closing php-dev
      You mean Dev-PHP, I guess ? ;)

      > and starting it again, then no project loaded.
      That's weird, I agree with you...

      > If I manually open the prd file, nothing happens.
      > It stays in "Explorer mode".
      You mean no files are opened in Editor ?
      What is the root directory ?
      (just drop the mouse over the speed button onto the Files-tab and above the treeview, will give it)

      BTW, what is exactly the version number ?

      Best regards,
      Pierre.

       
      • eddy147

        eddy147 - 2007-11-16

        Hi,
        thanks for your reply.

        yes, no files are opened in the editor.
        The root directory is "My Documents", my project files are somewhere else.

         
        • Pierre Fauconnier

          > Version is 2.2.2
          Ok, that's fine.

          > The root directory is "My Documents",
          > my project files are somewhere else
          Well, this could be the issue.
          I mean, there must be a bug, but we don't know how to reproduce it yet.
          The files must be inside the root directory or its subdirectories.
          A project shouldn't refer to files coming from outside.

          Could you change the root directory, then
          open some files from there,
          save the project
          quit Dev-PHP
          and call the program back ?

           
          • eddy147

            eddy147 - 2007-11-17

            This is what I did now:

            create new project
            selected folder d:/projects/eucaris
            saved project file in the same folder
            quit php-dev
            open

            what i get is the same:
            no project an no file is opened.

            thx for your patience on this

             
            • Pierre Fauconnier

              Hi,

              Well. I built a directory containing a few files (3 small projects)
              Then I compressed it from 7z and created an SFX
              (self extractible - no special effects :)
              http://devphp2.free.fr/files/Dev-PHP.tst.exe (1 870 770 B)

              Just download this file
              then run and *extract to the root* of any drive unit :
              For example C:\ or K:\ Of course, this drive unit can be a memory stick or a usb flash drive
              Then, execute drive:\Dev-PHP.tst\devphp.exe

              Best regards,
              Pierre.

               
              • eddy147

                eddy147 - 2007-11-18

                Hello Pierre

                it finally works.
                Your method showed me that only projects under the root of dev-php will load.
                Thanks a lot.

                 
                • Pierre Fauconnier

                  Hi,

                  > it finally works
                  Fine :)

                  > only projects under the root of dev-php will load
                  That's true according to the given examples, which are an extract of "Dev-PHP portable"

                  However, /if/
                  1- we move these projects out of the root of devphp.exe program
                  2- we update accordingly, in order to refer to new paths, the following ini-files
                  2a) ./App/devphp/devphp.ini at sections [Projects] [History] and [ProjectHistory]
                  2b) all the files "project.prd" (they are ini-files) at
                       ob1) [Options] LocalPath=
                       ob2) [History]
                  /then/ it'll continue to work.
                  Nevertheless, I must admit that all this is not really obvious.

                  Thanks for you report,
                  Pierre.
                  --
                  While moving by hand directory structures, never forget the ob1 recipe
                  :-D

                   
                  • eddy147

                    eddy147 - 2007-11-18

                    Thanks again for your time and patience.

                     
    • eddy147

      eddy147 - 2007-11-16

      oh, also, the DEV-PHP version number is 2.2.2

       

Log in to post a comment.