check permission of this file: tmp/cache/persistent/
cake_core_core_paths
set permissions to tmp recursive.
chmod -R 0777 tmp
On Nov 29, 6:04 am, Tony [EMAIL PROTECTED] wrote:
This is driving me crazy and I have googled this and nothing that I
have found is fixing this problem I'm having.
Hi everyone. I'm really stuck here :)
I have problem with displaying an error next to a form field of the
form that is being validated in another model.
I have two models: Products and Cart. Product_controller has VIEW
action through which I can select product variant from drop down menu
and
The cake manual explains how to do this:
http://book.cakephp.org/view/544/Prefix-Routing
On Nov 28, 9:17 pm, Rayhan Chowdhury [EMAIL PROTECTED] wrote:
Dear expart,
I want to develop a website which require to have multiple logical
site inside a single cake website. Just like different
Thanks Adam. I was able to confirm on the TortoiseSVN group that
global ignores will not work as I wanted them to. (though the manual
would lead u to believe otherwise) So I just used \tmp* to ignore the
tmp directory all together and then put a short script inside
bootstrap to make sure the tmp
Ok i wrote some behaviour which should deal with the problem thou ill
need help with testing...
Any1 got idea for time consuming query, so i can run another one while
the first still executes?
Would be great if this query took about few seconds ;)
I'm looking for some advice on how I might go about capturing the date/
time a user last successfully logged in. I'm using the Auth component
and authentication is working perfectly. I'm trying to extend the
functionality by updating a field called 'last_login' in the user
table. I have
Hi there
I'm trying to work out how to get all the access control objects an
access request object can access - for example all the blog posts a
user can edit. Can anybody point me in the right direction on how to
do this? Thanks very much.
--~--~-~--~~~---~--~~
i'm new to cakePHP, and i need the pagination words : next and
previous to be translated into arabic.
should i search for an arabic language translation for the cakePHP ?
and if that is the case, can any one tell me where to download it ?
sorry for my bad english.
Hi,
I now found a article in the bakery explaining what to do to save 2
models.
For anyone facing the same problem, here you go:
http://book.cakephp.org/view/75/Saving-Your-Data
Sebastian
On 28 Nov., 22:16, Sebastian Göttschkes
[EMAIL PROTECTED] wrote:
Thank you for your reply.
I can't get
I maybe missing the obvious, But can someone please point the right
syntax for
$this-data['User']
['status'] = 'temp';
$this-data['User']['signedup'] = 'CURDATE()';
$this-User-save($this-data)
The above does not save
Hello Friends
When i am using Cake Bake I am getting an error like this...
Fatal error: Call to undefined function mysql_connect() in /usr/share/
php/cake1.2/libs/model/datasources/dbo/dbo_mysql.php on line 100
I am using XAMPP, Cake 1.2 in Ubuntu.
You should use Localization:
http://book.cakephp.org/view/162/Localizing-Your-Application
And internationalization
http://book.cakephp.org/view/163/Internationalization-in-CakePHP
Regards,
FedeX
On Sat, Nov 29, 2008 at 10:07 AM, ahmed sabrah [EMAIL PROTECTED]wrote:
i'm new to cakePHP, and
In order to run and updates against the users table you need to prevent
the auth component from auto redirecting after $this-Auth-user() with:
function beforeFilter() {
$this-Auth-autoRedirect = false;
}
then in your login routine just set
$this-User-last_login = date(Y-m-d H:i:s);
*On
Have you tried with:
$this-data['User']['signedup'] = date(Y-m-d);
FedeX
On Sat, Nov 29, 2008 at 12:23 PM, Malcolm Krugger
[EMAIL PROTECTED] wrote:
I maybe missing the obvious, But can someone please point the right
syntax for
I don't think Federico has answered your general question about using
MySQL functions, and neither can I - but on the up side, I think that
Federico's query will perform better than using CURDATE() ;)
On Nov 29, 4:20 pm, Federico Rinaldi [EMAIL PROTECTED]
wrote:
Have you tried with:
No Sam,
It was me missing something obvious :|
Because the request handler forces the ajax layout, i'd never tried
appending the .ajax, as I didn't want to hard code .ajax links in my
views.
Of course, now I realise I can just append .ajax to URLs with my
javascript, and everything works fine...
It appears that you do not have the PHP MySQL libs installed.
*apt*-get install php-*mysql*
On Sat, Nov 29, 2008 at 10:21 AM, nithinalex [EMAIL PROTECTED] wrote:
Hello Friends
When i am using Cake Bake I am getting an error like this...
Fatal error: Call to undefined function
On Nov 29, 9:42 pm, the_woodsman [EMAIL PROTECTED] wrote:
I don't think Federico has answered your general question about using
MySQL functions,
Yes correct.
and I would very much like to believe, that cakephp already has some
method(s) to harness the power of the multitude of Mysql
hello,
I have two tables users and user_profiles, which are related .
there's no problem to add new data to this tables, but I don't know
how to edit/update this data. when I use $this-User-saveAll($this-
data), it updates users table, but in the user_profiles it add a new
entry instead of update
Sorry I just addressed your specific problem. As your cuestion about being
able to call a mysql function, I think you are missing the point about
cake's database abstraction layer so your application would become database
dependant. If that is not an issue for you, try this link:
Hi guys, I just wanted to ask what do you think about the css that comes by
default in a cake's application. As far as I can tell it is very helpfull as
it provides you a way to rapidly change the layout of your app but some
times it's a real pain as it chages the base style for almost every html
Hi all. This is my first message here.
I want to make it clear first that I read the (almost) whole
documentation and now I'm going to develop a first application. I
still have a doubt about dealing with HABTM relationship.
I give you the precise picture.
I have two entities: movie (motion
The DBs are identical, but on different servers. I'm not an expert at
MySQL (the db we're using) so I'm not sure if it has the capability of
doing cross server queries.
-John
On Nov 26, 12:29 pm, Rafael Bandeira aka rafaelbandeira3
[EMAIL PROTECTED] wrote:
For sure that's a way to do that.
On Fri, Nov 28, 2008 at 12:04 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
If your looking for an easy content management system that you can
easily extend upon you might wanna look at wildflower which is a cms
built in cakephp
wf.klevo.sk
Good luck
Thanks, I really wasn''t looking for
I just use a simple bash script that I execute manually on the server.
Cheers,
Adam
On Nov 29, 2:36 pm, php.baker [EMAIL PROTECTED] wrote:
Thanks Adam. I was able to confirm on the TortoiseSVN group that
global ignores will not work as I wanted them to. (though the manual
would lead u to
Finally if you are hopping that cake allow you to make mysql function calls
inside a query you should read thishttps://trac.cakephp.org/ticket/5345as
stateted that it would actually
make SQL injection a *feature
Notice that every user input should be properly sanitized and escaped
if you
Yes that did it! Thank you so much. It was driving me crazy.
On Nov 29, 1:12 am, majna [EMAIL PROTECTED] wrote:
check permission of this file:tmp/cache/persistent/
cake_core_core_paths
set permissions totmprecursive.
chmod -R 0777tmp
On Nov 29, 6:04 am, Tony [EMAIL PROTECTED] wrote:
Could just not use the generic css on an already started app?
-Mark
On Nov 29, 2:52 pm, Federico Rinaldi [EMAIL PROTECTED]
wrote:
Hi guys, I just wanted to ask what do you think about the css that comes by
default in a cake's application. As far as I can tell it is very helpfull as
it
The idea is to bring the legacy app, to cake. I know there are some choices
but I think the cleanest it's to self contain cake classes. If just do not
use generic css in the app I will have to RE create all the classes for the
cake views again (not so much DRY I think, as generic should already
Hi everyone, I want to share a piece of code that I've made to make life
easier for those who work with extjs. The explanation and code is in my blog
at
http://spiritdesignstudio.com/fedex/?p=10language=en
also in spanish here:
http://spiritdesignstudio.com/fedex/?p=10language=es
I'm going to
Your HABTM table is missing a primary key 'id' if you add one the
problem will go away.
I too responded to this problem previously and it was determined the
primary key was the correct fix.
I had stated we should at least ad a warring in the check code or the
baking scripts to do a check on the
I'm desperate for some help here... I just built a brand new ubuntu
intrepid server and copied everything from my cake folders on my
Ubuntu Hardy box to the new intrepid server.
If I extract a fresh version of Cake, everything works fine, css shows
up, db calls work correctly, etc., but
I have my own Ext helper. I'm not sure if I'll release it or not, but
I've found it best just to spit out the code needed to generate the
given Ext component, and not worry about onReady, etc..
Also, your implementation depends on passing in the modelFields, which
is probably the MVC way to go.
The powers that be in cake frown upon that, but I do the exact same
thing as you, and it works well, so I've kept with it for years now.
On Nov 28, 9:36 pm, php.baker [EMAIL PROTECTED] wrote:
Thanks Adam. I was able to confirm on the TortoiseSVN group that
global ignores will not work as I
withcake.com
On Nov 25, 6:31 am, stewsnooze [EMAIL PROTECTED] wrote:
Hi,
I'm interested in finding out whether we could get someone from the
community to help on an existing application an agency built for us
which we want to extend and also run well. The help could range from
advice,
You have to use an INNER join.
var $belongsTo = array(
'Competition' = array('className' = 'Competition',
'foreignKey' = 'competition_id',
'type' =
'INNER'
)
);
Great to hear that others have helpers for ext too! If you are not going to
release the code may be you can give me some hints to improve mine!
About the MVC stuff, why you say it would be easier to App:Import the model
in the helper if you are going to put the same logic as I did in the
37 matches
Mail list logo