This code snippet needs refactoring in order to use JsHelper, but it works:
controller code (Controllers/PeopleController.php):
function autoComplete() {
$this-autoRender = false;
$search_string = trim($this-request-query['term']);
if (!is_null($search_string) $search_string != '') {
$people =
Jeremy,
I took your suggestion add added Location.state_id and State.id to the
fields array and it still returns the same error. Good idea, unfortunately
same out come.
- Jon
On Tue, Nov 20, 2012 at 9:34 AM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
What happens if
--
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,
Hi all,
How to convert given date string to utc format ?
On Wednesday, November 21, 2012 6:28:18 PM UTC+5:30, Steve Babs wrote:
--
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
Using the time helper you can do the following.
$time-format('c', $yourdate);
On Wed, Nov 21, 2012 at 7:39 AM, Steve Babs pan.sath...@gmail.com wrote:
Hi all,
How to convert given date string to utc format ?
On Wednesday, November 21, 2012 6:28:18 PM UTC+5:30, Steve Babs wrote:
--
In my controller I have a PayPal IPN listener function which calls the
mysql_real_escape_string function. This causes a warning, I think because
the session is not logged onto the database:
2012-11-21 14:43:08 Warning: Warning (2): mysql_real_escape_string() [a
Hi all,
I have this error:
*Error: * Database table *models* for model *model* was not found.
I have a product model
?php
class Product extends AppModel{
var $name='Product';
var $actsAs=array('Acl'=array('type'='controlled'));
var
I don't need the mysql_real_escape_string function anyway because I am
using Cake save.
--
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
I have a create and save calls as shown below. Whilst these actually
create a record on the database there are two problems with the data that
is saved:
1. the fee field value is 0.00, even though the value of $fee at run
time is 0.67. Note that the type of fee on the database is decimal
10,
I cleared out the cache on my server and these problems went away.
--
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
Is that literally the error msg? Do you have a model name Model?
On Wed, Nov 21, 2012 at 11:43 AM, and andreaesposit...@gmail.com wrote:
Hi all,
I have this error:
Error: Database table models for model model was not found.
I have a product model
?php
class Product extends AppModel{
hello guys
i want create function in mysql database to return result of select
statement with joins
or return result of stored procedure
and thx
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are
Thanks Guys.
I'm going to study the advantages and disadvantages of each one and let my boss
pick one out ..
Thanks,
Happy holidays!
On Nov 20, 2012, at 10:42 PM, Alok Mishra wrote:
Hi ,
I think better service provider Bluehost Trusted by Millions as the Best Web
Hosting Solution.
I keep seeing this in my debug.log, any ideas?
2012-11-22 03:22:36 Notice: Notice (8): Use of undefined constant
FULL_BASE_URL - assumed 'FULL_BASE_URL' in
[/var/www/cake/latest/lib/Cake/Core/Object.php, line 87]
Trace:
Object::requestAction() - CORECake/Core/Object.php, line 87
include -
14 matches
Mail list logo