I'm currently trying to use the YII Framework extensions. However, I have met up with some problems.
I have followed the step by step procedure in this website: https://github.com/drumaddict/skydrive-api-yii
However, when I call
Yii::import('protected.extensions.skydrive.SkyDriveAPI');
in the php.
It gives me
Uncaught exception 'CException' with message 'Alias "protected.extensions.skydrive.SkyDriveAPI" is invalid.
I'm new to the Yii Framework and would need some help. May anyone give me some pointers.
Thanks, Chan Yeoh
If your extension is placed in protected/extensions just use:
Yii::import('ext.skydrive.SkyDriveAPI');
which is the same as:
Yii::import('application.extensions.skydrive.SkyDriveAPI');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With