Re: [google-appengine] Is Google App Engine Launcher being deprecated? Why??

2017-02-04 Thread Alex Kerr
Thanks for the update. It's a real shame that the Launcher has been deprecated. This is one decision that needs to be reversed. I think unless Google has clear stats showing either a very small active userbase for Launcher and/or a clear and rapid downward trend of usage, then development shoul

[google-appengine] PHP script not flushing output to browser, in dev server?

2016-05-27 Thread Alex Kerr
I've got a long running PHP script which does some processing and should be outputting text to the browser occasionally during it's runtime but it just seems to stack all the output up and display it at the end. I'm using ob_start(), ob_flush() and ob_end_flush so PHP definitely should be sendin

[google-appengine] Check email usage quota via API?

2016-05-25 Thread Alex Kerr
Hi, How can I check from my App Engine app (PHP) what my current email usage is, from the quota of 100/day? e.g. something like: $emails_sent = Google_Email_Quota_Usage(); // returns e.g. 56, figure is reset every 24 hour cycle Thanks! Alex -- You received this message because you are subsc

[google-appengine] Re: Pointing 2nd custom domain to different URL (page) in my GAE app?

2016-04-21 Thread Alex Kerr
way that doesn't rely on server-side processing... Thanks On Thursday, April 21, 2016 at 4:23:16 PM UTC+1, Mihail Russu wrote: > > On your incoming requests in your PHP code check what hostname the request > came to and depending on that decide what page to render... > > On Thurs

[google-appengine] Pointing 2nd custom domain to different URL (page) in my GAE app?

2016-04-21 Thread Alex Kerr
Hi, I have a custom domain set up for my GAE app (PHP) and want to add a 2nd custom domain that points to a different homepage - so to the user appears to be a separate site. I don't want to create a whole new app as the two sites need to partially share Datastore and Cloud Storage backend. Ad

[google-appengine] Re: Clarifying projection query cost?

2016-04-07 Thread Alex Kerr
d Platform Community Support > > On Wednesday, April 6, 2016 at 10:12:15 AM UTC-4, Alex Kerr wrote: >> >> Hi, >> >> Can anyone clarify the cost of projection queries please? (both in >> operations and financially) >> >> Datastore pricing page at: >

[google-appengine] Clarifying projection query cost?

2016-04-06 Thread Alex Kerr
Hi, Can anyone clarify the cost of projection queries please? (both in operations and financially) Datastore pricing page at: https://cloud.google.com/datastore/docs/pricing says a regular query (is that "SELECT * " ?) is 1 read + 1 read per entity retrieved. I get that, but then projection qu

[google-appengine] How to get www. custom domain working with GAE and Cloudflare?

2016-03-24 Thread Alex Kerr
Hi, I've got a naked (i.e. without 'www.') custom domain working with my App Engine app and I'm using Cloudflare in front of this as a CDN. On Cloudflare I have www.mydomain.com rerouted as a CNAME to mydomain.com. Entering the naked domain in a browser brings up my app as expected. But using

[google-appengine] Confusing Cloud Storage pricing?

2016-02-29 Thread Alex Kerr
Apologies if I'm missing something obvious (I assume so!) but this page: https://cloud.google.com/appengine/docs/php/storage says: "*There are no charges associated with making calls to Google Cloud Storage. However, any data stored in Google Cloud Storage is charged the usual Google Cloud Stor

[google-appengine] "Threadsafe" setting - (dis/)advantages and how to make app threadsafe?

2016-01-29 Thread Alex Kerr
Hi, I'm building a PHP app on App Engine. What are the advantages and disadvantages of setting the "threadsafe" setting in app.yaml and how do I ensure my app is designed to be threadsafe? Thanks! Alex -- You received this message because you are subscribed to the Google Groups "Google App E

[google-appengine] Re: How to persist (PHP) sessions beyond shared memcache?

2016-01-26 Thread Alex Kerr
e.com/appengine/docs/python/ndb/> on Python and > Objectify <https://github.com/objectify/objectify> on Java), just some > extra info. > > On Tuesday, January 26, 2016 at 11:26:42 AM UTC-5, Alex Kerr wrote: >> >> Actually further to my reply above, I found th

[google-appengine] Re: How to persist (PHP) sessions beyond shared memcache?

