Thanks Adam, but whether I instantiate or not, I get an error:
Fatal error: Class 'Helper' not found in /path/to/app/cake/libs/view/helpers/app_helper.php on line 40 Adam Royle wrote: > > > You're halfway there, that includes the class file. Now you just have > to instantiate it: > > $xml = new XmlHelper(); > > On Dec 5, 1:45 pm, RyOnLife <[EMAIL PROTECTED]> wrote: >> Hello, I am trying to use the Xml Helper in a shell script that will be >> run >> from the console. >> >> Per thehttp://book.cakephp.org/view/499/The-App-ClassI tried >> App::import('Helper', 'Xml') without any luck. >> >> Without success I also gave the suggestions >> inhttp://n2.nabble.com/Load-Helper-in-Console-td1556101.html#a1559299a >> try. >> >> Any other ideas for me? Thanks. >> -- >> View this message in >> context:http://n2.nabble.com/How-to-use-Core-Helpers-in-a-console-shell-scrip... >> Sent from the CakePHP mailing list archive at Nabble.com. > > > > -- View this message in context: http://n2.nabble.com/How-to-use-Core-Helpers-in-a-console-shell-script-tp1616804p1616867.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
