Google app engine problem


I’ve used this app to get my application working with Google App engine.

Everything went smooth until I needed to implement a basic upload. I’ve noticed that I have to use the google cloud storage api in order to do file uploads and I’ve tried to use their code suggestion posted here

My problem is that I cannot seem to import the CloudStorageTools class.

I’ve used these lines as suggested in their code

require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';

use google\appengine\api\cloud_storage\CloudStorageTools;

and got this error

include(): apc failed to locate google/CloudStorageTools.php - bailing.

I’ve tried every possible way I could think of and the last one was to set an alias in my config file

Yii::setPathOfAlias('google', 'google/appengine/api/cloud_storage');

then, I’ve tried to import the class with


but this time I’ve got this error

Alias "google.CloudStorageTools" is invalid. Make sure it points to an existing PHP file and the file is readable.

Maybe this problem is because I the google appengine api location is not set properly but I can’t seem to find were is located.

Can anyone help me with this problem ? Thank you!

At least I need some help adding that include in yiiframework. Am I adding it correctly? If yes, the problem is somewhere else.