Menu

Strangeness on code generation

AKtivX
2004-10-15
2013-04-17
  • AKtivX

    AKtivX - 2004-10-15

    Hi, first off, I would like to say thinks for making this incredible time saving application available to all. It has saved me hours and hours of monotonous coding while building applications.
    However  , I do have a slight problem with the Advanced user generted code. It goes through all of the processes and then when I look in the selected directory, there is no code . This only happens when I choose to generate code for the entire database. Is there something I am doing wrong? Permissions are set properly 0777 for the required directory, so I am at a loss as to the cause.

    Any help would be apreciated.

     
    • Hal Gumbert

      Hal Gumbert - 2004-10-21

      I'm really glad for this too, but I have a similar problem with generating "beginning programmers code" when saving to disk.

      I had it save to the web/generatedCode/ directory. It created a directory named after my database name set with the permissions 341. I can't even delete it.

      I looked through the code and I found the permissions 0755 in the fileSystemUtils.class.php file. I changed them to 777, but it didn't make a difference.

      Next, I thought I would create a new folder inside the web/generatedCode/ folder called code and then created another folder inside of it named after my database. Doing so, it allowed the saving to go much farther, up until it needed another subfolder called common.

      I think that if I created all of the directories by hand and setting them to 777 it would work. This leads me to believe that the directories are not being created correctly...

       
      • Nilesh Dosooye

        Nilesh Dosooye - 2004-10-21

        I think.. its the user who runs your apache's umask is set to create files with 0341... read more on umask and try to change your apache user's umask to something that'll allow it to write the code to disk...

         
        • René Capion

          René Capion - 2004-11-24

          I am a newb in php/mysql, so this program is fantastic..as far as I keep the files where they are put. I, also, cannot access the created files in any way.
          I found out, through an online ftp-manager ( hosted at servetheworld.net ) that the catalog is created by httpd, and not as "the_name_I_use_as_admin" logged in to create the forms and stuff soo nice and easy. *S*
          Is there any solution other than asking the host to "release" my files ?
          I have tried to "trick" it, in many ways: packing as zip, tgz, download, accessing via frontpage, ftp..and so on.. including chmod -R xxx ( xxx = allmost any number ), chmod xxx

           
    • madyson3

      madyson3 - 2005-01-15

      I'm having the same problem. Also it's being created by a uid of 99, which is why I can't edit or delete it.

      Nilesh wrote:
      "its the user who runs your apache's umask is set to create files with 0341"
      but I have no idea what that means. I have a hosting company, but I am the only user for my account.

       
    • art

      art - 2005-01-24

      I have the exact same problem; after reading the solutions which I could not understand, I found it easiest to just use the piecmeal code which displays on the monitor , and cut and paste. Not eloquent, but it works.

       

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.