2016-01-26 Thread Alex Kerr
> the suggestion provided in this post > <http://stackoverflow.com/questions/20272634/storing-session-data-in-database-and-memcache> > on > Stack Overflow. > > On Monday, January 25, 2016 at 3:36:59 PM UTC-5, Alex Kerr wrote: >> >> Hi, >> I'm

[google-appengine] Re: How to persist (PHP) sessions beyond shared memcache?

2016-01-26 Thread Alex Kerr
uggestion provided in this post > <http://stackoverflow.com/questions/20272634/storing-session-data-in-database-and-memcache> > on > Stack Overflow. > > On Monday, January 25, 2016 at 3:36:59 PM UTC-5, Alex Kerr wrote: >> >> Hi, >> I'm using standard PHP

[google-appengine] How to persist (PHP) sessions beyond shared memcache?

2016-01-25 Thread Alex Kerr
Hi, I'm using standard PHP session stuff for my web app, which means session data is stored in App Engine's shared memcache. Google's docs state that this can get flushed so any logged in user sessions would fail. How exactly do I add use of Datastore (or Cloud Storage?) into this process so tha

[google-appengine] Re: Handling user logins with AppEngine PHP and Datastore?

2016-01-19 Thread Alex Kerr
Thanks Tom. These look good! Regards, Alex On Tuesday, January 19, 2016 at 7:48:51 PM UTC, Tom Walder wrote: > > Hi there. > > You might want to consider something like one of these > https://github.com/ircmaxell/password_compat > https://github.com/hautelook/phpass > > Which do a reasonable job

[google-appengine] Handling user logins with AppEngine PHP and Datastore?

2016-01-19 Thread Alex Kerr
I'm building a site where I need to have a user log in with a username and password, and I'm running on AppEngine PHP with a Google Datastore database. Very straightforward, but just wondering if anyone can recommend any simple ways of handling user logins, please? Are there any good PHP librar

[google-appengine] Re: Geospatial/geolocation queries from GAE (or other Cloud products)?

2016-01-06 Thread Alex Kerr
/github.com/tomwalder/php-appengine-search > http://pub-search.appspot.com/ > > Some more reading > > https://gae-php-tips.appspot.com/2015/12/19/making-cloud-datastore-easy-for-php-on-app-engine/ > > Enjoy! > > Tom > > > > > > On Monday, 4 January 2016 20

[google-appengine] Geospatial/geolocation queries from GAE (or other Cloud products)?

2016-01-04 Thread Alex Kerr
Hi all, Wondering how best to implement some basic geolocation stuff using Google Cloud products (and open source if appropriate) I need to search user records I'm storing in Datastore, which include the user's address (in ordinary human readable text format) to see which other users are within

[google-appengine] Re: ImageMagick PHP errors

2015-12-23 Thread Alex Kerr
ou on? > > > On Tuesday, December 22, 2015 at 3:03:05 PM UTC-8, Alex Kerr wrote: >> >> Hi, >> >> Trying a very simple test of ImageMagick - code below. >> >> 1.) ImageMagick extension not available on local dev server it seems - >> how come? Only

[google-appengine] Re: ImageMagick PHP errors

2015-12-23 Thread Alex Kerr
ee > https://cloud.google.com/appengine/docs/php/config/appconfig#PHP_app_yaml_Static_file_handlers > > for more details)? > > ImageMagick should work on local dev server. What platform are you on? > > > On Tuesday, December 22, 2015 at 3:03:05 PM UTC-8, Alex Kerr wrote

[google-appengine] ImageMagick PHP errors

2015-12-22 Thread Alex Kerr
Hi, Trying a very simple test of ImageMagick - code below. 1.) ImageMagick extension not available on local dev server it seems - how come? Only seems to allow ImageMagick functions on the live GAE server. 2.) Can't access my test image in my img/ dir - not sure why - this is set to be app rea

[google-appengine] Re: Getting HTTPS/SSL working with App Engine and CloudFlare (and custom domain) ?

2015-12-01 Thread Alex Kerr
re and ask them. > > Cheers! > > On Monday, November 30, 2015 at 3:24:44 PM UTC-5, Alex Kerr wrote: >> >> Hi, >> >> I have my App Engine app working with CloudFlare and my custom domain via >> HTTP, but does anyone know what changes I need to make to allow u

Re: [google-appengine] App Engine Dev server error: "Current logged in user ... is not authorized to view this page."

2015-11-30 Thread Alex Kerr
Ah that works fine once I cleared cookies, thanks. I wasn't getting any login just the error message... Thank you. On Monday, November 30, 2015 at 8:35:04 PM UTC, Alex Martelli wrote: > > > > On Mon, Nov 30, 2015 at 12:20 PM, Alex Kerr > wrote: > >> Hi, >> &g

[google-appengine] Getting HTTPS/SSL working with App Engine and CloudFlare (and custom domain) ?

2015-11-30 Thread Alex Kerr
Hi, I have my App Engine app working with CloudFlare and my custom domain via HTTP, but does anyone know what changes I need to make to allow users to access via HTTPS? I'm thinking I just use Cloudflare's Universal SSL and that I don't need to set up SSL on App Engine - is this right? Many t

[google-appengine] App Engine Dev server error: "Current logged in user ... is not authorized to view this page."

2015-11-30 Thread Alex Kerr
Hi, When I try to access a PHP or HTML file from my project in my local browser, when running the dev server (PHP SDK), I just get the message "Current logged in user [my email address] is not authorized to view this page.". I get this message regardless of whether I am logged into the correct

[google-appengine] Warning: imagettftext(): Invalid font filename in PHP ?

2015-10-10 Thread Alex Kerr
Hi, I'm trying to use a font with PHP's imagettftext() and no matter what I do I get the "Warning: imagettftext(): Invalid font filename" error. The font file is at an external public URL - specifying this directly causes the error. So I then used file_get_contents() and file_put_contents() to

