Tuesday, November 8, 2011

Trying to get REST working Properly in Cake 2.0

Notice (8): Undefined variable: xml [APP/View/StandardIndustrialClassificationCodes/xml/index.ctp, line 6]
Code Context

<standard_industrial_classification_codes>
    <?php $xml->serialize($standard_industrial_classification_codes); ?>
$___viewFn = "/var/www/cake_2_0/app/View/StandardIndustrialClassificationCodes/xml/index.ctp"
$___dataForView = array(
"standard_industrial_classification_codes" => array(
array()
),
"standardIndustrialClassificationCodes" => array(
array()
)
)
$standard_industrial_classification_codes = array(
array(
"StandardIndustrialClassificationCode" => array()
)
)
$standardIndustrialClassificationCodes = array(
array(
"StandardIndustrialClassificationCode" => array()
)
)
include - APP/View/StandardIndustrialClassificationCodes/xml/index.ctp, line 6
View::_render() - CORE/Cake/View/View.php, line 598
View::render() - CORE/Cake/View/View.php, line 365
Controller::render() - CORE/Cake/Controller/Controller.php, line 898
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 114
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 89
[main] - APP/webroot/index.php, line 96
Fatal error: Call to a member function serialize() on a non-object in /var/www/cake_2_0/app/View/StandardIndustrialClassificationCodes/xml/index.ctp on line 6

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate