cryptic error message newbie

2008-07-04 Thread .
Hi. I need help with this error message. I have no idea where it is
coming from. Thanks!


*Notice* (8) javascript:void(0);: Array to string conversion
[*CORE\cake\libs\router.php*, line *910*]

Code javascript:void(0); | Context javascript:void(0);

$route  =   array(
/,
/^[\/]*$/,
array(),
array(
plugin = null,
controller = mainpages,
action = index,
home
),
array()
)
$url=   array(
controller = pictures,
plugin = null,
action = edit/event/82/d080c0a5f84c2200ecef71f9e3a2941b,
id = array(
1f55a9462150e7d988e8053e9892b741,
6e708b97fadcf7b674dc9e389be4cd53
)
)
$_this  =   Router
Router::$routes = array
Router::$__admin = NULL
Router::$__prefixes = array
Router::$__parseExtensions = false
Router::$__validExtensions = NULL
Router::$__named = array
Router::$named = array
Router::$__currentRoute = array
Router::$__headerMap = array
Router::$__resourceMap = array
Router::$__resourceMapped = array
Router::$__params = array
Router::$__paths = array
Router::$__defaultsMapped = true
Router::$_log = NULL
$pass   =   array()
$defaults   =   array(
plugin = null,
controller = mainpages,
action = index,
home
)
$routeParams=   array()
$params =   array(
controller = pictures,
action = edit/event/82/d080c0a5f84c2200ecef71f9e3a2941b,
id = array(
1f55a9462150e7d988e8053e9892b741,
6e708b97fadcf7b674dc9e389be4cd53
),
home
)

array_combine - [internal], line ??
Router::mapRouteElements() - CORE\cake\libs\router.php, line 910
Router::url() - CORE\cake\libs\router.php, line 797
Helper::url() - CORE\cake\libs\view\helper.php, line 183
FormHelper::create() - CORE\cake\libs\view\helpers\form.php, line 200
include - APP\views\pictures\edit.ctp, line 27
View::_render() - CORE\cake\libs\view\view.php, line 641
View::render() - CORE\cake\libs\view\view.php, line 368
Controller::render() - CORE\cake\libs\controller\controller.php, line 732
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 265
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 233
[main] - APP\webroot\index.php, line 84

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: cryptic error message newbie

2008-07-04 Thread Dardo Sordi Bogado

It's coming from the call to $form-create in your view.

The file is  APP\views\pictures\edit.ctp,  line 27.

HTH,
- Dardo Sordi.


On Fri, Jul 4, 2008 at 7:22 AM, . [EMAIL PROTECTED] wrote:
 Hi. I need help with this error message. I have no idea where it is coming
 from. Thanks!


 Notice (8): Array to string conversion [CORE\cake\libs\router.php, line 910]

 Code | Context

 $route=   array(
   /,
   /^[\/]*$/,
   array(),
   array(
   plugin = null,
   controller = mainpages,
   action = index,
   home
 ),
   array()
 )
 $url  =   array(
   controller = pictures,
   plugin = null,
   action = edit/event/82/d080c0a5f84c2200ecef71f9e3a2941b,
   id = array(
   1f55a9462150e7d988e8053e9892b741,
   6e708b97fadcf7b674dc9e389be4cd53
 )
 )
 $_this=   Router
 Router::$routes = array
 Router::$__admin = NULL
 Router::$__prefixes = array
 Router::$__parseExtensions = false
 Router::$__validExtensions = NULL
 Router::$__named = array
 Router::$named = array
 Router::$__currentRoute = array
 Router::$__headerMap = array
 Router::$__resourceMap = array
 Router::$__resourceMapped = array
 Router::$__params = array
 Router::$__paths = array
 Router::$__defaultsMapped = true
 Router::$_log = NULL
 $pass =   array()
 $defaults =   array(
   plugin = null,
   controller = mainpages,
   action = index,
   home
 )
 $routeParams  =   array()
 $params   =   array(
   controller = pictures,
   action = edit/event/82/d080c0a5f84c2200ecef71f9e3a2941b,
   id = array(
   1f55a9462150e7d988e8053e9892b741,
   6e708b97fadcf7b674dc9e389be4cd53
 ),
   home
 )

 array_combine - [internal], line ??
 Router::mapRouteElements() - CORE\cake\libs\router.php, line 910
 Router::url() - CORE\cake\libs\router.php, line 797
 Helper::url() - CORE\cake\libs\view\helper.php, line 183

 FormHelper::create() - CORE\cake\libs\view\helpers\form.php, line 200
 include - APP\views\pictures\edit.ctp, line 27
 View::_render() - CORE\cake\libs\view\view.php, line 641
 View::render() - CORE\cake\libs\view\view.php, line 368

 Controller::render() - CORE\cake\libs\controller\controller.php, line 732
 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 265
 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 233
 [main] - APP\webroot\index.php, line 84

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---