Menu

Simple PHP code generator: save to disk...

Anonymous
2004-08-26
2004-08-26
  • Anonymous

    Anonymous - 2004-08-26

    Hi,
    I just installed your  lill' piece of software on my virtual host (apache server with cpanel).
    I tried to use the [beginning programmers -> `simple php code gen -> generate all CRUD and save to disk) generate php scripts and save function, but it is not working :-(

    I can see with my ftp prog that a new dir 'srpouyet_test' (also the name of the mySQL db) has been created in the default generatedCode dir. Problem is it's permissions are set to 304 (!). I can't read or delete the dir.

    Do you know a solution to my problem?

    Thanx!

     
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-08-26

      that's the server level settings... when apache writes to the filesystem.. it could do so as whichever user it is running as and put the default user umask to it (304)... Unless you have access to the apache configuration file, I dont think there is a solution to this problem. What I always recommend, is to use PCG on your local development environment (our local desktop) where you can set up apache, php and mysql and you all have all administrative privileges. After you are done with development, then move the generated code over to your main production server. I reiterate again.. PCG is a development tool. it is to be used in your development environments.

       

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.