Wednesday, November 28, 2012

Re: 502 Bad Gateway Error

I was just seeing 502s on Cake's API site yesterday. Maybe a bug. Check here:

http://cakephp.lighthouseapp.com/dashboard

I would have taken 3 seconds to run a search and include a direct link
if there is one but I can't see how to search the damn bug tracking
site.

On Wed, Nov 28, 2012 at 1:25 PM, Advantage+ <movepixels@gmail.com> wrote:
> I have the site running fine on Cake 2.2.3 but trying to configure Memcache
> as the Cache engine.
>
>
>
> As soon as I uncomment my memcache Cache block below I get hit with a 502
> Bad Gateway error. So it's a bit hard to figure out if its cake or the
> server since both work but when I add this bit of code it breaks so I am a
> bit stumped. Can you use multiple Cache engines? File for somethings and
> memcahe for others? Anyone have any ideas? Suggestions?
>
>
>
>
>
>
>
> /*Cache::config(
>
> 'inmemory', array(
>
> 'engine' => 'Memcache',
>
> 'duration' => 3600,
>
> 'serialize' => true,
>
> 'servers' => array(
>
> '127.0.0.1:11211'),
>
> 'persistent' => true,
>
> 'compress' => false));*/
>
>
>
> Thanks
>
>
>
> Dave
>
>
>
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: