Re: [google-appengine] Re: GAE php CloudStorageTools class is missing

2015-06-03 Thread Vinny P
On Tue, Jun 2, 2015 at 10:35 AM, mohamed hassan  wrote:

> *Fatal error*: Call to undefined function make_call() in
> *C:\xampp\htdocs\google_cloud\google\appengine\runtime\RealApiProxy.php* on
> line *49*
>


Are you using the App Engine development server, or another PHP server on
your local machine? Can you post the commands you use to launch the dev
server?



-
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALSvALBrOxuCbqXY_3pWwhbtFjZkfsfaTgi1DsW%3Dx%3DwnoRRuOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-06-02 Thread mohamed hassan
*Fatal error*: Call to undefined function make_call() in 
*C:\xampp\htdocs\google_cloud\google\appengine\runtime\RealApiProxy.php* on 
line *49*


*this is the error which we get when trying to use this code and i can't 
figure where is the problem in it ?*
On Friday, May 29, 2015 at 10:06:56 PM UTC+3, Mars Lan wrote:
>
> CloudStorageTool.php is part of the GAE PHP SDK so there's no need to 
> download and include it manually. Your example code from 
> https://cloud.google.com/appengine/docs/php/googlestorage/images should 
> work as-is. What error message are you getting?
>
>
> On Friday, May 29, 2015 at 10:51:42 AM UTC-7, Joe Seph wrote:
>>
>> Hey Patrice thanks for your quick reply ,
>> I'm trying to use dynamic image feature using PHP app engine according to 
>> the official documentation in order to use  this feature I have to use 
>> CloudStorageTools . as declared in the following code 
>>
>> require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
>> use google\appengine\api\cloud_storage\CloudStorageTools;
>>
>> $object_image_file = 'gs://my-bucket/myfile.png';
>> $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
>> ['size' => 400, 'crop' => true]);
>>
>> header('Location:' .$object_image_url);
>>
>> the problem that I can't find CloudStorageTools Class in Google 
>> PHP client library .
>> I have  a doubt that CloudStorageTools is a part of Google cloud storage 
>> and I have to integrate both Google cloud storage and Google app engine 
>> together in order to do the above code I could be mistaken .
>>
>> Thanks ,
>>
>> On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:
>>>
>>> I downloaded google-api-PHP-client from GitHub from this link ( 
>>> https://github.com/google/google-api-php-client ) and installed it on 
>>> my localhost then created a bucket on our google project and used storage 
>>> class from this library to upload files on this bucket . with this class i 
>>> could upload and get details of all files in any bucket on this project . 
>>> now I need to use tools called CloudStorageTools and i need to know if it 
>>> is separated on this library because I can't find this class and I need to 
>>> know how to install it in details and preferred if there is any example to 
>>> how install it on a localhost environment and how to install it on server 
>>> environment using PHP .
>>>
>>> Thanks .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a915c03e-b894-49f4-a9ed-8aa6471b5e99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-05-29 Thread Mars Lan
CloudStorageTool.php is part of the GAE PHP SDK so there's no need to 
download and include it manually. Your example code 
from https://cloud.google.com/appengine/docs/php/googlestorage/images 
should work as-is. What error message are you getting?


On Friday, May 29, 2015 at 10:51:42 AM UTC-7, Joe Seph wrote:
>
> Hey Patrice thanks for your quick reply ,
> I'm trying to use dynamic image feature using PHP app engine according to 
> the official documentation in order to use  this feature I have to use 
> CloudStorageTools . as declared in the following code 
>
> require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
> use google\appengine\api\cloud_storage\CloudStorageTools;
>
> $object_image_file = 'gs://my-bucket/myfile.png';
> $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
> ['size' => 400, 'crop' => true]);
>
> header('Location:' .$object_image_url);
>
> the problem that I can't find CloudStorageTools Class in Google 
> PHP client library .
> I have  a doubt that CloudStorageTools is a part of Google cloud storage 
> and I have to integrate both Google cloud storage and Google app engine 
> together in order to do the above code I could be mistaken .
>
> Thanks ,
>
> On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:
>>
>> I downloaded google-api-PHP-client from GitHub from this link ( 
>> https://github.com/google/google-api-php-client ) and installed it on my 
>> localhost then created a bucket on our google project and used storage 
>> class from this library to upload files on this bucket . with this class i 
>> could upload and get details of all files in any bucket on this project . 
>> now I need to use tools called CloudStorageTools and i need to know if it 
>> is separated on this library because I can't find this class and I need to 
>> know how to install it in details and preferred if there is any example to 
>> how install it on a localhost environment and how to install it on server 
>> environment using PHP .
>>
>> Thanks .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9823caec-5adc-4a96-9b9f-75acdc3b763a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-05-29 Thread Patrice (Cloud Platform Support)
Hey Joe,

Thanks for clarifying it. Honestly, that does completely invalidate my 
whole gsutil answer.

I'm looking this up, I should be able to come back with something soon :).

Cheers!

On Friday, May 29, 2015 at 1:51:42 PM UTC-4, Joe Seph wrote:
>
> Hey Patrice thanks for your quick reply ,
> I'm trying to use dynamic image feature using PHP app engine according to 
> the official documentation in order to use  this feature I have to use 
> CloudStorageTools . as declared in the following code 
>
> require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
> use google\appengine\api\cloud_storage\CloudStorageTools;
>
> $object_image_file = 'gs://my-bucket/myfile.png';
> $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
> ['size' => 400, 'crop' => true]);
>
> header('Location:' .$object_image_url);
>
> the problem that I can't find CloudStorageTools Class in Google 
> PHP client library .
> I have  a doubt that CloudStorageTools is a part of Google cloud storage 
> and I have to integrate both Google cloud storage and Google app engine 
> together in order to do the above code I could be mistaken .
>
> Thanks ,
>
> On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:
>>
>> I downloaded google-api-PHP-client from GitHub from this link ( 
>> https://github.com/google/google-api-php-client ) and installed it on my 
>> localhost then created a bucket on our google project and used storage 
>> class from this library to upload files on this bucket . with this class i 
>> could upload and get details of all files in any bucket on this project . 
>> now I need to use tools called CloudStorageTools and i need to know if it 
>> is separated on this library because I can't find this class and I need to 
>> know how to install it in details and preferred if there is any example to 
>> how install it on a localhost environment and how to install it on server 
>> environment using PHP .
>>
>> Thanks .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7bd0dff7-a160-4973-ba2a-31d7723d8759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-05-29 Thread Joe Seph
Hey Patrice thanks for your quick reply ,
I'm trying to use dynamic image feature using PHP app engine according to 
the official documentation in order to use  this feature I have to use 
CloudStorageTools . as declared in the following code 

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

$object_image_file = 'gs://my-bucket/myfile.png';
$object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
['size' => 400, 'crop' => true]);