[google-appengine] Any got HHVM (Facebook's PHP engine) running on Managed VMs?

2015-10-05 Thread Alex Kerr
Anyone got Facebook's HHVM PHP engine running on Google's App Engine Managed VMs (Virtual Machines)? Seems like a great combination of auto-management and auto-scaling with the most efficient PHP runtime engine. Welcome any thoughts/tips/experiences! - I am thinking of trying to set it up somet

[google-appengine] Re: Will AppEngine autoscale if current instance(s) don't have enough memory?

2015-07-22 Thread Alex Kerr
an error if you exceeded the > hard memory limit and the instance was killed. > For soft memory limits the instance is terminated when the requests have > completed. > > > On Wednesday, 22 July 2015 05:50:01 UTC-7, Alex Kerr wrote: >> >> Thanks Stuart. That sounds g

[google-appengine] Re: Will AppEngine autoscale if current instance(s) don't have enough memory?

2015-07-22 Thread Alex Kerr
ueue requests at the instance level. > > On Tuesday, 21 July 2015 10:48:05 UTC-7, Alex Kerr wrote: >> >> Thanks Patrice. Your second document refers to Python. I'm using PHP - >> are the same options applicable to that too? >> >> I'm just wondering what

[google-appengine] Re: Will AppEngine autoscale if current instance(s) don't have enough memory?

2015-07-21 Thread Alex Kerr
it, as it would be > clunky, might degrade customer experience (by making your whole app a tad > slower). > > Cheers! > > On Monday, July 20, 2015 at 4:07:05 PM UTC-4, Alex Kerr wrote: >> >> Hi, >> >> I've got a PHP app running in standard AppEngin

[google-appengine] Will AppEngine autoscale if current instance(s) don't have enough memory?

2015-07-20 Thread Alex Kerr
Hi, I've got a PHP app running in standard AppEngine. It does use a bit of memory for in-app image manipulation. I'm wondering what happens when there are enough concurrent users of my web app that the current instance(s) don't have the memory to handle more users (i.e. so it's not a CPU load

[google-appengine] How to install Composer & Guzzle on App Engine?

2015-07-08 Thread Alex Kerr
Hi, I need to use Guzzle (HTTP client, http://guzzle.readthedocs.org/en/latest/ ) in a project on App Engine, and the only installation method suggested is using Composer. Anyone know how to install/use Composer ( https://getcomposer.org/doc/00-intro.md) on App Engine* and/or *install Guzzle w

[google-appengine] Re: PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-07 Thread Alex Kerr
art form manually? > > On Tuesday, 7 July 2015 03:39:43 UTC+10, Alex Kerr wrote: >> >> Sorry for a 3rd reply, but just to confirm my code all works fine when >> the image to be uploaded is a static file uploaded with my app, including >> if the image is in a subfolder.

[google-appengine] Re: Socket quota limits when using a Redis Cluster

2015-07-06 Thread Alex Kerr
I've been told you can ask Google to increase socket limits. I will have the same requirement when my app goes live. Would be interested to hear if you have success (or not) in getting the quota raised, and presumably pricing is the same, if you don't mind posting an update! On Monday, July 6,

[google-appengine] Re: PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-06 Thread Alex Kerr
t; files from vfs to gs. > > On Sunday, 5 July 2015 04:04:11 UTC+10, Alex Kerr wrote: >> >> Hi, >> >> I've got my main PHP script writing an image file out to vfs:// using the >> PHP GD lib function imagepng(image, filename) >> >> Then I&#

[google-appengine] Re: PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-06 Thread Alex Kerr
d the files to persist between requests you'll need to write or move the > files from vfs to gs. > > On Sunday, 5 July 2015 04:04:11 UTC+10, Alex Kerr wrote: >> >> Hi, >> >> I've got my main PHP script writing an image file out to vfs:// using the >> PHP

[google-appengine] Re: PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-06 Thread Alex Kerr
ks, Alex On Sunday, July 5, 2015 at 4:23:35 PM UTC+1, Stuart Langley wrote: > > Files that you write to vfs are removed at the end of the request. If you > need the files to persist between requests you'll need to write or move the > files from vfs to gs. > > On Sunday, 5 Jul

[google-appengine] PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-04 Thread Alex Kerr
Hi, I've got my main PHP script writing an image file out to vfs:// using the PHP GD lib function imagepng(image, filename) Then I'm using Facebook's PHP SDK to try and post that. FB's SDK uses Curl internally to read the file, so I simply supply the vfs:// filename to it. I then get back an e

[google-appengine] Re: Best solution / practice for temp files with App Engine PHP?

2015-06-18 Thread Alex Kerr
ary" files - If the files are > 100kb and the cost per GB per month is $0.026 then I can't imagine it would > be much. Plus you have the default bucket for the app which is 5GB for free > from memory. > > > > On Friday, 19 June 2015 03:28:15 UTC+10, Alex Kerr wrote

[google-appengine] Re: Best solution / practice for temp files with App Engine PHP?

2015-06-18 Thread Alex Kerr
in size I seriously doubt you'll > hit memory limits using vfs:// - I'd start there. > > On Thursday, 18 June 2015 03:17:58 UTC+10, Alex Kerr wrote: >> >> Thanks. No problems with tempnam, but I'm capacity planning for what is >> likely to be a heavily loaded

[google-appengine] Re: Best solution / practice for temp files with App Engine PHP?

2015-06-18 Thread Alex Kerr
Yes, the pricing details were my first port of call :) But they say nothing about costs accrued for data stored for very short periods of time... On Wednesday, June 17, 2015 at 9:13:31 PM UTC+1, Mars Lan wrote: > > You can find the pricing details for GCS at > https://cloud.google.com/storage/pr

[google-appengine] Re: Best solution / practice for temp files with App Engine PHP?

2015-06-17 Thread Alex Kerr
> you see? That seems to be the obvious solution. > > On Sunday, 14 June 2015 05:11:03 UTC+10, Alex Kerr wrote: >> >> Hi, >> >> What's generally accepted wisdom/tech solution for temp files on GAE >> using PHP, please? >> >> I need to stor

[google-appengine] Best solution / practice for temp files with App Engine PHP?

2015-06-13 Thread Alex Kerr
Hi, What's generally accepted wisdom/tech solution for temp files on GAE using PHP, please? I need to store and process an image (a few hundred K in size) using PHP that momentarily (e.g. < 1 second) needs to exist as a temp file somewhere before it's sent on elsewhere and the temp file can be

[google-appengine] Re: Google App Engine SDK version 1.9.22 released

2015-06-13 Thread Alex Kerr
> Users can supply a customer CA certificate bundle with their application. How does one do that - are there any docs? I'd like to use the Curllite feature in PHP Appengine to connect to Facebook's API and it wasn't working because of just this issue! (according to something I read by Stuart La

[google-appengine] Will any 3rd party Wordpress plugins work on Google App Engine?

2014-09-22 Thread Alex Kerr
I've successfully installed a basic Wordpress blog on Google App Engine, using Google's WP quickstart project for GAE, and their GAE Wordpress plugin. I now need to install various other 3rd party wordpress plugins to the blog. My question is can I expect any 3rd party Wordpress plugins to wo