What version are you using.
On Nov 22, 2012 1:39 AM, Miles J mileswjohn...@gmail.com wrote:
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
Hi.
Anyone know how I can auth allow shared functions in appcontroller?
Appcontroller:
public function beforeFilter() {
$this-Auth-allow('SharedFunction');
OtherController.php
public function beforeFilter() {
parent::beforeFilter();
$this-Auth-allow('ControllerSpesificFunction',
I hope I haven't misunderstood what you are trying to do... If they are shared
functions just put and allow them in app controller and call them from any
other controller like so: $this-myFunctionName().
On 22 Nov 2012, at 16:04, MetZ met...@gmail.com wrote:
Hi.
Anyone know how I can auth
Yes,it is.I have the model name Product and the table name products.The
model is stored in app/models/product.php.I am using cakephp 1.3.
2012/11/21 lowpass zijn.digi...@gmail.com
Is that literally the error msg? Do you have a model name Model?
On Wed, Nov 21, 2012 at 11:43 AM, and
Hi All!
I've implemented the CakeDC CsvImport Behavior (
https://github.com/CakeDC/utils/blob/master/Model/Behavior/CsvImportBehavior.php)
to allow me to save csv data to my models.
It's working fine, but I have some questions if there is anyone else who
has used this behavior.
Say I have the
I followed the instructions for installing and activating cakeFTP on git.
The plugin is active, as I can get to mysite/ftp/client and enter server
info to test.
When I use mysite/ftp/client to test, I get the error Ftp.FtpsController
could not be found and Create the class FtpsController
Hello, I have model with only select functions. How to set mysql view as
model table instead real sql table?
For example:
class SomeModel extends AppModel {
public $name = 'someView'; // this is a view
function getEntries() {
return $this-find('all');
}
}
I need it instead
Hola,
Estoy migrando a otro isp un sistema Cake.
Me da varios errores que tiene pinta de ser de lo mismo.
¿Como puedo solventar este error?
Gracias a todos.
[http://php.net/function.session-start]:
open(/home/imcb/tmp/sess_t6p9j5a42rla2l6h085pplm302, O_RDWR) failed: Permission
denied (13)
I just looked online and found another plea for help involving that
msg. ACL was involved there as well. Alas, no fix mentioned.
On Thu, Nov 22, 2012 at 11:18 AM, andrea esposito
andreaesposit...@gmail.com wrote:
Yes,it is.I have the model name Product and the table name products.The
model is
He means that he wants his AppController actions Auth::allow()ed globally.
I've never run into this personally; don't know if it's a bug. Are
these *actions* or just global functions that your controllers call
internally? The latter I've done many times. There's no need to allow
them as they're
That looks like it has nothing to do with Cake, although it does have
its own tmp directory. I think this is a general tmp directory that
your host has set up for each client. Contact them and ask that they
change the permissions to allow the web server to write to that
directory.
On Thu, Nov
anyone,...?
On Tuesday, November 20, 2012 9:45:42 AM UTC-8, Chris wrote:
hi guys,...
can anyone recommend video upload script,... so I'll be able to embed
videos to my site, just like in facebook,... just by placing a youtube,
vimeo, etc, video URL (not the embed code, just URL), and
Hi Arthur,
MySQL views are like tables in MySQL, so if you put the following property
in your model:
class SomeModel extends AppModel
{
public $useTable = 'viewName';
}
The find methods will work perfectly, because the SELECT Statements
generated by the Cake Model work the same way as in
If it's to work from just the URL then uploading has nothing to do
with this. Neither Cake, for that matter.
There's this:
http://jonraasch.com/blog/youtubin-jquery-plugin
If you want something that works with vimeo, etc. I suppose google might help.
On Thu, Nov 22, 2012 at 2:44 PM, Chris
Hi.
I have a function in my AppController = TellaFriend
That allows a visitor to email his friend about a spesific page on the
website, eg: shared by all controllers
Now, if I need to have the function available to my views using
PostsController, I need to put in Auth allow TellaFriend in
When AppController::beforeFilter() runs, it knows only about the
methods in AppController.
If you want to have dedicated actions for each controller then you
need to specifically allow() them in each controller. Your controller
action might in turn call parent::TellAFriend() which is a method in
Ignore what I said. I just thought about it for a minute and that's
incorrect. Auth::allow merges the actions:
$this-allowedActions = array_merge($this-allowedActions, $args);
So when it runs in a given Controller the other actions are merged
with whatever you allow in AppController. I just
hi.
http://www.rackspace.com/ or http://www.softlayer.com/
regards
2012/11/21 Wallace Cardoso Colaco Ricardo wallace@gmail.com
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
I just saw the name rackspace and just had to chime in.
I've been a loyal customer, I and the companies i've worked for have dumped
hundreds of thousands ( Maybe millions ) on rackspace service, and now more
exclusively the cloud.
for the past 3 days there have been major latency and network
Romel, Thanks for your suggestion. We are considering these two already.
John, good to know that you have had issues with them. These are the kind of
issue that we don't want to experience.
We are definitely considering using AWS. I didn't know their service until this
week. And I'm amazed
hi guys,... can anyone help please.
how can I find groups by higher ranking:
I have a group table with 'rank filed in db: e.g.
id rank
66 102
65 33
64 77
63 151
$groups = $this-Group-find('all', array('conditions' =
array('Group.rank' = how to display group with higher ranking on
thanks cricket,... I'll go dig into it,... but I need to save embed code in
db,...
On Thursday, November 22, 2012 11:55:08 AM UTC-8, cricket wrote:
If it's to work from just the URL then uploading has nothing to do
with this. Neither Cake, for that matter.
There's this:
On Fri, Nov 23, 2012 at 12:18 AM, Chris chris...@yahoo.com wrote:
$groups = $this-Group-find('all', array('conditions' =
array('Group.rank' = how to display group with higher ranking on top of
others )));
$this-Group-find('all', array('order' = 'Group.rank'))
Always check the
23 matches
Mail list logo