kvz / cakephp-rest-plugin

Discontinued: recent cakephp versions overlap functionality, there also is @ceeram's plugin. Painless REST server Plugin for CakePHP
http://kvz.io/blog/2010/01/13/cakephp-rest-plugin-presentation/
169 stars 37 forks source link

XML causes internal error #21

Closed mantonelli closed 12 years ago

mantonelli commented 12 years ago

Hi,

I´m trying to get data in XML format.

In browser I get a 500 (internal error) error page. Nothing is reported on Apache logs but in Cake log there is:

Error: Fatal Error (1): Class 'XmlEncodeView' not found in [C:\Apps\Apache\htdocs\nfe\app\Plugin\Rest\Controller\Component\RestComponent.php, line 928]

Where this class is located? I´ve searched on the Internet but I couldn´t found it.

kvz commented 12 years ago

Wow, apparently everybody was only ever using Json; this was broken for a while. Thanks for reporting @mantonelli

kvz commented 11 years ago

Please upgrade to the latest version

On Mon, Jul 30, 2012 at 8:26 PM, mantonelli reply@reply.github.com wrote:

Hi,

I´m trying to get data in XML format.

In browser I get a 500 (internal error) error page. Nothing is reported on Apache logs but in Cake log there is:

Error: Fatal Error (1): Class 'XmlEncodeView' not found in [C:\Apps\Apache\htdocs\nfe\app\Plugin\Rest\Controller\Component\RestComponent.php, line 928]

Where this class is located? I´ve searched on the Internet but I couldn´t found it.


Reply to this email directly or view it on GitHub: https://github.com/kvz/cakephp-rest-plugin/issues/21

Best wishes,

Kevin van Zonneveld (http://kvz.io) Co-Founder, Transloadit (http://transloadit.com)

http://twitter.com/kvz