i'm a beginner in PHP and Zend Framework 2,
i've develop small apps using ZF2. its working well in my local. so i try to publish on the net (www.khairatbtho.ipt4u.com - hosted at dreamhost). it can show the first page... actually its the zend sceleton welcome page.
but when i want to go to the next page (profile) where i need to access the database, it give this error
" An exception was raised while creating "Profile\Model\ProfileTable"; no instance returned "
I assume the problem with my database setup but i'm sure i've set it right.. may be i missing something here.. glad if any of you could help
this is my global.php setting
'db' => array (
'driver' => 'Pdo',
'dsn' => 'mysql:dbname=khairatbtho;
'username' => 'btho',
'password' => 'btho43200',
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''