Click here to Skip to main content
15,903,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
PHP
$return->Controller = array();

I am using cakephp in my opendcn project. Now, I am getting warning while I am running my project in :localhost:3000/BASE/home/index.php"

And this is warning list:
VB
Warning (2): Creating default object from empty value [APP\vendors\Strings.php, line 380]
Warning (2): Invalid argument supplied for foreach() [CORE\cake\libs\model\datasources\dbo\dbo_mysql.php, line 127]
Warning (2): array_keys() expects parameter 1 to be array, boolean given [CORE\cake\libs\model\datasources\dbo_source.php, line 1953]
Warning (2): array_keys() expects parameter 1 to be array, boolean given [CORE\cake\libs\model\datasources\dbo_source.php, line 1966]
Warning (2): array_filter() expects parameter 1 to be array, null given [CORE\cake\libs\model\datasources\dbo_source.php, line 1970]
Warning (2): array_values() expects parameter 1 to be array, null given [CORE\cake\libs\model\datasources\dbo_source.php, line 1970]
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE\cake\libs\model\datasources\dbo_source.php, line 2052]
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE\cake\libs\model\datasources\dbo_source.php, line 1244]
Warning (2): implode() [function.implode]: Invalid arguments passed [CORE\cake\libs\model\datasources\dbo_source.php, line 1463]
Warning (2): session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp-portable\htdocs\BASE\home\cake\libs\debugger.php:673) [CORE\cake\libs\cake_session.php, line 587]
Warning (2): session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp-portable\htdocs\BASE\home\cake\libs\debugger.php:673) [CORE\cake\libs\cake_session.php, line 587]
Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp-portable\htdocs\BASE\home\cake\libs\debugger.php:673) [CORE\cake\libs\cake_session.php, line 588]
Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp-portable\htdocs\BASE\home\cake\libs\debugger.php:673) [CORE\cake\libs\controller\controller.php, line 746]
Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp-portable\htdocs\BASE\home\cake\libs\debugger.php:673) [APP\error.php, line 22]



May be I have some problem to setup and configure my project. Please help me how do I solve this problem?
Posted
Comments
Mohibur Rashid 18-Apr-13 8:05am    
make sure your cake php is uptodate to run with your latest php

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900