I installed phpCodeGenie 3.0.2 on MS Windows XP with IIS, PHP 5.0, and MySQL 4.1.x. I have several other apps running smoothly with this config.
Install was OK, but code generation for my database gave me write permission errors:
Warning: mkdir() [function.mkdir]: Permission denied in C:\Inetpub\wwwroot\phpCodeGenie\app\common\utils\fileSystem\fileSystemUtils.class.php on line 105
When I change the default directory for the Path to any drive outside the web server, the code writes without error. But then I have to move the code to the webserver root and edit the table.conf.php file to change the path ~ that by itself is no big deal.
However, when I run the application files, even though the initial menu comes up just fine I get another error when I try to enter, list, or search for new records:
Parse error: syntax error, unexpected '$', expecting T_VARIABLE in C:\Inetpub\wwwroot\tablename\app\crudClasses\tablename\tablenameInfo.class.php on line 22
AND, I get a php_cgi.exe error when I try to run the CRUD grid.
Any suggestions, anyone? TIA ~
Lewis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, figured out the problem with the T_Variable error.. it was the field names in the target database. They started with a numeric, not an alpha character.. and apparently phpCodeGenie cannot assign a var $ with a number as the first character.
Now the app starts, and I can list, view, and use the CRUD grid.. but I'm getting an error when I try to apply edits (updates) to the database.
It occurs in the updatetable.php, whether I'm using the Edit or the CRUD grid, and the error reads "An error occured while executing query from database. xxxxx has stopped at this page. Please try again."
I'm also getting an error in the powersearchtable.php that reads "A Database Error Occured while counting result Rows."
I have no idea what's causing either error. Anyone?
Lewis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all!
I installed phpCodeGenie 3.0.2 on MS Windows XP with IIS, PHP 5.0, and MySQL 4.1.x. I have several other apps running smoothly with this config.
Install was OK, but code generation for my database gave me write permission errors:
Warning: mkdir() [function.mkdir]: Permission denied in C:\Inetpub\wwwroot\phpCodeGenie\app\common\utils\fileSystem\fileSystemUtils.class.php on line 105
When I change the default directory for the Path to any drive outside the web server, the code writes without error. But then I have to move the code to the webserver root and edit the table.conf.php file to change the path ~ that by itself is no big deal.
However, when I run the application files, even though the initial menu comes up just fine I get another error when I try to enter, list, or search for new records:
Parse error: syntax error, unexpected '$', expecting T_VARIABLE in C:\Inetpub\wwwroot\tablename\app\crudClasses\tablename\tablenameInfo.class.php on line 22
AND, I get a php_cgi.exe error when I try to run the CRUD grid.
Any suggestions, anyone? TIA ~
Lewis
OK, figured out the problem with the T_Variable error.. it was the field names in the target database. They started with a numeric, not an alpha character.. and apparently phpCodeGenie cannot assign a var $ with a number as the first character.
Now the app starts, and I can list, view, and use the CRUD grid.. but I'm getting an error when I try to apply edits (updates) to the database.
It occurs in the updatetable.php, whether I'm using the Edit or the CRUD grid, and the error reads "An error occured while executing query from database. xxxxx has stopped at this page. Please try again."
I'm also getting an error in the powersearchtable.php that reads "A Database Error Occured while counting result Rows."
I have no idea what's causing either error. Anyone?
Lewis