Every time I try to generate all the CRUD in the Advanced Users section I get the following error/warning.
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\xampp\htdocs\genie\app\generators\dbEngine\table.class.php on line 123
I'm running PHP 5.1.4 under Windows XP SP2.
Its from the XAMPP for Windows Version 1.5.3a
distro.
It seems like not all of the code has been generated properly when this happens. I can go to the individual tables and gen the code/CRUD one file at a time without any problems.
Any ideas what is going on?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In C:\xampp\htdocs\genie\app\settings\applicationConstants.inc.php
at the very bottom of the page do you have
define("GENERATE_FOR_PHP5",true);
set to true??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Every time I try to generate all the CRUD in the Advanced Users section I get the following error/warning.
Warning: array_keys() [function.array-keys]: The first argument should be an array in C:\xampp\htdocs\genie\app\generators\dbEngine\table.class.php on line 123
I'm running PHP 5.1.4 under Windows XP SP2.
Its from the XAMPP for Windows Version 1.5.3a
distro.
It seems like not all of the code has been generated properly when this happens. I can go to the individual tables and gen the code/CRUD one file at a time without any problems.
Any ideas what is going on?
In C:\xampp\htdocs\genie\app\settings\applicationConstants.inc.php
at the very bottom of the page do you have
define("GENERATE_FOR_PHP5",true);
set to true??
Just did that, but I still get the same error listed above. Usually multiple times.
codegenie is looking for what fields to process from your table but not seeing them. What database are you using? have you changed any code?
Here's my configuration, running on windows xp
Apache 2.2.3
MySQL 5.0.24a
PHP 5.1.6 & PHP 4.4.4
An no I haven't made any code changes. I should add some times it will work and other times it does do as good.
In your php.ini file try changing error_reporting to:
error_reporting = E_ALL & E_STRICT;
then restart apache.
works for php5 only