Re: CakePHP 2.3.0: Bug in CacheEngine?

2013-03-01 Thread majna
You are using APC *and* File cache? https://github.com/cakephp/cakephp/blob/2.3.0/app/Config/bootstrap.php#L99 also note that APC memory is not shared between PHP CLI and Apache mod_php (it is shared when php-fpm is used). i.e. you cannot clear APC cache created by Apache from Cake console or

Issue with test suite

2013-03-01 Thread Rémi Dewitte
Hello, I am trying to run tests and have an error. 1/ it fails on SchemaShellTest::testName() line 527 2/ because lib/Cake/Test/test_app/Plugin/TestPlugin/Config/Schema/custom_name.php does not exist 3/ find -name custom_name.php gives nothing :/ The test comes from this PR

How to install without pear

2013-03-01 Thread John
I have a version of pear that is too old to install Cake 2.3.0 and I'm not in a position to upgrade it. The readme.md is pretty slim on how to install it. Is there a good current guide somewhere? thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: How to install without pear

2013-03-01 Thread AD7six
The installation instructions for CakePHP are here http://book.cakephp.org/2.0/en/installation.html Cheers, AD On Thursday, 28 February 2013 23:39:47 UTC+1, John wrote: I have a version of pear that is too old to install Cake 2.3.0 and I'm not in a position to upgrade it. The readme.md

Image Upload

2013-03-01 Thread Steven Scaffidi
Hi I'm trying to create an image upload form in CakePHP. How do I do this without a plugin? Is there a simple way? I don't need any validation or advanced functionality - just looking for the simplest method. Any suggestions? I have a table with 7 fields. 1 of them is the photo field. Thanks,

Re: Image Upload

2013-03-01 Thread Tony Messias
See this: http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::file Att, -- Luiz Antonio S Messias Desenvolvedor Web http://twitter.com/tonyzrp @tonyzrp http://twitter.com/tonyzrp *LinkedIn* http://www.linkedin.com/in/luizantoniosmessias On 1 March 2013 13:56, Steven

Re: beforeValidate can't modify my data

2013-03-01 Thread André Luis
give a pr() function, and paste the output here please, them i think we can help u Em quarta-feira, 27 de fevereiro de 2013 20h58min12s UTC-3, kicaj escreveu: I create form with many fields and fields for upload files (Photo.0.image, Photo.1.image). How do I choose from my computer two

Re: Safari losing session...

2013-03-01 Thread vanessa v
I have the same issue as you. This also happens in IE... On Monday, December 3, 2012 8:49:23 PM UTC-5, Benjamin Allison wrote: So I've set Configure::write('Session.checkAgent', false) and Security.level to medium in my app, but Safari still seems to be losing the session between

Re: Safari losing session...

2013-03-01 Thread John Hardy
This is most likely caused by error or warning being output in the 'output_buffer' before the page/fragment is finished rendering. Turn on debugging and make sure there are no warnings and/or errors occurring. On Dec 3, 2012, at 5:49 PM, Benjamin Allison b...@roestudios.com wrote: So I've

How to use TimeHelper to output the data like (Y minutes ago, X hours ago or Z days ago).

2013-03-01 Thread Cesar Felipe
Hi guys, I would like to display the data of post like this: Y minutes ago X hours ago Z days ago the letter would be the actually number. Can I use the TimeHelper for that? My current code is like this: {{{ ?php echo $post['Post']['created'];? }}} How should I change so I will be able to

Re: How to use TimeHelper to output the data like (Y minutes ago, X hours ago or Z days ago).

2013-03-01 Thread Thiago Belem
http://book.cakephp.org/2.0/en/core-utility-libraries/time.html#CakeTime::timeAgoInWords -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP* assando-sites.com.br http://goo.gl/b1EEd thiagobelem.net cont...@thiagobelem.net *Skype / gTalk

Re: beforeValidate can't modify my data

2013-03-01 Thread kicaj
The results of pr($this-News-validationErrors) is: Array ( [Photo] = Array ( [1] = Array ( ) ) ) W dniu piątek, 1 marca 2013 18:13:04 UTC+1 użytkownik André Luis napisał: give a pr() function, and paste the output here please,

Re: How to use TimeHelper to output the data like (Y minutes ago, X hours ago or Z days ago).

2013-03-01 Thread euromark
haha, I just gave the exact same comment-less answer here http://ask.cakephp.org/questions/view/how_to_use_the_timehelper_to_some_thing_like_it_was_post_5_hours_ago Am Freitag, 1. März 2013 23:44:37 UTC+1 schrieb Thiago Belem:

Re: Hash.php

2013-03-01 Thread CrotchFrog
Looking at the stack trace, there was nothing that seemed to point to the cause of the problem. I'm at work now but I'll post a trace over the weekend. I use DebugKit from time to time, but it's usually off more often than not. I'll run it through DebugKit and see what I can come up with. The