#6509: get Notice (8) "Array to string conversion" "CORE\cake\dispatcher.php" at
first install
------------------------------+---------------------------------------------
    Reporter:  vee            |          Type:  Bug    
      Status:  new            |      Priority:  Medium 
   Milestone:  1.2.x.x        |     Component:  General
     Version:  1.2 Final      |      Severity:  Normal 
    Keywords:  install error  |   Php_version:  PHP 5  
Cake_version:  1.2.3.8166     |  
------------------------------+---------------------------------------------
 my folder structure[[BR]]
 [[BR]]
 website root at c:\inetpub\websites\[[BR]]
 cake project root at c:\inetpub\websites\mysite[[BR]]
 all cake folder at c:\inetpub\websites\mysite\cake[[BR]]
 [[BR]]
 configuration in mysite/index.php[[BR]]
 [[BR]]
 {{{
         if (!defined('ROOT')) {
                 define('ROOT', dirname(__FILE__).'\cake');
         }
 /**
  * The actual directory name for the "app".
  *
  */
         if (!defined('APP_DIR')) {
                 define('APP_DIR', basename('app'));
         }
 /**
  * The absolute path to the "cake" directory, WITHOUT a trailing DS.
  *
  */
         if (!defined('CAKE_CORE_INCLUDE_PATH')) {
                 define('CAKE_CORE_INCLUDE_PATH', ROOT);
         }
 }}}
 [[BR]]
 test => http://localhost/mysite [[BR]]
 it's work! but! [[BR]]
 [[BR]]
 on top of page show notice[[BR]]
 [[BR]]
 Notice (8): Array to string conversion [CORE\cake\dispatcher.php, line
 521][[BR]]
 detail:[[BR]]
 $var    =       "argv"[[BR]]
 $uri    =       array()[[BR]]
 $base   =       ""[[BR]]
 [[BR]]
 strpos - [internal], line ??[[BR]]
 Dispatcher::uri() - CORE\cake\dispatcher.php, line 521[[BR]]
 Dispatcher::getUrl() - CORE\cake\dispatcher.php, line 540[[BR]]
 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 117[[BR]]
 [main] - C:\Inetpub\websites\mysite\index.php, line 88[[BR]]
 [[BR]]
 how do i clear this without ignore all error and warning?[[BR]]

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6509>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to