header('Location:' .$object_image_url);

the problem that I can't find CloudStorageTools Class in Google PHP client 
library .
I have  a doubt that CloudStorageTools is a part of Google cloud storage 
and I have to integrate both Google cloud storage and Google app engine 
together in order to do the above code I could be mistaken .

Thanks ,

On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:
>
> I downloaded google-api-PHP-client from GitHub from this link ( 
> https://github.com/google/google-api-php-client ) and installed it on my 
> localhost then created a bucket on our google project and used storage 
> class from this library to upload files on this bucket . with this class i 
> could upload and get details of all files in any bucket on this project . 
> now I need to use tools called CloudStorageTools and i need to know if it 
> is separated on this library because I can't find this class and I need to 
> know how to install it in details and preferred if there is any example to 
> how install it on a localhost environment and how to install it on server 
> environment using PHP .
>
> Thanks .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a87d6d9e-d187-42e7-a80d-84c8e5aa30ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-05-29 Thread Patrice (Cloud Platform Support)
Hi Joe,

Not 100% sure what you mean by "CloudStorageTools", but I will assume you 
meant gsutil  (the command 
line utilitary for google storage).

This page contains everything you need to install, run, and use it.

If I'm mistaken in the tool you need, let me know where you get that name 
exactly and I'll investigate.

Cheers!

On Thursday, May 28, 2015 at 11:13:34 PM UTC-4, Joe Seph wrote:
>
> I downloaded google-api-PHP-client from GitHub from this link ( 
> https://github.com/google/google-api-php-client ) and installed it on my 
> localhost then created a bucket on our google project and used storage 
> class from this library to upload files on this bucket . with this class i 
> could upload and get details of all files in any bucket on this project . 
> now I need to use tools called CloudStorageTools and i need to know if it 
> is separated on this library because I can't find this class and I need to 
> know how to install it in details and preferred if there is any example to 
> how install it on a localhost environment and how to install it on server 
> environment using PHP .
>
> Thanks .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/29eb5ebe-51b4-46f2-936d-8d8c29246049%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.