I see... I checked the api and there all build in components are
extended from Object instead of Component. So changing the inheritence
does make sence indeed. But why the existence of class Component I
wonder? :-)
On 15 jun, 22:46, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello
I'm having
On Jun 16, 1:57 am, Matt Huggins [EMAIL PROTECTED] wrote:
For giggles, I also tried the following in my app_controller.php, and
it didn't make a difference:
Anything you try in the app controller is too late.
Edit that:
I use acl aro to handle group and member.
I want to paginate the group member.
var $paginate = array(
'Aro' = array(
'fields' = array('Aro.model', 'Aro.foreign_key')
'limit' = 3,
'order' = 'Aro.foreign_key')
);
I
Shouldn't this be done in the .htaccess file?
Check your settings and make sure apache has mod_rewrite enabled.
Good luck
Sean
kroxelikrax wrote:
Hi,
Im new to cakePHP and i been constructing a page on my local computer,
using MAMP. My site is working fine on my comp, but not on my
Hi,
my cakephp installation is about 3 years old. Now I want to install
the latest cakephp version to be sure that there are no security
holes.
Are there any upgade instructions ? Do I have to change the db table
structure ?
I have no VERSION.TXT in my installation, but my basic.php file says:
Yeah, I got that the reason is linguistic in its origin. It is great
when trying to search a mass of text. But when you try to do a
matching search for an exact string it does complicate things a lot
when you still think that = really means exactly equal.
Doing WHERE username = 'myname' I (as a
Super, thank you very much its what i looking for.
But i want ask, how i can chache paginate separator.
For example now i have this url: www.page.com/catalogue/seo_url_item/page:4
But i want url: www.page.com/catalogue/seo_url_item/4,
www.domen.com/catalogue/seo_url_item/5,
On 15
Is someone can help me?
On 13 Giu, 16:17, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I would use memcached with Cake 1.2
In the manual I haven't found anything.
I hope someone can help me.
I have installed memcached (I can see it in phpinfo).
In core.php I have uncommented the line about
Okay, I've been going insane over this, and it turns out there's a bug
in the core. I'm uploading a patch to trac now.
On Jun 16, 1:26 am, AD7six [EMAIL PROTECTED] wrote:
On Jun 16, 1:57 am, Matt Huggins [EMAIL PROTECTED] wrote:
For giggles, I also tried the following in my
I need to populate the breadcrumbs array from one or more controller
actions. How can I do this?
Any help?
thanks,
Olav Verhoef
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group,
And here's the ticket/fix: https://trac.cakephp.org/ticket/4923
I'm glad I'm not crazy, but now I lost like 3 days of work...now to
make up for lost time!
On Jun 16, 4:34 am, Matt Huggins [EMAIL PROTECTED] wrote:
Okay, I've been going insane over this, and it turns out there's a bug
in the
Hi Andy,
my cakephp installation is about 3 years old. Now I want to install
the latest cakephp version to be sure that there are no security
holes.
Are there any upgade instructions ? Do I have to change the db table
structure ?
I have no VERSION.TXT in my installation, but my basic.php
Hey guys,
I was working with the generic upload behavior, but any kind of
polymorfic association is subject to the same threat.
Basically I have the following in my, for example, news model:
Try to add a parameter in your router:
Router::connect('/catalogue/*/:page', array('controller' =
'your_controller', 'action'='index'));
or alternatively:
Router::connect('/catalogue/(.+)/:page', array('controller' =
'your_controller', 'action'='index'));
Dan
Do you load your captcha with ajax?
IE7 catches ajax get requests!!
Dan
On 16 Giu, 00:48, bingo [EMAIL PROTECTED] wrote:
Its difficult to say what the problem is without having access to code
or webpage. However, I have compiled a list of issues that can cause
IE7 to break but not firefox.
Call me a misery, but I seem to be having more problems with RC1 than
I had with Beta.
The following works as expected in Beta but invariably returns an
empty set in RC1:
$conditions = array(or=(array('edifici' = 'LIKE %'.
$searchText.'%', 'adreca' = 'LIKE %'.$searchText.'%')));
Actually, I ran into this problem too[1], after debugging with alerts
inside prototype, I've discovered that the ajax helper is really
generating the same IDs. I've ended up with my own IDs, but this seems
like a ticket material, rand() should definitely be replaced with
mt_rand() to solve the
Thanks to Spark and AD7six for their kind help. I figured it out (big
part of the problem was in my local httpd.conf file). Let me just make
a summary so that everybody keep in mind when dealing with UTF-8
encoding:
How to display Portuguese encoding or general UTF8 encoding in Cake or
dynamic
Sliv a écrit :
try a search on scribd.com
It was the first place I downloaded the old version I have.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
Well, My strongest (and I feel the correct) guess is that IE is
caching the image. So a refresh request is not happening.
You could try the following.
1) Set a 'back-dating' expires header for your captcha image. Also you
could ask the browser not the cache by setting the appropriate header!
OR
I just cheked out from the repos, and it seems that this issue has now
been fixed in latest revision #7198
cheers guys
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
Hi,
I am in the process of building and specific business administration
system, where clients subscribe on the application. Initially I
planned on giving each client their own database, and then by
controlling on login, connecting each client to their individual
database. This has worked fine
I have this code which output the result of a search
?php
$object_strings = array(
'articles' = 'articoli',
'pills' = 'pillole',
'previews' = 'anticipazioni',
'blogs' = 'post',
'videos' = 'video'
);
$object_models = array(
'articles' = 'Article',
You could always google the title. That's how I found it.
On Jun 16, 10:23 am, Marc MENDEZ [EMAIL PROTECTED] wrote:
Sliv a écrit : try a search on scribd.com
It was the first place I downloaded the old version I have.
--~--~-~--~~~---~--~~
You received this
Hi,
I have a page with a list of users and a form to apply a filter on
that list. I want to paginate the list. The question is : is it
possible to paginate an existing list which has already been filtered.
I read a tutorial and it seems that you are forced to generate the
list with the paginator
I can't seem to get it working. If you go to http://walksdemo.loraincounty.com/
and login with username: tester and password: tester and then go to
the teams tab and then choose a team, and try and page through the
comments, you'll see what I mean. I don't really know why it's doing
this. I'm
. and what did u think I did too before I asked for it in the forum
, hummm ;) ?
maybe the new release is too recent to be somewhere else than IBM
website ? maybe everybody think there is no update and go on keeping the
old one ?
leo a écrit :
You could always google the title. That's
Hi,
I am trying to extend Debugger class (cake/libs/debugger.php) in my
app directory in similar way as AppModel/Controller.
class AppDebugger extends Debugger
I've even tried renaming the file debugger.php and app_debugger.php
but without luck. Its not working!
I guess its something to do
Hi,
I have a problem with Ajax when I try to load new content. When I load
new content into div using ajax and then I try to click on an ajax
link placed into the same div I get an error Event.observe is not a
function. I see that this is a common problem but still I was not
able to find how to
If you have mod_rewrite enabled and have uploaded app, cake,
index.php, and .htaccess to your document root then it should just
work, with this being said, since you are still having problems then
you probably don't have mod_rewrite available to you.
You will need to disable cake from thinking
I have three applications running in subfolders of a webserver and I
now have to migrate to a new server.
My server administrotor has told me that due to new security policies
he wishes all the writable folders for all apps to be in one place so
that he can give write access to that folder only
Please read the release notes regarding LIKE and other SQL operators.
That should be:
$conditions = array(or=(array(
'edifici LIKE %?%' = $searchText,
'adreca LIKE %?%' = $searchText
)));
On Mon, 2008-06-16 at 03:07 -0700, leo wrote:
Call me a misery, but I seem to be having
Thanks, I'll try that.
On Jun 16, 5:19 pm, Mariano Iglesias [EMAIL PROTECTED]
wrote:
Please read the release notes regarding LIKE and other SQL operators.
That should be:
$conditions = array(or=(array(
'edifici LIKE %?%' = $searchText,
'adreca LIKE %?%' = $searchText
)));
Where do I find the release notes? Daft question I know, but I can't
find any for the current release.
On Jun 16, 5:19 pm, Mariano Iglesias [EMAIL PROTECTED]
wrote:
Please read the release notes regarding LIKE and other SQL operators.
That should be:
$conditions = array(or=(array(
Actually I tried redefining it in bootstrap.php and webroot/index.php
and it's already defined elsewhere by then so I can't change it in
either of those.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
works fine for me!
On Jun 16, 4:21 pm, Kyle Decot [EMAIL PROTECTED] wrote:
I can't seem to get it working. If you go tohttp://walksdemo.loraincounty.com/
and login with username: tester and password: tester and then go to
the teams tab and then choose a team, and try and page through the
If you use a client_id in the tables you could maybe add this filter
in beforeFind in app_model ...
just a hint.
On Jun 16, 2:33 pm, Mickiii [EMAIL PROTECTED] wrote:
Hi,
I am in the process of building and specific business administration
system, where clients subscribe on the application.
Really? When I add
if (!defined('TMP')) echo 'Not set!';
to webroot/index.php, the text appears.
On Jun 16, 11:48 am, acoustic_overdrive [EMAIL PROTECTED]
wrote:
Actually I tried redefining it in bootstrap.php and webroot/index.php
and it's already defined elsewhere by then so I can't change
When I go to the next set of notes, it updates the div and paginates
the notes but I get another whole page inside my div. Here's a
screenshot. Any ideas?
http://www.flickr.com/photos/[EMAIL PROTECTED]/2583838485/
--~--~-~--~~~---~--~~
You received this message
Hi Dave thanks for checking.
I'm not using mod_rewrite, and I've just realised this means that it
will actually get its folder structure set up by the index.php in the
root of the installation, not the bootstrap or index.php in webroot.
Which also means I think I've solved my problem because
looks to me like you have a forward slash too many or too few in the
controller spec in the link for the next page.
On Jun 16, 6:50 pm, Kyle Decot [EMAIL PROTECTED] wrote:
When I go to the next set of notes, it updates the div and paginates
the notes but I get another whole page inside my
RC1 nightly 14.06.2008. I also had this problem in RC1 HEAD revision.
PHP 5
MySQL 5
SO: Ubuntu 8.04
On Jun 14, 6:42 pm, Christian Winther [EMAIL PROTECTED] wrote:
RC1 / SVN HEAD of cake1.2 - and what dbo type?
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL
On Jun 16, 4:06 pm, Rahul J [EMAIL PROTECTED] wrote:
Hi,
I am trying to extend Debugger class (cake/libs/debugger.php) in my
app directory in similar way as AppModel/Controller.
class AppDebugger extends Debugger
I've even tried renaming the file debugger.php and app_debugger.php
but
Hello,
I am running a production environment setup, ie I have my webroot in
one folder, libs in another, and my project in another. I am having
trouble running tests through the localhost/test.php method. Browsing
to this page brings me to the default congratulations, you've setup
cakephp
I'm not sure what you mean. I didn't change anything in my core.php
file except I changed debug to 0.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
I'm using the bootstrap file to load up default controllers and other
stuff.
In app/config/bootstrap.php
$modelPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS .
'models' . DS);
$behaviorPaths = array(CAKE_CORE_INCLUDE_PATH . DS . 'shares' . DS .
'models' . DS . 'behaviors' . DS);
BTW, if you're testing this, make sure to delete your tmp/cache/
persistent/ files.
-Corie
On Jun 16, 3:45 pm, Corie [EMAIL PROTECTED] wrote:
I'm using the bootstrap file to load up default controllers and other
stuff.
In app/config/bootstrap.php
$modelPaths = array(CAKE_CORE_INCLUDE_PATH
On Mon, Jun 16, 2008 at 3:45 PM, Corie [EMAIL PROTECTED] wrote:
I'm using the bootstrap file to load up default controllers and other
stuff.
Why would you do it this way when none of the examples out there do
anything remotely similar to this.
--
Chris Hartjes
Internet Loudmouth
Motto for
I've not found any examples.
What would you recommend as a better way to share models, controllers,
and views between multiple sites?
-Corie
On Jun 16, 3:59 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
On Mon, Jun 16, 2008 at 3:45 PM, Corie [EMAIL PROTECTED] wrote:
I'm using the bootstrap
On Mon, Jun 16, 2008 at 4:11 PM, Corie [EMAIL PROTECTED] wrote:
I've not found any examples.
What would you recommend as a better way to share models, controllers,
and views between multiple sites?
-Corie
Having never done that (i.e. sharing models, controllers and views
between multiple
I build a lot of small web sites and most of them use the same type of
controllers so I'd like to be able to have one set of these to update
instead of 20 to update every time I make a change. Maybe plugins
would be another route to go, but that would require having to update
all the sites for
On Mon, Jun 16, 2008 at 4:26 PM, Corie [EMAIL PROTECTED] wrote:
I build a lot of small web sites and most of them use the same type of
controllers so I'd like to be able to have one set of these to update
instead of 20 to update every time I make a change. Maybe plugins
would be another
ail.com wrote:
I build a lot of small web sites and most of them use the same type of
controllers so I'd like to be able to have one set of these to update
instead of 20 to update every time I make a change. Maybe plugins
would be another route to go, but that would require having to update
On Mon, Jun 16, 2008 at 4:45 PM, Samuel DeVore [EMAIL PROTECTED] wrote:
It is documented in the manual
http://manual.cakephp.org/view/32/installation#advanced-installation-35
Thanks for pointing that out, Sam.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants
This is precisely what I've done. I just can't get the app_controller
shared if I ever want to use a different local app_controller.
Could I do something like:
if( file_exists( APP_DIR . DS . 'app_controller.php') ) {
use it
} else {
use the shared one
}
Would it just need to be
I use a repository kind of thingy :-)
I have some local sites running on my development machine which are used to
create standard components (components in this case being
models/controllers/views which are basically standards for other [production]
sites). These are never to be changed on
I am brand new to Cake and am trying to figure out what probably is a
very simple problem. I have a News and Events page which has a model
and controller spitting out all the news from the database, but I also
have a separate static page stored in the pages directory that has
mostly static
On Mon, Jun 16, 2008 at 1:54 PM, Corie [EMAIL PROTECTED] wrote:
This is precisely what I've done. I just can't get the app_controller
shared if I ever want to use a different local app_controller.
Could I do something like:
if( file_exists( APP_DIR . DS . 'app_controller.php') ) {
use
I don't see where you created the ACO node with the alias 'access'.
You must create an aco node for every possible node that will be
requested.
A check on a non-existant node will return FALSE, and give you a
result of not allowed.
On Jun 16, 9:06 am, elGEoRgE [EMAIL PROTECTED] wrote:
RC1
Might be an obvious question, but have you downloaded and installed
SimpleTest into app/vendors ?
-Joel.
On Jun 16, 2:42 pm, Stupergenius [EMAIL PROTECTED] wrote:
Hello,
I am running a production environment setup, ie I have my webroot in
one folder, libs in another, and my project in
Hey all,
We need someone to code 3 interactive forms, and a gallery using
lightbox (already installed) on an existing CakePHP site we have
created for a client. We simply need someone to code it using JQuery
and HTML, CSS styling will be done in house. We wil privide design,
form layout and any
Hi,
I am using one model to process and save the data for multiple forms.
How do I run cake's validation methods on each form separately. At the
moment you appear to define your rules in $validate outside of any
functions/methods. How do I run it from within a method.
In addition as my model
Hello,
I have a form for editing articles, which hasMany images. Everything
works fine until I try to use a multi record approach to images (e.g.
Image.0.id, Image.1.id, Image.$id.src). Once I put in the Model.
$id.fields using the form helper and try to submit I get blackholed.
Why might this
I'm developing a site in which users create profiles (Profile
model). These profiles have a significant number of 'belongsTo'
bindings. When I create a standard find('first') call on the model,
it performs a single SELECT statement to retrieve the model data and
each associated belongsTo model
I have the following tables with the following fields
territories
-
id
zip_start
zip_end
offices
-
id
zipcode
and I want to associate via hasMany and belongsTo on the following
conditions
(territories hasMany offices) and (offices belongsTo
http://charges.uol.com.br/2008/06/13/ratinhos-deputados-o-circo/
--
Renan Gonçalves - Software Engineer
Cell Phone: +55 11 8633 6018
MSN: [EMAIL PROTECTED]
São Paulo - SP/Brazil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
This may be really dumb, and it doesn't seem entirely consistent with
the symptoms you're getting, but I thought it might be worth
mentioning.
Of course you probably know ?php echo false; ? will output nothing.
Could this essentially be what's happening?
Just on the off-chance.
On May 13,
Hi Steve,
I am brand new to Cake and am trying to figure out what probably is a
very simple problem. I have a News and Events page which has a model
and controller spitting out all the news from the database, but I also
have a separate static page stored in the pages directory that has
Hi guys,
I've just started working with CakePHP a month ago, and although I seem to
have a good grip over it, there are some things that just boggle my mind at
times. The latest:
I have a model for Publications that is associated to People (authors of the
publication) through a bridge table
Hi,
First thing is first can u send ur design.
--~--~-~--~~~---~--~~
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,
On Tue, Jun 17, 2008 at 9:24 AM, Nirav Mehta [EMAIL PROTECTED] wrote:
If there are consecutive publications with the same author who is not in
the database, the find statement executes the first time and returns no
record. So a record is created for that author. But for the next record,
71 matches
Mail list logo