define('AK_ERROR_REPORTING_ON_SCRIPTS', E_ALL);
in config/config.php . I am quite puzzled by what happens after adding
that line and once again trying to use script/generate:
Fatal error: Call to undefined function mysql_pconnect() in <path>
\akelos\vendor\adodob\drivers\adodb-mysql.inc on line 366
Now, if I create a single .php file and connect to a database with
mysql_pconnect(), it works. Kind of strange, nyah?
I have PHP 5.1.4 (cli), am running an Apache 2 server with one of the
latest releases of MySQL.
It seems like you have two different PHP versions installed or at
least two different configurations.
Check if both versions are the same by trying
/usr/bin/env php -v
and
php -v
If they are the same, check your current mysql settings by typing
/usr/bin/env php -i | grep mysql
You should see something like
mysql.allow_persistent => On => On