Not sure how an unsuccessful login (you say you stay on login page
with error message) and creating a different login for admins and non-
admins are related.
If auth replies with 'wrong combinisation of username/password' then
the credentials you supplied were wrong, not matter which login form
yo
Is this your domain?
On Nov 9, 7:20 pm, Sandy wrote:
> I thoroughly researched this beforehand and this falls under "fair
> use" for trademarks as it is used nominatively and does not cause
> confusion. If not, alot of similar websites would also have to be
> shutdown (Google "photoshop tutorials
> Sandy: Yes, this domain is mine
Just wanted to know if it was you trying to make a profit from a
CakePHP related domain, or if you were informing us of someone else
who was selling this domain?
> In my opinion its better for a CakePHP programmer to use it and not > some
> domain squatter, which
I would advise you to learn how to use containable ... only takes a
couple of lines of code makes life a whole lot easier than having to
bind and unbind for every paginate.
HTH, Paul
On Nov 11, 8:02 am, thom wrote:
> On Fri, Nov 11, 2011 at 2:23 PM, Andras Kende wrote:
> > There are multiple wa
> But I get the error:
> Undefined property: View::$Paginator [APP\views\categories\view.ctp,
> line 69]
You can't paginate data you have fetched with $this->Model->find() you
must use $this->paginate().
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp
another thread has now been started about this:
http://groups.google.com/group/cake-php/t/425ad9184aea7654
Will be interesting to see the results, I have never heard anyone else
complain about this at any length so doubt it is that much of a
factor. Certainly not enough for me to manually bind an
For them to exist as separate entities and at the same time they will need
their own (and I assume on the same client) then you will need them to use
separate sessions, well pretty much separate everything ... not sure how
easy that is going to be to configure, i possible at all.
In summary, yo
Daniel,
You're trying to do a find (for your Category data) and thinking you can
then paginate the contained Posts it fetches, you cannot.
I advise you spend some time going through the book's pages on pagination
to understand it:
http://book.cakephp.org/view/1231/Pagination
In essence you nee
Links to the relevant book pages:
http://book.cakephp.org/view/945/Routes-Configuration // 1.3
http://book.cakephp.org/2.0/en/development/routing.html#routes-configuration //
2.0
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Quest
>From page:
http://book.cakephp.org/view/1250/Authentication
"Now, there are a few conventions to think about when using AuthComponent.
By default, the AuthComponent expects you to have a table called 'users'
with fields called 'username' and 'password' to be used."
So if you insist on using a
http://lmgtfy.com/?q=No+input+file+specified+cakephp
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send
http://lmgtfy.com/?q=cakephp+500+Internal+Server+Error
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, sen
Not sure if there is an existing behaviour, but if you create a created and
modified field Cake will automagically update them. Check these to see if
they have been updated since form load et voila.
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Which version of Cake you using?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+un
$this->Auth->fields = array('username' => 'email', 'password' =>
'password'); // no capital F
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP relat
I don't think there is a right and wrong way to be honest, I have done this
in the Comment controller and in my BlogPost controller, if comments are
used across many models then probably best to centralize logic in comments
controller.
I don't worry about field by field validation errors for co
When it works on local server and doesn't once uploaded, the only variable
is your server's configuration and .htaccess, mod_rewrite, DBO tend to be
the main culprits.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Que
http://book.cakephp.org/view/1492/combine
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send
> but it doesn't work why??
- How does it not work, what actually happens?
- Are you running FireBug or something so you can debug what is
happening, or if the event is being fired at all?
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.o
try echo debug($comments); in your view to see if the array does contain
any data.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questio
Use contain:
$this->paginate = array(
'Post'=> array(
'limit'=> 2,
'page'=> 1,
'order'=> array('Post.created'=> 'desc'),
'conditions' => array('Post.category_id' => $id),
'contain'=>array() //
)
);
$this->set('posts', $this->paginate('Post'));
O
Glad you got it working ... whenever you're scratching your head over the
format of data passed back from CakePHP simply echo debug($array); and have
a look.
Once you've learned the way Cake works you know exactly what it;s going to
do every time and your development time speeds up drasticall
I assume flash() is Session->flash() so look at if you are calling the
Session helper correctly.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP r
I've never read anyone extolling the virtues of short commands. Can you
dig out a link to the tutorial in question?
To create portable code you should always use the 'verbose' commands so it
will work on any server setup.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutoria
Jeremy is right, redirect sends a new request to the url you specified i.e.
/motor_developments/search/$studentInfo and as $studentInfo is an array you
cannot do this.
How about just passing the Student.id and doing the Student->find() in the
redirected controller?
HTH, Paul.
--
Our newest
Your first two examples will not work as models are not plural.
http://book.cakephp.org/view/936/Importing-Controllers-Models-Components-Behaviors-
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask
Sorry that did not make much sense to me :(
How about telling us what models you have, how they are associated and what
data you are trying to extract from them?
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions
How about making your page publicly available so we can see for ourselves
what's happening, then we could look at it in various editors and try to
see what's happening?
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
Have you looked at the sql dump to see what's happening?
HABTM does delete all existing rows in the join table for the object your
are editing and should then replace them with the new options your chose.
Maybe it is doing the first part and not the second?!?
HTH, Paul.
--
Our newest site fo
Barricades,
The idea of firing of an ajax request (which means your existing page does
not get reloaded) to upload a file and have the files path returned is
relatively simple and I'm sure you will be able to modify any of the
existing plugins to do this, you just need to get a grip on how to u
> I know there is a callback beforeSave, but there is no afterRead.
You were close with afterRead, that I'm not sure how you missed afterFind :)
http://book.cakephp.org/view/1048/Callback-Methods
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Ch
K, I get you, dunno why you're not getting missing controller warning as I
am still waiting for the CakePHP 2.0 teething problems to die down a bit
before I move to it.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
Ewww, iframes (never used them myself). AJAX would be a much easier and
understandable solution to what your trying to do, and more useful thing to
learn for any other time you want to update content on a page without a
full page load.
Surely this plugin comes with the upload.php file supplied
Actually, this covers it better:
http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related q
This may help:
http://bakery.cakephp.org/articles/BBBThunda/2010/02/25/troubleshooting-cakephp-installation-issues-related-to-apache-2-mod_rewrite-for-beginners
HTH, Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions sit
Never used the joins option so not sure in what order it processes model
defined associations and joins or of your can influence them? Anyone else?
Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.ca
Which error is showing? Login or Auth?
You have set authorize to controller, have you created an isAuthorized()
action and is it returning true?
HTH, Paul.
P.S. May just be a typo but you have missed an 'r' off authErro*r*
--
Our newest site for the community: CakePHP Video Tutorials
http:/
Try showing us a working page and we can debug?
I'm not going to go to the trouble of creating a test environment on your
behalf.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and
I am unaware of any limitation on uploading files via ajax, can you show me
where you read this?
All you are doing is creating a file input field, and submitting it via
ajax to a controller/action .. it will be able to process that file field,
upload to server, create a record in a table and re
> wait moment this question not duplicated
Hmmm, me thinks it is duplicated. Thanks for the heads up.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
Always good to learn how to import dumps via command line, but also worth
asking your host if they can give you access to something like phpMyAdmin
(other MySQL GUI interface's are available).
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Chec
For all things search-like consider CakeDCs searchable plugin.
https://github.com/CakeDC/search
Also for nesting models data make sure you're using containable.
http://book.cakephp.org/view/1323/Containable
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.ca
I don't think the other two guys got the point that you gave this answer
over at stackoverflow?!?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related ques
> Cake should change this default!
Not sure how cake changing a color in the default.css (something that most
people would replace with their own CSS file instantly) would have helped
your inability to recognise if a css file was loaded or not?
Paul.
--
Our newest site for the community: Cake
OK, well I never knew that!
All of my apps have file upload tools of one variety or another, but as I
use existing plugins I guess I never had an opportunity to realise this
cannot be done with pure AJAX.
Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.o
If you're using the core 'multiple' validation rule then I was involved in
many discussions about this some time back, the following search should
provide all the reading you require:
https://groups.google.com/forum/#!searchin/cake-php/validate$20multiple$20rule
HTH, Paul.
--
Our newest site f
Telling us what data you are passing around and for what purpose may give
us more information to be able to help you.
The only thing I tend to pass around is an ID or slug (within the URL) and
from that you can pretty much find whatever you want for the page the
person is wanting to view or bei
You should find your answer by searching this group:
https://groups.google.com/forum/#!searchin/cake-php/paginate$20habtm
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with the
This is not a CakePHP specific problem, cross browser compatibility is a
HTML, CSS, JavaScript thing.
> that my website looks the same, no matter what browser is used?
My first tip would be to realise that this ain't gonna happen, each browser
(never mind PC, MAC, Linux, iPad, Android and on and
I suggest you run through a more standard tutorial first to get used to the
CakePHP's conventions.
Then do another tutorial based around logging mouse coordinates using
javascript seperately (watch out for cross browser differences on that one).
Once you have a good understanding on how both th
As Zaky says, you need to take the data returned from the controller action
and insert it into the DOM somewhere ... look in the jQuery documentation
for examples of how to do this.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the n
The distance of your web server to the end user does not impact on speed.
Maybe you should be worrying about what's happening in your code or be
looking for a better hosting provider.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePH
http://addyosmani.com/blog/the-missing-date-time-selector-for-jquery-ui/
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe fr
I use jQuery UI for my datepicker, this looks a nice solution for date and
time:
http://trentrichardson.com/examples/timepicker/
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
When I return false from isAuthorized() I simply get returned to the
referring page (i.e. the page I was already on).
If your app is behaving different then you've probably set a variable that
is changing the default behavior.
HTH, Paul.
--
Our newest site for the community: CakePHP Video T
The warning tells you exactly what to do to remedy the problem.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe
Yip, in some instances, although this should not be heavily relied on, you
need to include different CSS declarations in HTML IF statements, which
also allow for different CSS for different IE versions, another issue if
you supporting older browsers.
HTH, Paul.
--
Our newest site for the comm
Thanks for the heads up on that Jeremy!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake
CakePHP will do this for you automagically when using Model::saveAll().
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To uns
You do not give any information on what part of authentication you are
struggling with.
Auth will work with users that are associated to roles, after the user it
authenticated you then need to check their level of authorization (two
different things).
I do this with isAuthorized() methods in m
In what situation would you not want the newly authenticated user to
overwrite the old one?
Are you wanting an admin and a non-admin user to be logged into the same
site from the same computer/browser at the same time?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.ca
> As others have said when you call your models save() method it will check
validation by default.
save() will not validate associated data as it only saves the current
model. As I stated previously saveAll() will validate associated model
data in a properly formatted data array.
HTH, Paul.
That's a very deeply associated field, Cake is possibly struggling to
complete the automagic that deep.
You may struggle with a model called Session due to clash with the Session
component.
AFAIK, any ajax created or deleted fields will mess up the Security Hash as
it's generated on page load,
Does the blog tutorial not cover all of this?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email t
Option 2 does not look normalized to me as data1, data2, data3 should be in
an associated table Process hasMany Data <-> Data belongsTo Process.
When editing you echo each records id and therefore the save call will
update the correct record.
echo $this->Form->input("Process.0.id");
echo $this
Sorry, you have lost me.
I suspect you are over-thinking or misunderstanding what it is you're
trying to achieve.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
Option 2 does not look normalized to me as data1, data2, data3 should be in
an associated table Process hasMany Data <-> Data belongsTo Process.
When editing you echo each records id and therefore the save call will
update the correct record.
echo $this->Form->input("Process.0.id");
echo $this
@Andras: That's an awful lot of work,
@ Jordy: I recommend you learn how to use Containable which makes the task
as simple as:
$this->User->find('first', array(
'conditions'=>array('User.id'=>$uid),
'contain'=>array('Pet'=>'Post')
));
Simple and efficient!
HTH, Paul.
http://book.cakephp.
> It's normalized because data1, data2 and data3 are always the same
fields, they don't change with the process :)
Just because it works for you 'now' does not make it normalized ... a
normalized database would work for processes with 1 or 1,000 data relations.
What happens if you need more dat
Can you show us an echo debug of your data array?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send ema
Not sure what it is you are struggling with ... if you want to add a
comment to a Post then echo a form with a hidden field containing
Comment.post_id.
If wanting to view a Post and it's comments then:
$this->set('post', $this->Post->find('first', array(
'conditions'=>array('Post.id'=>$id),
Adding 'validate'=>'only' will never save as your asking the function to
only validate the data.
If 'incorrect' data is passing validating then you have something wrong
with your validation rules.
Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Chec
I'm using SLIR2:
http://code.google.com/p/smart-lencioni-image-resizer/
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To uns
What part of this are you having problems with ...
1. Generating an onClick event which fires a link to a controller/action?
2. Creating a controller/action which calculates a data based on some
params and returns a new result set?
3. If link is Ajax, echoing the returned HTML into yo
You should never get to the point of editing a record's data before first
displaying a form for that record. It's at this point you should check if
a record with the given ID exists and act accordingly.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakep
They are more commonly referred to as ToolTips and a search for those
should give you some more references:
http://lmgtfy.com/?q=cakephp+tooltip
I personally use jQuery as my JS Framework and qTip for tooltips.
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv
P.S. I did not try to answer your question directly as I have no experience
of HelpBallon, do not use Prototype and the article you linked to is from
2006 so thought it was worthwhile suggesting you look for a more modern
solution to your problem.
--
Our newest site for the community: CakePHP
What is it you're missing David? Have you asked questions? Where they
answered?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsub
Assign roles to your users and check their role during authorization:
http://book.cakephp.org/view/1275/authorize
Note: authorization occurs after a user has been authenticated and during
every request to check if the users should have access to the resource they
have requested
HTH, Paul.
--
Are you seeing the add form, if so when you submit the form echo
debug($this->data); to check if the data is being sent.
After that check to see if you have validation rules which are blocking the
save, if you repeatedly get returned to the add user form then it is likely
to be validation whi
Try searching book for containable:
http://book.cakephp.org/view/1323/Containable
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions
So which of those two steps are you struggling with?
Creating a link with an image is not difficult (either wrap an image in an
a tag or preferrably use CSS image replacement).
The only slightly difficult part in the controller/action is working out a
date for yesterday and Dave Milson gave you
You gave no indication this was to be a REST enabled application and as 99%
of apps are not REST then the replies were valid.
Even then, the REST interface would surely not allow for manual input of
Post IDs, this just smacks of allowing people to edit any Post in your
database. You would not
as euromark says without more information all we can say is, read the book:
http://book.cakephp.org/view/1237/Custom-Query-Pagination
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org a
Search this group and the answers you will find:
https://groups.google.com/forum/#!searchin/cake-php/encrypt/cake-php/Ncw6fbTLRmc/Z0QrvhMXOb0J
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and
In a non-REST application you would only get to an edit form after clicking
a system generated edit link for an existing post and as such the id hidden
field value would be correct.
If for some strange reason the ID did not exist when retrieving the data to
populate the form then you would de
I agree that checking and double-checking is a good thing, was just trying
to explain that in MOST circumstances there the ID passed to the edit
action should be checked before you get to saving the new data.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
The argument is simple, it is wrong to add a comment if it is
to supplement missing or correct existing documentation. You should edit
the documentation then the problem is resolved for all others who read it
thereafter.
I think this is a brilliant advancement for the new book, but maybe we
c
What does this offer that the more established Croogo (http://croogo.org/)
does not? A quick look around the backend and plugins does not instantly
hit me with anything radically different.
Would be much better if everyone who wants to create a CakePHP based CMS
worked on one project rather th
Am I right to assume that was there all along Mark? If so, sorry :)
I am yet to make the switch to Cake 2.0 so not spent much time in the 2.0
book. I only got involved in this thread as seeing various threads
discussing the new documentation where the answer has been for them to
contribute so
@Marco: That's not what I was saying at all.
If this project is taking an different route that fulfills a need not
serviced by Croogo (honorable mention to Infinitas too -
http://infinitas-cms.org) or that could not be easily added into Croogo (or
Infinitas) then fair enough.
But, if they
@y2k_2000: I promise I will take a look at QACMS and build two identical
sites/apps using them in the coming weeks. But, from looking at the admin
system it does seem as though QACMS does exactly the same as Croogo ... the
only major difference I could see was the ability to assign a template to
It's 10pm for me in the UK now and the event has started. WebEx says like
I am the only attendee listening to Larry, Mark and Jose (Graham having
probs connecting), but Larry says another 20+ listening in.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
C
Short and sweet, off to bed now.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+un
Details on how to contribute your changes to the documentation can be found
here:
http://book.cakephp.org/2.0/en/contributing/documentation.html
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org a
Odd little session, it only lasted 25mins, I thought Mark was mocking me,
lol.
That's not a great advert for Cisco WebEx, took ages for Graham to join,
lost Jose at one point and could not talk with the other attendees.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv
Limit what you fetch in the first place using the containable behaviour
which you can set to fetch the models and/or fields:
http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
contain => array(
'Friends' // all fields from related friends results
)
contain => array(
'F
Book: http://book.cakephp.org/2.0/en/core-libraries/events.html
Trying to get to grips with one of the new features of CakePHP 2.1. Have
read the above page in the book and want to implement the code shown in the
'Registering Listeners' section but no indication given as to where the
followi
If the controller method throws an error it will stop the data being
returned correctly and will stop your ajax call from functioning as
expacted.
You need to figure out why Cake is spitting out "uncaught exception:
Invalid JSON"
With my jQuery AJAX stuff I return values using:
$response
You need to get rid of all the cake errors on a failed save so it only
returns {"successful":false}
Looks like you have some sort of model/dbo error related to Not-Null-Constraint
... resolve that and all the controller should return true or false and
your view can handle the response accordin
1 - 100 of 163 matches
Mail list logo