hmm…it seems you set mbstring.func_overload to be true in your php.ini, which causes strrpos to be overloaded by mb_strrpos. The latter would report a warning if the first parameter is empty.
Try to change your php.ini setting for now. I will go through the framework code to avoid this problem.
I copied a project from one server to another. Database has been copied also - a mysql-user has been created. acces to the appropriate database is granted. Settings in <projectdir>/protected/config/main.php has been updated.
CDbConnection failed to open the DB connection: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
hm… seems to be a problem with the pdo-module of RHEL 5.2 / CentOS 5.2. with php 5.1.6. When i install the project on Fedora 9 with PHP 5.2.6 all works as expected.
after disabling the charset attribute i got following error:
[tt]CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet[/tt]