luke, excellent question. I'm wondering the same thing, and I really
think that this hasn't yet been answered. It seems to me that a
shopping cart should be pretty fundamental. My only problem with
BakeSale is that it seems to still be for 1.1, and 1.2 is very very
nice (too nice to give up for
Hello All,
This is more of a php question rather than cake one. Some one told me that
increasing the php time out script by some particular limit will lead to
more frequent crashes of php and apache. I want to support the upload of
upto 40MB to my site. I want that script should not time out. How
If you want to use pure Ajax, you'll need to do continual polling of
the server to find the status, which is probably more effort than it's
worth.
Another technique would be to post to an iframe, then in your
controller action you would use echo and flush() after every 10
records to push your sta
Either:
a) Use a robots.txt to get search bots to ignore certain urls
b) Or do a redirect in your controller (you'd need to do this in
AppController, checking $this->here for the full path and redirecting
when detected)
Cheers,
Adam
On Apr 10, 12:39 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I
basically in my layout ctp file, i have a navigation menu. If an Admin user
logs in, I want the admin nav menu to appear. Otherwise, do not display the
admin nav menu. what is the best way to do this? thanks
On Wed, Apr 9, 2008 at 4:59 PM, Dardo Sordi Bogado <[EMAIL PROTECTED]>
wrote:
>
> Probabl
Also
var $validate = array(
'fieldName1' => array(
'rule' => 'ruleName', // or: array('ruleName', 'param1',
'param2' ...)
'required' => true,
'allowEmpty' => false,
'on' => 'create', // or: 'update'
'message' => 'Your Error Message'
)
);
from the bo
You should use add a field i.e 'change_password' to the model's
validation array. You can then use the Security::hash to hash that
value for saving in the action.
http://www.littlehart.net/atthekeyboard/2008/01/22/simple-user-registration-in-cakephp-12-part-ii/
should help you somewhat.
The artic
The error is saying something very precise - the method does not exists.
I can add to it that it is not supposed to exist - try the form helper
instead http://book.cakephp.org/view/182/forms
HTH
Tarique
On Wed, Apr 9, 2008 at 5:17 PM, Priya <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am getting thi
I'm currently trying to figure out the best way of dealing with rather
complex ACLs myself...
I have different "modules" (controllers) in my application, and while
a user may be allowed to administer one module, he might be very
restricted in another. So I either have to be able to set very
Thanks for the clarification. That does make sense to me.
I didn't notice the problem, because I am using the following in my
app_controller.php to solve the same problem. I will admit is not the
most elegant solution, but it does work:
function beforeFilter() {
$this->Auth->allowedActions
Hello all!
I'm looking at helpers and saw callbacks that won't used.
The callbaks is: beforeLayout and afterLayout.
And I wanna know ... Theese callback will be used?
Thanks!
--
Renan Gonçalves - Software Engineer
Cell Phone: +55 11 8633 6018
MSN: [EMAIL PROTECTED]
São Paulo - SP/Brazil
--~-
Check the test cases. Add some for your situation.
If the tests pass for you then something else is messing with the
prefix.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, sen
I have routed my pagesController:contact to
example.com/contact/
but I also noticed that if I navigate to example.com/pages/contact/
the page still works. Is there anyway to prevent example.com/pages/
contact from working, so that only the example.com/contact works? I
would like to do this to pr
Thanks aranworld, saw your message just now.
I think the use case is when you're not using groups, and you have a
lot of children. In that case it's a lot easier to generally allow
access to the parent, but deny access to a few selected children, for
example.
Additionally it's just expected beha
Finally found the answer. Cake caches your queries unless you tell it
not to.
$this->Account->Note->Document->cacheQueries = false;
Hope this saves someone else a headache.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
/plugin/plugin_name/vendors/css/your_css.css
$html->css('/plugin_name/css/your_css.css');
The only thing that is not added yet is image support. I suppose this
could happen easily.
Have a look at the test cases with the changeset. They might help to
explain how things work a little bit more.
B
I'm getting this warnings:
Warning: mysql_connect(): Can't connect to MySQL server on 'montana-
realty-co.com' (111) in /home/content/b/e/n/benjimecutchen/html/cake/
libs/model/dbo/dbo_mysql.php on line 100
Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in /hom
Use $this->params['form'] array to access posted data
On Apr 10, 3:18 am, vold <[EMAIL PROTECTED]> wrote:
> Hi, i use Cake 1.2 and would like to know how I can allow a certain
> action/controller to get POST-data from a foreign site/application.
--~--~-~--~~~---~--~---
If you only need the stats for your own interests, then I suggest you
use some pre-made stats package. Mint is pretty good in this regard,
all you need to do is install it on your server and add a javascript
link in your layout. You can also creating your own stats plugins if
you want to track cer
Probably, I will check in the AppController::beforeFilter(); or even
better make a component.
Helpers are meant for the view, not the controller.
Given the fact that I haven't read your code, and you haven't
explained what are you trying to accomplish I can't give you further
assistance.
What I
Interesting stuff -
I think you seem to be implying the need for certain design patterns,
and Stephen is on the money with the Factory (http://en.wikipedia.org/
wiki/Factory_method_pattern) , or perhaps the Strategy pattern (http://
en.wikipedia.org/wiki/Strategy_pattern) - but again, this might
what controller would i check in for the layout? or use helper?
On Wed, Apr 9, 2008 at 4:14 AM, Dardo Sordi Bogado <[EMAIL PROTECTED]>
wrote:
>
> You don't. Check from controller/component and pass the allowed/denied
> to the view/layout.
>
> On Wed, Apr 9, 2008 at 7:19 AM, . <[EMAIL PROTECTED]>
Aptana rocks! But Textmate for Mac is amazing...
Cheers,
mbavio
On Apr 9, 8:22 pm, aranworld <[EMAIL PROTECTED]> wrote:
> I really love Cream, which is a redistribution of vim with all the
> bells and whistles added and with all the configuration options that
> people more used to mouse click en
1) Ticket was posted earlier in this thread:
https://trac.cakephp.org/ticket/4450
2) Somebody generously wrote a test and attached it to above ticket.
3) I wouldn't consider this an official fix, it's more of a workaround
hack.
If ACOs are supposed to inherit permissions as well, the check lo
I really love Cream, which is a redistribution of vim with all the
bells and whistles added and with all the configuration options that
people more used to mouse click environments use ... though it also
supports a hard-core mode if you really want to use the keyboard
navigation technices of vim.
No, stick with the dispatcher. You can easily pass data just as a
second parameter:
$result = $Dispatcher->dispatch($url, array('cli'=>true, 'source'=>
$mime_source));
then in your controller action you can just access
$this->params['source']
to get the data passed. Let me guess, you're writi
If you're looking to modify the data before it is saved to the DB,
then you need to use the Model::beforeSave() callback, or whichever
filter is appropriate for your needs.
Also, the automatic password hashing is only present in the official
Auth component of CakePHP 1.2. The blog tutorial was w
The query:
$records = $this->Author->findAll();
will return nested associative arrays in the form:
Array
(
[0] => Array
(
[Author] => Array
(
...// Fields from the Author model
)
[Book] => Array
come on irc #cakephp @ freenode
as for the original question:
>How does one go about modifying the data before it is saved?
the most appropriate place is the models beforeSave() callback
On Wed, Apr 9, 2008 at 11:05 PM, Brian <[EMAIL PROTECTED]> wrote:
> I have looked at both quite a bit. I will
I have been playing around with the Ajax helper and am trying to
display the progress of a script, in realtime, called by $ajax-
>link(). I have seen how the different callbacks work, but I can't
seem to find if there is a way to send a series of responses during
the call to the server script.
Ju
I have looked at both quite a bit. I will have to take another look and see
if I can find some examples to work with.
Thanks
On Wed, Apr 9, 2008 at 5:01 PM, Sliv <[EMAIL PROTECTED]> wrote:
>
> Have you looked at http://book.cakephp.org and searched
> http://bakery.cakephp.org
> yet? There's qu
Same prob here, cache prefix is completely ignored (I'm using File
engine on 1.2) even when I set it with Cache::config() in core.php and
even after applying that fix in changeset #6323.
Looking at the code in that changeset I wonder whether the $settings
array isn't empty in the functions write,
Used to use CrimsonEditor - now use Eclipse (PDT) - the extra
functions are worth the bloat...
On Apr 8, 5:09 pm, John R <[EMAIL PROTECTED]> wrote:
> Just curious ..
>
> The only features I really use in an editor are code highlighting and
> FTP ... all of the crazy PHP IDEs are incredibly bloate
Hint: input('password'); ?>
On Apr 9, 2:16 pm, Baz <[EMAIL PROTECTED]> wrote:
> Because there are so many bits and pieces associated with Auth, it's hard to
> diagnose your problem without ALL your code. However, let's try the reverse.
> Look at these:
>
> http://book.cakephp.org/view/172/authent
Hi,
I'm attempting to read a stored procedure contents (its code) by
issuing the following sql command:
SHOW CREATE PROCEDURE my_stored_procedure
That would return a table like:
procedure | sql_mode | Create Procedure
---
my_
Have you looked at http://book.cakephp.org and searched
http://bakery.cakephp.org
yet? There's quite a bit more info there than in the manual.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To p
Hi all,
I have a method which loops through an array of ids and deletes the
corresponding Note record. Upon deleting, it also checks whether the
associated Document is still associated with other Notes. If it
isn't, it should be deleted.
The problem I'm having is that even though I am calling
After some time reusing and perfecting some code for cakephp, i think
it's time to put all the reusable stuff in a plugin.
But,
In the manual (which I realize is not up to date any more for 1.2), i
found that the controllers, models and views folders could be placed
in such a plugin, but not the
I added a patch file to the ticket:
https://trac.cakephp.org/ticket/4450
which adds some tests which demonstrate the behavior. I set it up to
generate a failed test.
On Apr 9, 12:17 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 3:15 PM, aranworld <[EMAIL PROTECTED]>
I would like to be able to see some stats about my users/guest in my
admin panel, such as what pages their visiting, how long they are
there, etc. Does anyone have any suggestions as to how I would go
about doing this? I basically want to be able to have a facebook type
"Recent Activity" section a
I can't answer all your points, but in theory, you could probably
achieve what you're aiming for in (2) by making SearchEngine a factory
class which instantiates the other classes on demand. But you'd
probably do better with a different architecture.
My suggestion would be to use a call such as $
I have:
/news/sport -for category
/news/sport/skate/downhill-categroy too (unlimited
depth)
/news/sport/skate/downhill/new-kids-in-da-hood - for news article
Not best solution for seo, but some day sitemap http://www.sitemaps.org/
will make opti
If you want to test your regular expressions as well, there's tools
like:
https://addons.mozilla.org/en-US/firefox/addon/2077
http://www.google.ca/search?hl=en&safe=active&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=2PL&q=regular+expression+tester&btnG=Search&meta=
and resources like:
Hi, i use Cake 1.2 and would like to know how I can allow a certain
action/controller to get POST-data from a foreign site/application.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to thi
First off I am familiar with php and mysql, I can create small
applications (although they might not be too efficient.) So, I decided
to get my feet wet with CakePHP.
I figured I would create a user based system and then can add on
aspects of my applications from there.
I first started off with
On Wed, Apr 9, 2008 at 3:15 PM, aranworld <[EMAIL PROTECTED]> wrote:
>
> I am currently working on a test patch file that will at least
> demonstrate the behavior being described.
> Like I said in my previous post, though, I'm not sure if this is
> considered a bug or not.
>
That's excellent.
Because there are so many bits and pieces associated with Auth, it's hard to
diagnose your problem without ALL your code. However, let's try the reverse.
Look at these:
http://book.cakephp.org/view/172/authentication
http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/(downloadable
co
I am currently working on a test patch file that will at least
demonstrate the behavior being described.
Like I said in my previous post, though, I'm not sure if this is
considered a bug or not.
On Apr 9, 12:06 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 2:34 AM, David
For one site recently that had a database of restaurants broken down
by neighborhood (and city) I went all keyword based. Worked well (city/
neighborhood are all variable keywords):
/browse/city
/browse/city/neighborhood
/restaurant/city/neighborhood/slug
It took some fairly complex routing to g
By the way, I think plugins are another elegant way to handle this
type of code organization. The main issue is the sharing of models
between plugins, but I think this can be worked with. Now that the
test suite handles plugin tests, it is even easier than before to use
plugin directories for co
On Wed, Apr 9, 2008 at 2:34 AM, David Christopher Zentgraf
<[EMAIL PROTECTED]> wrote:
>
> Ignore my previous fix, only works under certain conditions.
> This fix is more robust:
>
> Insert:
> // === WORKAROUND =
> $perms = Set::sort($perms, '{n}.Aco.id', 'desc');
> // ===
On Wed, Apr 9, 2008 at 2:48 PM, Antonio Labriola
<[EMAIL PROTECTED]> wrote:
> Has anyone had anything similar to them? I didnt think it was
> going to be this difficult to get the simple authorization up and
> running. Any help would be appreciated, thanks.
Have you tried the various tut
This is what my form looks like:
create('User',array('action' => 'login')); ?>
error('User.username'); ?>
input('User.username',
array('label'=>'Username') ); ?>
error('User.passwd'); ?>
input('User.passwd', array('label'=>'Password') ); ?
>
submit('Submit', array('class' => 'submit')); ?>
I
The idea of basing inheritance on id order is really not going to
work, because over the course of usage, ACO nodes are bound to be
added in a non-linear fashion. This is why lft and rght values are
used instead to determine inheritance.
I am able to reproduce this bug as described.
However, if
Hi guys,
Hopefully someone could have a quick answer for me. I am trying
to use the auth component for authorization in my webapp. I have
activated the auth component and app_controller.php, and i have
created a users_controller,user model, and users table in the
database, all to the defaul
It is important to note that the Authorization Component does not pass
ID values when it automatically checks for access.
If this is the URL, and the user's ARO alias is 'frank':
http://www.cakephp.org/users/edit/23
And you are using Auth in 'actions' mode, the Auth component makes the
followin
If you check the page 'CakePHP Tickets: How To Help', there is a link
to a query on Trac for tickets related to the official web sites
(bakery included). You will notice a number of outstanding tickets
regarding issues with the Bakery.
I just recently started working with folks from the CakePHP
On Wed, Apr 9, 2008 at 12:29 PM, R. Rajesh Jeba Anbiah
<[EMAIL PROTECTED]> wrote:
>
> Ok, you started dodging to be smart; but your conclusions still
> look more dumber to me.
Stupid is as stupid does.
Caching is a big help, but sometimes masks other problems.
--
Chris Hartjes
Internet
> I know people won't believe me, but the alleged overhead of Cake's
> file inclusion methods will be the least of your worries when building
> a web app with it.
I totally agree, and in the part of client side this can help:
http://developer.yahoo.com/yslow/
> Yes, caching is a good solut
Ahh thanks for the replies. The name of that variable is a bit
misleading :) Should read the documentation (and the source code) more
carefully I quess.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group
On Apr 9, 9:14 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 11:52 AM, R. Rajesh Jeba Anbiah
>
> <[EMAIL PROTECTED]> wrote:
> >File inclusions are always a overhead unless you use caching;
> > but many times it's ok for the module organization. Cake's way of
> >
Sorry if I wasn't clear. This is what I mean:
[1] Write a function to remove accents. Call it - for example -
strip_accents($text).
So if strip_accents('Aurélien') returns 'Aurelien'.
All the code necessary for this function is in the Sluggable behavior
by Mariano. You can just select the frenc
Hello,
I have an issue with caching.
I have cache switched off ( Configure::write('Cache.check', true); //
in core.php )
But my actions are still cached and I need to click on refresh every
time I want see the results of the action.
I tried to add
to header of xhtml file, but this doesn
Hello everyone,
I know this subject has been touched upon several times here, but I'm
afraid I'm still looking for some guidance and would appreciate some
help. Like others, I'm trying to call a controller from the command
line. As suggested by some (e.g.
http://bakery.cakephp.org/articles/view/c
Has anyone else noticed the problems happening in the Bakery? Some
tutorials don't come up fully, bad server responses, etc.? (i.e.
http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake
is comments only, but no article) Tried to create an account and
crashed. Tried to login
On Wed, Apr 9, 2008 at 11:52 AM, R. Rajesh Jeba Anbiah
<[EMAIL PROTECTED]> wrote:
>File inclusions are always a overhead unless you use caching;
> but many times it's ok for the module organization. Cake's way of
> handling file inclusions are real overhead (checking file_exists and
> t
(The topic not related to the current thread
http://groups.google.com/group/cake-php/browse_frm/thread/0133dc7f2dfb1191/6f1665159f7b00d4
; it's different)
I'm interested to know the preferred way of organizing the models and
vendor files, for the project say "meta search engine - using
webservice
On Apr 9, 8:44 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 11:41 AM, DragonI <[EMAIL PROTECTED]> wrote:
>
> > Coolio!
>
> > But does anyone know what the overhead/performance is like?
>
> Compared to what? I doubt you'd even notice it.
File inclusions are al
I'm wearing glasses too!
Your solution seems interesting but how be sure the replace method
match all possile accented chars typoing by the user?
And how invalidate blanks, spaces, symbols, number?
I'm not sure to understand very well your suggest...
In any case, great thanks to interest of my p
This strange, but I'd really like to know your preferred URL
structure:
1. http://foo.com/foos/index/x/1/2 (path like)
2. http://foo.com/foos/index/x/slug_1/slug_2 (path like, but with
slug)
3. http://foo.com/foos/index/x/Nam+e+1/Nam+e+2 (path like, but with
findByName)
4. http://foo.com/foos/i
On Wed, Apr 9, 2008 at 11:41 AM, DragonI <[EMAIL PROTECTED]> wrote:
>
> Coolio!
>
> But does anyone know what the overhead/performance is like?
Compared to what? I doubt you'd even notice it.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snak
Coolio!
But does anyone know what the overhead/performance is like?
On Apr 9, 11:35 am, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
> > > You no longer have to set the paths to models and controllers which
> > > are in subfolders of app/models resp. app/controllers, cake
> > > automatically fin
> > You no longer have to set the paths to models and controllers which
> > are in subfolders of app/models resp. app/controllers, cake
> > automatically finds them.
>
> Daniel,
> I was wondering if this is just a cakephp 1.2 only feature?
Yes, it is a feature introduced in 1.2.
--
Daniel H
Thanks for your replies!
martin, if you have this tables:
CREATE TABLE `authors` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL
PRIMARY KEY (`id`)
);
CREATE TABLE `books` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`price` float(8,2) N
> Grigri, my first example is exactly what you said and it doesn't
> work...
Heh you're right, sorry - I was looking at the one that "almost"
works...
> Do you need some glasses ;o))
Already wearing them!
I've had a think, though - instead of doing a simple regexp, try using
a custom validatio
Thanks a lot guys. Worked Great.
On Apr 9, 10:36 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> $this->cakeError('error404', array('message' => 'Enter a message
> here', 'title' => 'Comes right after the error code'));
>
> On Wed, Apr 9, 2008 at 7:16 AM, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
> You no longer have to set the paths to models and controllers which
> are in subfolders of app/models resp. app/controllers, cake
> automatically finds them.
Daniel,
I was wondering if this is just a cakephp 1.2 only feature?
--~--~-~--~~~---~--~~
You rece
First off, I would seriously look at redesign. Cake doesn't tend to
play nicely if you don't follow its conventions.
That said, what you're after is sort of possible. One way to achieve
it would be use multiple database configurations (a separate one for
your outer query). AFAIK this will cause c
The usual and unhelpful answer applies:
You will have to rearrange your array-data yourself if you need it in
that format.
I would take another look at the javascript-component you are using...
because I can't really figure out why it would require the data in
that format. Repeating the user-data
Grigri, my first example is exactly what you said and it doesn't
work...
Do you need some glasses ;o))
Aurélien
On 9 avr, 16:32, grigri <[EMAIL PROTECTED]> wrote:
> Your regexp: '/^[[:alpha:]]/'
>
> should probably be '/^[[:alpha:]]+$/'
>
> On Apr 9, 3:05 pm, avairet <[EMAIL PROTECTED]> wrote:
Hi inma,
> Yes, you can group your models, controllers and views into
> subdirectories.
>
> You have to set additional paths to models, views and controllers into
> documentRoot/app/config/bootstrap.php.
You no longer have to set the paths to models and controllers which
are in subfolders of app
Take a look at the Set class in the cake core. More specifically, the
Set::extract() method.
Read
http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/
for a few pertinent examples.
-Joel.
On Apr 9, 10:28 am, inma <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an Use
In mode 0, cake caches the table specs to speed up model loading, and
remove the need for a describe.
The avoid changing the debug level, just clear out relevant app/tmp/
cache/models/ when you change the schema.
simon
http://www.simonellistonball.com/
On Apr 9, 8:26 am, un155 <[EMAIL PROTECTED
$this->cakeError('error404', array('message' => 'Enter a message
here', 'title' => 'Comes right after the error code'));
On Wed, Apr 9, 2008 at 7:16 AM, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
> How can you tell Cake to throw a 404 error via the Controller? Thanks
> for any help as always.
>
ErrorHandler::error404(array('url'=>'...', 'message'=> 'Stuff'));
of ErrorHandler::error() if you're feeling the need for more control
and less convenience.
see: http://api.cakephp.org/1.2/class_error_handler.html for more
details
simon
http://www.simonellistonball.com/
On Apr 9, 3:16 pm, Kyl
Hi,
I have an User class and a PermissionGroup class. User has defined a
hasAndBelongsToMany relation with PermissionGroup.
If into database exists one user with two permission grups assigned,
when I run this code:
$userA = $this->User->findAll($sort, $limit, $page); //gets all the
User records
Hi,
I am experiencing a weird problem. On my live server, if i am changing
any column i.e. form tinyint to varchar, it does not reflect on the
site till i change the debug level from 0 to 2, execute the script and
make it to 0.
Any solutions.
Regards,
Gautam Jumrani
--~--~-~--~~---
Yes, you can group your models, controllers and views into
subdirectories.
You have to set additional paths to models, views and controllers into
documentRoot/app/config/bootstrap.php.
For example:
$modelPaths = array(MODELS."usuarios".DS, MODELS."sistema".DS,
MODELS."proyectos".DS);
$controll
test
On Apr 9, 1:00 pm, MarcS <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm wondering if it is is somehow possible to put controllers into
> subdirectories.
> sort of
> likewww.cakeapp.com/subdirectory/controller/actionwww.cakeapp.com/subdirectory2/controller/action
> and have the same for the views.
I think I can answer my own question now (which was pretty easy, once
I "got it").You have to construct the links to the files
explicitly: ie, html->link("click here","http://www.mydomain.com/
files/example.pdf"). Or, on a system without mod_rewrite, the link
would be to: http://mydomain.c
I have an User class and a PermissionGroup class. User has defined a
hasAndBelongsToMany relation with PermissionGroup.
If into database exists one user with two permission grups assigned,
when I run this code:
$userA = $this->User->findAll($sort, $limit, $page); //gets all the
User records and
Being forced into using Cake I'm trying to find out how to avoid
getting a custom query result returned as a complete array set at once
(seems to be the case with query()) - which will not scale for large
datasets where the array and all the internal loops are too heavy in
both memory and cpu usag
Hi,
I am getting this error:
Method HtmlHelper::formTag does not exist
Please can anyone help me?
Priya
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-p
Is CakePHP routing still available if i turn mod_rewrite OFF.
How they are linked to each other?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@google
Thankyou Ben, I was totally stuck up with this problem till I read
your solution. Thankyou Andrews for your exact specification of where
to modify.
Priya
On Feb 11, 12:22 am, asturges <[EMAIL PROTECTED]> wrote:
> Thanks Ben, I was having the same problem. I knew it had to be
> something with MyS
Hello, i've just signed up with godaddy hosting.
First, I put a cake application in root folder, all worked fine. Later
I decided to move it to a directory, and made the proper change in
godaddy hosting panel (mydomain.com pointing to mydirectory/ )
But I'm getting .htaccess errors. I red a prev
Your regexp: '/^[[:alpha:]]/'
should probably be '/^[[:alpha:]]+$/'
On Apr 9, 3:05 pm, avairet <[EMAIL PROTECTED]> wrote:
> Hi Max and Grigri,
>
> I've retested some solutions to validate with a custom regex, but no
> success!
> It seems the problem is due to "utf-8", because in a "iso-8859-1"
How can you tell Cake to throw a 404 error via the Controller? Thanks
for any help as always.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroup
Hi Marc,
> thanks,
> that's what I'm looking for.
> I'm not all that worried about the actual url. I just wanna organize
> my code a bit better.
>
> Is there a way to put view templates into directories as well? I tried
> just moving it to subdirectories but that gives me an error.
No, this does
Hi Max and Grigri,
I've retested some solutions to validate with a custom regex, but no
success!
It seems the problem is due to "utf-8", because in a "iso-8859-1"
context, it seems to work...
My environment:
Cake 1.2.x.x nightly builds
PHP 5.2.5
MySQL 5.0.45
Apache 2
I've setted my LOCALE in b
1 - 100 of 122 matches
Mail list logo