i figured it out :)
using your recommendation on the other thread about inserting
define('AK_ERROR_REPORTING_ON_SCRIPTS', E_ALL);
i got this error message:
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) in /Applications/MAMP/htdocs/vendor/adodb/drivers/adodb-mysql.inc.php on line 349
then i looked into that file on line 349 and looked at the code. it appeared like code that handles the way to connect to the database depending on the php version. and it looks like the first condition (check if version is greater than 4.3 was not true) which is odd as mamp uses php5.
then it was almost clear to me. i went to the script files and replaced the shebang line to the MAMP path to php5
#!/Applications/MAMP/bin/php5/bin/php
i guess i only ran into this problem because there is also a php version installed in /usr/bin/php which comes with mac os x already iirc.
you still did better than me. i'm getting the error saying
call to undefined fuction mysql_connect();
1 to 5 of 5