Reputation: 2610
im getting this error:
Fatal error: Class 'Xml' not found in C:\xampp\htdocs\wifidrivescanportal\app\View\Helper\XmlHelper.php on line 88
What I did is I imported the library XML class in my XML helper via these line of code:
XmlHelper.php
App::import('Core', array('Xml', 'Set'));
But still I get the same error. I have my xml library stored in this path:
C:\xampp\htdocs\wifidrivescanportal\app\Lib\xml.php
BTW, inside my xml.php, ive checked that it is this class that exists:
class XmlNode extends Object {
// ....
}
Well, to make the story short, I need to utilize "serialize" of xml in cakephp. Dunno if im doing this right in the first place. Thanks for the help in advanced.
** Edit **
Ive also tried importing XML in my controller:
App::import('Xml');
yet still in the same situation
Upvotes: 3
Views: 3534