Hello Mike,
5.5.31 is greater than 5.5.5.9 so it will work fine.
http://book.cakephp.org/3.0/en/installation.html#requirements
• PHP 5.5.9 or greater (including PHP 7).
Andras
> On Mar 22, 2016, at 5:55 PM, MikeK <michael.ko...@gmail.com> wrote:
>
> Thanks for your
Hello,
Just replace the entire: /lib/Cake/ with the latest version (do backup first
just in case)
Check the migration guide for changes between your versions:
http://book.cakephp.org/2.0/en/appendices.html
Andras Kende
> On Mar 11, 2016, at 3:43 AM, Nicklas <ekon...@gmail.com&
Hi Paul,
The 777 indeed the quick fix of doing it :(
try the official: http://book.cakephp.org/2.0/en/installation.html#permissions
http://book.cakephp.org/2.0/en/installation.html#permissions
or
https://www.google.com/#q=cakephp+tmp+777
https://www.google.com/#q=cakephp+tmp+777
Andras
try to add /webroot to your apache config maybe ?
http://piheno.com/css/base.css http://piheno.com/css/base.css - not working
http://piheno.com/webroot/css/base.css http://piheno.com/webroot/css/base.css
- working…
Andras
On May 23, 2015, at 11:55 AM, Ádám Domaföldi domafoldi.a...@gmail.com
that’s bootstrap css framework navbar component
http://getbootstrap.com/components/#navbar
http://getbootstrap.com/components/#navbar
resize the the browser window width on desktop to see…
Andras
On May 7, 2015, at 3:18 PM, heike merkel heikemer...@gmail.com wrote:
I have a problem
Try:
?= $this-Flash-render(); ?
https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49
https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49
Andras Kende
On Apr 21, 2015, at 8:56 PM, Joe T. thooke...@gmail.com wrote:
Looks like
from the screenshot looks like
you don’t have :
/var/www/html/cake/app/View/Posts/index.ctp
but
/var/www/html/cake/View/Posts/index.ctp
The View folder is outside of app folder ?
Andras Kende
On Mar 4, 2015, at 9:25 AM, Rohit Pal rohitpal...@gmail.com wrote:
NO! I haven't done any
if it doesn’t:
if ($this-ModelName-validates()) {
// it validated logic
} else {
// didn’t validate logic
$errors = $this-ModelName-validationErrors;
}
Andras
On Feb 21, 2015, at 12:50 AM, giuseppe giorgio gioz...@gmail.com wrote:
Hi there, i've start to learn cake php yesterday
);
}
Thanks for any help,
Andras
--
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 this group and stop receiving emails from
',
'dependent' = true
)
);
}
Comment.php
?php
class Comment extends AppModel {
public $belongsTo = array(
'Post’
);
}
Andras Kende
On Jan 29, 2015, at 9:45 AM, logintech123 logint...@gmail.com wrote:
Hello
I am trying to understand Cakephp but i am missing
, 12:48 AM 1/15/15, 12:48
AM
becomes:
Domain Time Zone Active Created Modified
domain1.com US/Pacific 1 2015-01-15 2015-01-15
Thanks,
Andras
On Jan 24, 2015, at 4:27 AM, mark_story mark.st...@gmail.com wrote:
Your format looks incorrect, as you're
-setToStringFormat('-MM-dd');
$dateuser-timezone = $this-Auth-user('time_zone');
$this-set(compact(‘dateuser'));
echo $dateuser; = 2015-01-23
Layout/default.ctp
?php echo $dateuser; ? = 2015-01-23 08:16:33??
Thanks,
Andras
--
Like Us on FaceBook https
Your could try this:
Make sure each app has unique $prefix in core.php
https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L362
https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L362
Andras Kende
On Jan 9, 2015, at 8:11 PM, Ryan de Haast haas...@mweb.co.za
-config(‘gmail');
or
$Email = new CakeEmail(‘gmail’);
Andras Kende
On Dec 28, 2014, at 11:27 PM, ajt jagguy...@gmail.com wrote:
I cant send an email as I get a generic error
Error: An Internal Error Has Occurred.
In config\email.php I have this for a real gmail account(pswd hidden
for in the default
locations.
So I guess you could start from something like:
/web/cgi-bin/php5_3 -c /etc/php.ini -q -d register_argc_argv=on
$HOME/html/mydomain/lib/Cake/Console/cake.php -app $HOME/html/mydomain/app
Notice
Andras Kende
http://www.kende.com
On Nov 22, 2014, at 2:16 PM, Ed Propsner
CakePHP 1.3 works with php 5.4, I would try these:
- change debug = 2 in core.php temporarily and look for errors
- delete files inside /tmp/cache/ /tmp/logs and look for errors
- make sure you have latest 1.3.20
Andras Kende
On Nov 19, 2014, at 5:40 AM, Simon Svast videospotn...@gmail.com
For cron create a shell :
http://book.cakephp.org/2.0/en/console-and-shells.html
http://book.cakephp.org/2.0/en/console-and-shells.html
Load the vendor in a similar fashion as you already doing it in the controller
or just require_occe…
Andras Kende
On Oct 30, 2014, at 9:43 PM, Archana
Try deleting the files within app/tmp folders.
and adding 'mask' = 0777 to
core.php
Cache::config('_cake_core_', array(...
Cache::config('_cake_model_', array(...
https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L294
Andras Kende
On Sep 29, 2014, at 4:02 PM, ajt jagguy
$(document).ready(function() {
var hiddenField = $(#hiddenField).attr(value);
alert(hiddenField);
});
Andras Kende
On Sep 16, 2014, at 10:20 AM, Cengiz Tuerkoglu
cengiz.tuerko...@googlemail.com wrote:
Dear Experts,
is it possible to read a value of a hidden field
'
= 'InflectedRoute']);
$routes-connect('/:controller/:action/*', [], ['routeClass' =
'InflectedRoute']);
});
Andras Kende
On Sep 8, 2014, at 1:00 PM, Tiago Barrionuevo tiago@gmail.com wrote:
When I'm using a prefix (admin) I get the following error trying to access
'/project/admin/user
that the :controller and :plugin parameters
are correctly lowercased.
Andras
On Sep 8, 2014, at 3:56 PM, Tiago Barrionuevo tiago@gmail.com wrote:
Great, that's it!
I just didn't understand it... Isn't it the default cake behavior about
controller's filenames (CamelcasedController.php) ?
If so I
;
view:
?php echo $this-Form-input('device_id', array('empty' = '-')); ?
Andras Kende
On Aug 28, 2014, at 6:36 AM, Tristan Plumley plumleytris...@gmail.com wrote:
Thanks for the reply.
I was actually doing your second example until i decided to build an array
manually. The reason
-find('list',array('conditions' =
array('customer_id'=$customerId;
http://book.cakephp.org/2.0/en/models/retrieving-your-data.html
Andras Kende
On Aug 27, 2014, at 12:25 PM, Tristan Plumley plumleytris...@gmail.com wrote:
Hello, I'm fairly new to cakephp and have a few pretty basic questions
}) * (`lng` - {$lng})) / 180) * {$unit},
5)],
'having' = distance = $distance,
));
Just needed to use associative array, in the fields..
Thanks,
Andras
On Aug 26, 2014, at 1:10 AM, José Lorenzo jose@gmail.com wrote:
$query = $table-find()
$query-select
try this :
http://stackoverflow.com/questions/21455700/cakephp-error-call-to-a-member-function-parseaccept-on-a-non-object
or try searching the error message in google Fatal error: Call to a member
function parseAccept() on a non-object for more results
Andras
On Aug 25, 2014, at 5:39 PM
...
Thank you,
Andras
--
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 this group and stop receiving emails from it, send an email
Check these :
http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::image
http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::css
1.3 - 2.0 its changed from $html-image to $this-Html-image etc...
Andras
On Aug 23, 2014, at 2:47 PM, 'Dallas' via
..
Andras Kende
On Aug 23, 2014, at 7:44 PM, 'Dallas' via CakePHP cake-php@googlegroups.com
wrote:
Thank you Andras - I did fiqure that out, I also saw that when I transfered
my helper folder from previous cake it was labeled helpers - now on every
page I have the same error if you could
Stave,
To keep things simple as possible I would :
Edit with a changed id should not save as new record, there is add() for that
action..
Manipulating the id in the url should either redirect to index with a flash
warning message or throw an error..
Andras
On Aug 8, 2014, at 5:21 PM, Steve
user has access to
the record to be deleted...
If you need to hide id, then one option is to use uuid() as primary key.
Andras
On Aug 8, 2014, at 1:33 PM, Steve Thomas smt9...@gmail.com wrote:
Thanks Mark,
I am using ACL. So for example, if a role such as a manager can list all the
employees
Looks like a wrong .htaccess
http://www.nama-bayi.co/123
http://www.nama-bayi.co/abc
http://www.nama-bayi.co/index.php/Namabayis/add
Andras Kende
On Aug 5, 2014, at 10:00 AM, Zippo Indonesia sekelo...@gmail.com wrote:
Hallo All
my name marzuki
today im learning cakephp 2.X
no problem
look here: https://www.google.com/search?q=cakephp+useDbConfig
Andras Kende
On Jul 3, 2014, at 2:53 AM, tuan kim kimp...@gmail.com wrote:
hi there,
Can you tell more details.
I'm not sure about your answer. Thanks !
Vào 16:34:57 UTC+7 Thứ năm, ngày 03 tháng bảy năm 2014, Stephen S đã
('meta_description'));
Andras Kende
On Jul 1, 2014, at 2:33 AM, vbpupil vbpu...@gmail.com wrote:
Hi Guys
Im trying to generate dynamic facebook meta tags for a share button
eg:
meta property=og:description content=description text/
meta property=og:image
content=http://www.myurl.co.uk
do you also use Sessions on that wizard ?
Andras Kende
On Jun 30, 2014, at 2:36 AM, Archana Goyal archanagoya...@gmail.com wrote:
Hi,
I am create wizard form. On every next steps of form my data saved in
database by ajax. But I am not able to reload form data on previous
botton.How do
,
Andras Kende
On Jun 22, 2014, at 9:39 PM, ajt jagguy...@gmail.com wrote:
Hi,
I need to do some graphs in cakePHP and I am getting bigged down and wht to
use and how to install it.
1)Jgraph is used with cakephp but the examples are for cakephp v 1 and dated
7 years ago. This looks outdated
the error message is pretty clear :)
move your index.ctp into C:\xampp\htdocs\CakeTooDoo\app\View\Tasks\index.ctp
also rename task.php to Task.php
Andras Kende
On Jun 14, 2014, at 8:03 PM, sirben ochoa.dex...@gmail.com wrote:
I do have:
Model - task.php
Controller - TasksController.php
btn-primary’ to
html-links …
https://github.com/andraskende/cakephp-shopping-cart/blob/master/app/View/Users/admin_view.ctp#L41
Andras Kende
On Monday, June 2, 2014 3:53:05 PM UTC-7, jagguy wrote:
No I button not a image link and with a parameter too I need.
If you look at this video it has
You could use sessions.
$this-Session-write('parameter1', $parameter1);
$parameter1 = $this-Session-read('parameter1');
Andras Kende
http://www.kende.com
On Jun 3, 2014, at 1:40 AM, Intesar Haider intesar.haid...@gmail.com wrote:
I want to hide the action parameters from my url when
Change :
$this-Tutorsession-setFlash
To
$this-Session-setFlash
Andras Kende
http://www.kende.com/
On Wednesday, May 28, 2014 7:10:55 AM UTC-7, jagguy wrote:
Hi,
In cakephp I cant edit a row from my mysql db but I can add a new row on
the same table without error.
Not sure what to do
On Feb 21, 2014, at 1:23 AM, Justin Atack justinat...@gmail.com wrote:
Hi Andras,
I'm keen to try and find the error in my code so that I can learn. I have
fixed the code so that's its like the manual but it's still not working. I
have kept a copy of the working code :)
$this-paginate
(
),
)
);
$this-set('schedules', $this-Paginator-paginate());
}
Andras Kende
On Feb 20, 2014, at 3:49 PM, Justin Atack justinat...@gmail.com wrote:
Hi All,
I'm having a problem getting Containable behaviour working
http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query ?
Andras Kende
On Feb 20, 2014, at 11:35 PM, Sam lightai...@gmail.com wrote:
While find() is good enough for most, I would like to write custom SQL
queries instead of using find(). How can that be done in cakephp
You had this incorrectly :
$this-paginate['contain'] = array(
Manual:
$this-paginate['User'] = array(
'contain' = array('Profile', 'Account'),
'order' = 'User.username'
);
$users = $this-paginate('User');
Andras Kende
On Feb 20, 2014, at 10:43 PM, Justin Atack justinat
as POST parameters and transform it to the named during redirect, and
sets Controller::data back if the GET method was used during component call.
Andras Kende
On Dec 19, 2013, at 6:12 AM, Mukesh Ashtekar ashtekarmuk...@gmail.com wrote:
Have You Found solution for this ??? I am also looking
In cakephp 2+ filenames are CamelCased so rename
app/controller/users_controller.php
to
app/Controller/UsersController.php
app/app_controller.php
to
app/Controller/AppController.php
also:
app/View/users/login.ctp
to
app/View/Users/login.ctp
etc..
Andras Kende
http://www,kende.com
maybe add
$this-Auth-loginAction = array('controller' = 'users', 'action' = 'login');
Andras Kende
http://www.kede.com
On Nov 21, 2013, at 1:03 PM, dtemes dte...@gmail.com wrote:
We have just installed a self signed ssl cert on the apache server and doing
some tests with our app running
AppModel {
public $useDbConfig = 'company_db_name';
}
Andras Kende
http://www.kende.com
On Sep 12, 2013, at 1:57 AM, Olivier CHEMIN olivier.che...@gmail.com wrote:
Hi all,
I have an app wich uses multiple databases.
One database ('default') for common information, users, companies, etc
try to change prefix to unique ...
core.php
// Prefix each application on the same server with a different string, to avoid
Memcache and APC conflicts.
$prefix = 'myapp_';
Andras Kende
http://www.kende.com
On Aug 21, 2013, at 12:48 AM, JD julien.duh...@gmail.com wrote:
Hi,
I am using
data from mysql whats needed..
part of the code could be helpful...
Andras Kende
http://kende.com
On Aug 13, 2013, at 3:44 PM, Xtagon xta...@gmail.com wrote:
Versions: CakePHP 2.3.9 running on Apache 2.2 with PHP 5.4 on Windows.
I created a new CakePHP app and made a basic controller, model
$this-request-data['Event]['image] = false;
OR
unset($this-request-data['Event]['image]);
$this-Event-save($this-request-data);
Andras Kende
On Aug 7, 2013, at 6:01 AM, kapil agrawal kapilagrawal...@gmail.com wrote:
Hi!
I am a new bee in cakePHP, look at following scenario
I have
https://github.com/cakephp/cakephp/commits/3.0
Andras Kende
On Jun 16, 2013, at 9:07 PM, Advantage+ movepix...@gmail.com wrote:
I thought Sept was realse date, you look at the updates nothing has been
touched in months!
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us
, as those need to be
updated as well..
Andras Kende
http://www.kende.com
On May 30, 2013, at 11:38 AM, Advantage+ movepix...@gmail.com wrote:
I am switching up a table 'id' field and simple doing a find all, generate a
UUID, and try to update the field foreach but all its doing is creating new
• Remove the unlink string from the disable_functions at php.ini* file
• Ask your hosting provider to remove the string above if you don't have an
access to thephp.ini* file
• Change hosting provider which allows the running of the unlink function.
Andras Kende
On May 8, 2013, at 12:01 AM, raj
' = 'database_name',
'prefix' = '',
//'encoding' = 'utf8',
);
Andras Kende
http://www.kende.com
On Apr 14, 2013, at 7:42 PM, Tom Berchenbriter t...@sacsellhome.com wrote:
Ive added unix_socket to my database.php
'unix_socket' = '8973',
but Im
try these :
change /etc/php.ini date.timezone to:
date.timezone = 'America/Chicago'
make tmp folder writeable:
sudo chmod -R 777 /Library/WebServer/Documents/cake2/app/tmp/
also all you setup issues is listed here:
http://book.cakephp.org/2.0/en/installation.html
Andras Kende
http
Thats not a CakePHP but a MySQL error message…
do you enough disk space available on you server ?
Andras Kende
On Feb 28, 2013, at 3:27 AM, rogerbenevento rogerbeneve...@gmail.com wrote:
Hello, sorry my english
I have a problem that I don't have idea what can be:
Error: SQLSTATE[HY000
. '.' . $domain . $path;
}
return $path;
}
}
template :
?php echo $this-Html-link($recipe['Recipe']['name'], array('subdomain'
= $recipe['User']['slug'], 'controller' = 'recipes', 'action' = 'view',
'slug' = $recipe['Recipe']['slug'])); ?
Thanks,
Andras
--
Like Us on FaceBook https
I guess you could do something like:
bootstrap.php
$tld = strrchr($_SERVER['SERVER_NAME'], '.');
Configure::load('config' . $tld);
or with parse_url or regex.
Andras Kende
http://www.kende.com
On Jan 18, 2013, at 7:08 AM, MetZ met...@gmail.com wrote:
Hi..
I am wondering
http://book.cakephp.org/2.0/en/models/model-attributes.html#primarykey
app/Models/User.php :
class User extends AppModel {
public $primaryKey = 'users_id';
}
Andras Kende
http://www.kende.com
On Jan 8, 2013, at 1:52 PM, Brian QIS bhan...@quasars.com wrote:
Hello,
We're coming
these are the correct paypal api urls:
paypal endpoint = 'https://api-3t.paypal.com/nvp';
paypal endpoint sandbox = 'https://api-3t.sandbox.paypal.com/nvp';
Andras Kende
http://www.kende.com
On Dec 14, 2012, at 6:02 PM, Advantage+ movepix...@gmail.com wrote:
Has anyone come across a good working
Look: http://book.cakephp.org/2.0/en/tutorials-and-examples.html !
Andras
On Dec 5, 2012, at 11:01 PM, Alok Mishra aloksoft2...@gmail.com wrote:
any buddy help me am php developer exp guys but an naver worke din cakephp
pls help me how to start cakephp
On Thu, Dec 6, 2012 at 12:29
Just replace your existing (2.2.3) /lib/Cake with the 2.2.4 /lib/Cake
should work fine...
Andras Kende
On Dec 3, 2012, at 9:57 PM, Novrian YF andi.novr...@gmail.com wrote:
Hi Jose
I'm new in Cake. I've exploring with it in about one month.
I've use 2.2.3 and I wanna upgrade to 2.2.4
Seems your have url as www.domain.com instead of http://www.domains.com;
in your database…..
Its ugly, but you could try:
?php echo $html-link($dba['Dba']['name'], 'http://' . $dba['Dba']['url']) ?
might want to prefix your urls with http://; in the database
Andras Kende
http://www.kende.com
?
Andras Kende
http://www.kende.com
On Dec 4, 2012, at 10:11 AM, glk g...@kaup.com wrote:
Hello all, thank you in advance for any help you may be able to provide.
I'm using cakePHP 2.2.1
The following code works perfectly:
class OptionsController extends AppController {
var
I would check these first :
app/config/core.phpchange to Configure::write('debug', 2); too see if any
error messages showing up…
chmod -R 777 app/tmp/
could be that your site is older cakephp core their server is newer php… might
need to update cake core…
Andras Kende
http
),
'limit' = 50
));
debug($cityresults);
} else {
//site at www.
}
}
Andras Kende
http://www.kende.com
On Nov 24, 2012, at 2:45 PM, treckstar trecks
= $this-Post-Category-paginate('Category');
//print_r($posts); // to test here ...
$this-set(compact('posts'));
}
But since you paginating categories it may be better to do this from the
categories controller..
Andras Kende
http:///www.kende.com
On Nov 19, 2012
belong to multiple categories
?
Andras
On Nov 19, 2012, at 3:45 PM, Paul Willis paul.wil...@me.com wrote:
And when I say I can't get it to work it is because using the code from
Andras gives the error...
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an
error
In Chrome thats a settings unfortunately not cakephp related:
http://code.google.com/p/chromium/issues/detail?id=130291
not sure about Mozilla...
Andras Kende
http://www.kende.com
On Nov 10, 2012, at 3:15 AM, Chandru M chandr...@gmail.com wrote:
Hi all,
I am struck with this peculiar
http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess
add to top of .htaccess
IfModule mod_rewrite.c
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
RewriteRule . - [L]
/IfModule
Andras Kende
http:/www.kende.com
On Nov 7, 2012, at 12:01
Try: $this-Auth-allow(); its changed in cake 2.2 ...
Andras Kende
http://www.kende.com
On Nov 7, 2012, at 12:10 AM, Sam lightai...@gmail.com wrote:
Sorry for missing out the version number. I am using CakePHP ver2.2.1
On Sunday, November 4, 2012 9:30:17 PM UTC+8, euromark wrote:
you do
results and move from ,classifications to Locations...
Andras Kende
http://www.kende.com
On Oct 16, 2012, at 6:43 PM, bmcelhany bmcelh...@gmail.com wrote:
Unfortunately, that didn't change anything.
On Tuesday, October 16, 2012 5:10:30 PM UTC-7, cricket wrote:
Try adding the model alias
try to comment out
var $name = 'addresses';
or change it to: var $name = 'Address';
Andras Kende
http://www.kende.com
On Oct 15, 2012, at 4:58 PM, Russell Brown r...@russsoftware.com wrote:
Error: Call to a member function find() on a non-object
File: c:\wamp\www\cake222\app\Controller
Add Session to components in app controller
Andras Kende
818-851-1177
and...@kende.com
http://www.kende.com
On Oct 2, 2012, at 13:57, Paul Willis paul.wil...@me.com wrote:
I created a CakePHP 2.2.2 app. I did the basic installation steps, security
salt, /tmp permissions etc. All the green
based on your code below I would try :
?php if($this-Session-check('user')) : ?
SIGNIN CONTENT
?php else: ?
NOT SIGNIN CONTENT
?php endif ?
Andras Kende
http://www.kende.com
On Sep 24, 2012, at 1:37 AM, Chris chris...@yahoo.com wrote:
thanks Andras,... it works,... but I'm
try to add 'Session' to your components…
public $components = array('Session', 'Cookie', 'RequestHandler');
Andras Kende
http://www.kende.com
On Sep 23, 2012, at 2:55 PM, Chris chris...@yahoo.com wrote:
hi guys,...
having a problem to migrate to a new version 2.2.2
in AppController I
easiest way if only need records from current model:
$records = $this-Record-find('all', array(
'recursive' = -1,
));
Andras Kende
http://www.kende.com
On Sep 17, 2012, at 2:10 AM, Lightee lightai...@gmail.com wrote:
Dear Cakephp experts,
When I use find('all), all the records
Try to add:
App::uses('Xml', 'Utility');
Andras Kende
http://www.kende.com
On Sep 4, 2012, at 4:11 PM, kevin.ncbible ke...@ncbible.com wrote:
Hello ... and thank you for being willing to offer your time and expertise to
help me!
My ultimate goal is to take the data from one of my
and APC conflicts.
$prefix = 'myapp_';
Andras Kende
http://www.kende.com
On Aug 31, 2012, at 1:12 AM, Jeremy Burns jeremybu...@classoutfit.com wrote:
I have two 2.2.1 Cake sites open in the same browser (doesn't matter if it's
Safari or Firefox). If I log in on one, then go to the other
();
………...
}
Andras Kende
http://www.kende.com
On Aug 17, 2012, at 11:19 PM, Reza Talamkhani reza.talamkh...@gmail.com wrote:
Hi;
I need to get subdomain as a parameter in CakePHP...
Please help me how to sent subdomain as parameter to controllers...
--
You received this message because you
Looks like you installed older 1.2 / 1.3 branch… is wampserver has php 5.4 ?
Try with this cakephp 2.2 : https://github.com/cakephp/cakephp/zipball/master
Andras Kende
http://www.kende.com
On Jul 2, 2012, at 10:43 AM, MrJinPengyou wrote:
Hi I just started to learn CakePHP and I use the most
I think Paginator-numbers, Paginator-next, Paginator-prev has to be inside
the div id=posts…../div
Andras Kende
On Jun 23, 2012, at 1:54 AM, JonStark wrote:
No one has a clue ? This is driving me crazy.
Thanks a lot.
Le vendredi 22 juin 2012 18:03:11 UTC+2, JonStark a écrit :
I don't
google : Uncaught ReferenceError : $ is not defined this looks like jquery
not loaded error…
I would put jquery at the top inside head
script src=https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js;
type=text/javascript/script
Andras Kende
http://www.kende.com
On Jun 23, 2012
sure to only pull data what you need,
use fields, recursive, contain….
Andras Kende
http://www.kende.com
On Jun 22, 2012, at 6:40 AM, JonStark wrote:
Even when having relationships (hasMany and such) implemented, I feel the
need to user $this-loadModel to display related data. Indeed, when
the code below should work fine more detail:
http://nuts-and-bolts-of-cakephp.com/2009/03/27/paginate-associated-models-data-in-cakephp/
loadModel is not a bad way of doings things, you just don't need it in this
case as your User hasMany Post...
Andras Kende
http://www.kende.com
On Jun 22
;
}
Andras Kende
On Jun 14, 2012, at 11:20 PM, Mangesh Sathe wrote:
Hello all ,
i am using $this-Auth-password in User model.
it gives error
Notice (8): Undefined property: User::$Auth [APP/models/user.php, line 48]
how can i access Auth in model How can i encode password before save
Similar happened when I left the delete links as is … and googlebot crawled
throughout them deleting everything…
- check your websrver logs...
Andras Kende
http://www.kende.com
On Jun 7, 2012, at 6:12 AM, April wrote:
I baked and themed an entire website on Tuesday. Everything was
working
Try:
$this-request-query['_value'];
Andras Kende
On Jun 4, 2012, at 4:31 AM, hoss7 wrote:
i have cakephp 2.1.2 and when i am run: pr($this-params);
i have this:
akeRequest Object
(
[params] = Array
(
[plugin] =
[controller
they are strict boolean values.
For now I set :
form helper manually to : echo $this-Form-checkbox('is_active');
and db is_active field to : int(1).
Could you confirm if this is the recommended way to handle 0/1 values in
cakephp 2.x ?
Thanks,
Andras Kende
--
Our newest site for the community
I would check back later, look like temporary issue with server
Andras Kende
On May 16, 2012, at 12:30 AM, Karan Garg wrote:
I am getting the 502 Bad Request Error when I am trying to open the
official website of the CkaePHP community. Please help me on the same.
Links giving errors
Check id field in the db
It looks like they are empty
Andras Kende
214 799 1177
and...@kende.com
http://www.kende.com
On May 8, 2012, at 4:07, Ludovic Ferre ludovic.fe...@gmail.com wrote:
I am new to CakePHP and am following the Packt Publishing book to get used to
the tool (and challenge
://developers.google.com/maps/documentation/javascript/demogallery
Andras Kende
http://www.kende.com
On Apr 29, 2012, at 10:33 PM, Daniel Baird wrote:
To get the long and lat, you have to use javascript, and the Google Maps API
-- so you mightn't get much help on that from this CakePHP
You could add debug_kit to your site so its easier to debug whats happening
with your sessions…
sessions are good choice for shopping cart no need for cookies or cache...
Andras Kende
On Apr 6, 2012, at 1:11 PM, heohni wrote:
Hi,
I just build a kind of small shoppingcart and while
Here is a simple example:
https://github.com/andraskende/youtube-scraper-cakephp-app/blob/master/Controller/VideosController.php
Look at :
public function admin_import(){
it reads from youtube rss feed to an array an shows that in the view...
Andras Kende
On Mar 14, 2012, at 3:08 AM, heohni
try to add:
$this-Ladder-create();
Andras Kende
On Feb 15, 2012, at 1:12 AM, elogic wrote:
Thanks,
This is what I have:
// GET THE EXISTING RECORD, REMOVE THE ID, UPDATE THE LEVEL AND SAVE
// --
$existing_id = $this-request
Hello,
You could do it easily with counterCache
http://book.cakephp.org/1.3/view/1033/counterCache-Cache-your-count
Andras Kende
http://www.kende.com
On Feb 7, 2012, at 5:22 PM, andrewperk wrote:
Hello, I have a Post model with each Post can have many Comments and
each Comment belongs
I would start the find on Postcode and contain the User
Would do a $locations = find('all' ….) as its easier to debug($locations) ,
once thats working correctly then change it to paginate...
try order :'order' = 'distance ASC'
Andras Kende
On Jan 29, 2012, at 3:35 PM, Daniel wrote:
I
The issue is Staff is not being joined, are the relationships correct in the
models ?
Also 'Event.id = Staff.user_id' I think this likely 'Event.user_id =
Staff.user_id' ….
Also since you looking for events you could start the query from events not
from users…
Andras Kende
http
automatically.
Andras Kende
http://www.kende.com
On Jan 12, 2012, at 6:10 PM, Chooch Schubert wrote:
I have followed the 2.0 book to add pagination to a controller/view. I
get the paginate controls and they are rendering correctly (they
*think* I'm doing things like next page and sort when I
Backup
Just replace your cake folder with the one from 1.3.14 version.
Leave the app folder as is.
Andras Kende
On Jan 12, 2012, at 7:53 AM, Nico DeHerdt wrote:
I inherited a CakePHP 1.3.8 application
How does one do an upgrade to the latest 1.3.14 without overwriting/wiping
scripts
1 - 100 of 222 matches
Mail list logo