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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.