In database.php are stored some information about username and password.How
can i protect this file?i would like that is read only for the applications.
Now the permissions are:
-rw-r--r-- 1 root root 3188 2013-04-10 18:36 app/config/database.php
If i am not wrong the file is readeble for the
Ok,i tried from the beginning and i have no more that error.I don't know
what happened.Thank you.
Il giorno mercoledì 21 novembre 2012 17:43:43 UTC+1, and ha scritto:
>
> Hi all,
> I have this error:
> *Error: * Database table *models* for model *model* was not found.
>
>
You are right acl is envolved.I'm following a tutorial and i am making
everything from the beginning.I will let you know as soon is possible.
Il giorno mercoledì 21 novembre 2012 17:43:43 UTC+1, and ha scritto:
>
> Hi all,
> I have this error:
> *Error: * Database table *models*
urn null;
}
else{
return
array('model'=>'Dealer','foreignKey'=>$data['Product']['dealer_id']);
}
}
}
?>
And a db table named products.How can I fix it?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
:40:24 UTC+1, euromark ha scritto:
>
> and if possible use an alias for your form field "password" like "pwd" as
> well as some kind of "pwd_repeat" field to confirm the password (since you
> cant see it very often it is mistyped rendering the registr
Hi all,
I have a form for registration and i have some rules that the field must
respect.If i insert the wrong email format,for example,the form says that
it is incorrect.The thing that happen is that the password field is filled
with md5 password.I have the following view:
Please fill out the
orials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com
Hi all,
I am new to cakephp i have followed a tutorial on ibm
developerworks.when submit data in a form i have this error:The
requested URL /users/register was not found on this server.I have
installed cakephp in /var/www/cakephp and I have in the apache log
file this error:
[Tue Mar 20 00:04:24
On 12 Okt., 15:04, 浪漫様 wrote:
> In a normal world, the following code would work... you receive a
> variable on your function, and you save it on a session, then the next
> page is able to read it ( the SET is just to display it on the
> views )... however, in CakePHP 1.3.4 Stable s
o be shared with the plugin.
> I could move User and make MemberUser model in plugin folder but then
> sharing Country model? User right now belongs to Country no big deal but
> Country is used in various places over the site so can UserMember access
> Country if moved?
>
> I hav
Sometimes, if you use both 'hasOne' and 'belongsTo' it doesn't work. I
experienced it very often. Try just to use one of them.
And the second point is that, if you have typed it here correctly,
your $belongsTo is not correct. $belongsTo = array(''); but tr
set to something
> less than ALL, for use with CakePHP. What is the maximum set of MySQL
> user privileges that CakePHP will ever need?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you
; => 'notEmpty',
> 'message'=>"Debe seleccionar un valor."),
>
> Is it possible to validate that the user has selected a value?
>
> I'm use cake 1.3
>
> Thanks.
Check out the new CakePHP Questions
I've experienced that even a year of cakephp programming is not enough
to say: I know how to work with cake. Therefor I suggest you start to
write it by your own. Wordpress comes ready and you don't have to
develop anything. There are even plenty of plugins. But if you want to
improve y
Hi there,
I want to use some scripts that should usually be saved in the vendors
folder within the application. My problem is that I have many projects
which use those skripts. I don't want to copy all scripts again and
again into every new application. Is there a way in CakePHP how to
stor
On Mar 18, 3:30 am, AD7six <[EMAIL PROTECTED]> wrote:
>
> I don't understand why after setting yourself up withtreebehavior,
> and all the none recursive benefits that yields, you still want a
> recursive, nested array
Jumping in here,
CakePHP does not return model obj
And the cakephp give me a url such as metioned above at a
request,why?
Is there something configured not right?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this g
I am using sqlserver.
AD7six 写道:
> On Jul 12, 9:05 am, hi and hello <[EMAIL PROTECTED]> wrote:
> >I want to fetch data from database as UTF-8 while the data stored
> > in the database as another encodig,
>
> Why do you want to store data in a different encoding
Ha, just express I have no other choice.
And can I give an aragument to the cakephp to build a connection whice
return the data encoded as I expect?
On Jul 12, 3:48 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 12, 9:43 am, hi and hello <[EMAIL PROTECTED]> wrote:
>
> >
It is beacause I have to adjust an old database whose data encoding
is not utf-8...
On Jul 12, 3:17 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 12, 9:05 am, hi and hello <[EMAIL PROTECTED]> wrote:
>
> >I want to fetch data from database as UTF-8 while th
I want to fetch data from database as UTF-8 while the data stored
in the database as another encodig, so how to configure the cakephp
for right encoding?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP
In my application, I need to use ajax to GET a page generated by
cakephp, but when use ajax and firefox get the same url twice, I found
the 2nd sometimes need more than 10s waiting,so I debug the cakephp
and locate 'CakeSession::construct()' in /cake/libs/session.php ,it
called ses
I had a test about this and get a strange result.
The browser I used are IE6 and Firefox2.0. At core.php the debug level
is set 0.
I add some code to the file "/cake/libs/controller/component.php"
about the "$this->__controller->{$component} =& new
$componentCn
Every time when the user wisite a url like /controller/action/, and
the cakephp will load the models and components declared in this
controller, which might be improvident because not every visit need
to loac the heavy models and components class.
For example, the url /blog/create/ ,when GET
In my application I sometimes have more than one database actions in
an action, but when read the cakephp's docs I found little about this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
At core.php I have:
define('CACHE_CHECK', true);
At the controller file I have:
var $helpers = array('Html', 'Form', 'Javascript', 'Ajax',
'Cache' );
var $cacheAction = true;
But when I visit the url to ca
Yes, and I found it at cake/config/config.php.
On 7月4日, 下午2时31分, francky06l <[EMAIL PROTECTED]> wrote:
> Configure::version()
>
> On Jul 4, 7:48 am, hi and hello <[EMAIL PROTECTED]> wrote:
>
>
>
> >thanks- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~-
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more op
Thank you, but there still exists a problem .
Because I use AJAX in my website and return the data as JSON format,
so I can not let cakephp append the debug infor to the response. And I
want to read the the infor at a console or a log file? Can I do it?
On 6月28日, 下午2时21分, Geoff Ford <[EM
I am using cakephp to build a website and at last I found the
performance is not very well.
So I want to know if it exits a tool by which I can get the execution
time of PHP code and DB access?
Or how can I write the tool ?
thanks very much
30 matches
Mail list logo