Re: Form field which is displayed only

2014-06-12 Thread David Suna
Why are you using a form field at all? If you just want to display the data then just output the data as text. On Tuesday, June 3, 2014 2:13:58 PM UTC+3, th...@gmx.at wrote: > > I'm using CakePHP 2.4.9 > In my application I want to have a readonly field where I display data > which cannot be cha

Re: Security component and SQL Injection

2014-06-12 Thread Dakota
Just one thing to note is that the updateall method doesn't do all escaping. -- 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 unsubscribe from

acl examples dont work

2014-06-12 Thread ajt
Hi, I am having problems finding a working acl example. This example points me to the below links which doesnt work. maybe I can fix these up if someone knows how. "So add some groups and users using the baked forms by browsing to http://example.com/groups/add and http://example.com/users/add.

Re: index.php not found?

2014-06-12 Thread Reuben Helms
At the bottom of [ http://book.cakephp.org/2.0/en/installation/url-rewriting.html], they mention where to look if you don't or can't use URL rewriting. And after a bit of searching on that page, you'll come across [ http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configu

Re: index.php not found?

2014-06-12 Thread Kevin Burton
I am using version 2.5. Here is the way I have defined the document root: Alias /blog "C:/Users/Kevin/cakeblog/" Options Indexes FollowSymLinks ExecCGI AllowOverride all Require local So in the directory c:/Users/Kevin/cakeblog I have the Cake default folder structure app

Re: Security component and SQL Injection

2014-06-12 Thread José Lorenzo
As long as you are using the Model API and not passing raw strings of SQL to it then you should be safe On Thursday, June 12, 2014 12:56:10 PM UTC+2, phpMagpie wrote: > > I personally do not think the site was the victim of an SQL Injection as I > am not passing any raw queries into the system a

Re: Security component and SQL Injection

2014-06-12 Thread phpMagpie
I personally do not think the site was the victim of an SQL Injection as I am not passing any raw queries into the system anywhere. The more realistic cause of the problem is I shared phpMyAdmin user details with the client and they accidentally deleted the table themselves, or the login detai

Re: User Management plugin

2014-06-12 Thread Chetan Varshney
Hi, you can find latest version here http://usermgmt.ektanjali.com and full premium version here http://umpremium.ektanjali.com On Thu, Jun 12, 2014 at 3:20 PM, Alessandro Pellegrini < eraunnanoraga...@gmail.com> wrote: > Hi everybody! > I'm trying to use the Usermgmt plugin ( > https://github.

Re: Security component and SQL Injection

2014-06-12 Thread José Lorenzo
No, the security component does not prevent you against that. There most be some place where you are passing raw input into a query. On Thursday, June 12, 2014 1:28:03 AM UTC+2, phpMagpie wrote: > > Hi, > > I've just launched a site for a client that had quite a big form in it > that people were

User Management plugin

2014-06-12 Thread Alessandro Pellegrini
Hi everybody! I'm trying to use the Usermgmt plugin ( https://github.com/chetanvarshney/User-Management-Plugin-for-Cakephp-2.x) but when I try to do the "Sign up" the e-mail is not sent. Is possible that the problem is about the proxy? Does anybody knows what can I do? Thanks! -- Like Us on Fac

Re: Form field which is displayed only

2014-06-12 Thread tk
Try to use the readonly and disabled parameter for the Person.country_id field. $this->Form->input('Person.country_id', array('type' => 'hidden'*, **'readonly' => 'readonly', **'disabled' => 'disabled'*, ...)); -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://t

Re: cant set php env variable wth easyphp for cakephp console

2014-06-12 Thread Anja Liebermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ajt, the bad news is: Setting up the cake console in any windows is a pain in the a Even when you get it to run, it is slow, or at least it was that way the last time I had to deal with it on a dos system. Although I did manage it with a XAMPP

Re: 404 for all requests undefined in routers

2014-06-12 Thread Anja Liebermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please post at least a part of your setup? That might help in finding the problem ;) Calamity Jane Am 11.06.2014 17:34, schrieb walter: > I'm beginner in CakePHP. > > I have a set of several routes in my application. These routes defined in

wrong db used for Unit tests

2014-06-12 Thread Anja Liebermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I have a Cake App running on 2.5.1. I am using Unittests. At one point I have a similar operation necessary for 3 Models all linked by HABTM to the same 4th model. To avoid 3 times the similar methods in 3 models I implemented the m