might be a long shot but the problem might have been in your url..
looking at it as you wrote it here it says hellworld..
My laymans guess with no knowledge of your code or naming scheme will come with one guess
hellworld shoulda been helloworld if you copy pasted that from your
address bar and
Hi,
I just installed CakePHP 1.0.1.2708 and followed the blog tutorial to
get an idea of what CakePHP is all about. Although installation and the
blog tut. went fine, I cannot get any data from the database. I do not
get any errors.
After setting the debug level to 3, I see that the variable
I'm trying the Ajax task list tutorial at
http://grahambird.co.uk/cake/tutorials/ajax.php. However, I am getting
the following error when trying to load it:
Fatal: Unable to load controller TasksController
Fatal: Create Class:
?php
class TasksController extends AppController
{
}
I would make sure that in the controller class and in the model you define the $name varlike var $name = 'Tryout';in the model andvar $name = 'Tryouts';in the controller
On 5/14/06, moob [EMAIL PROTECTED] wrote:
Hi,I just installed CakePHP 1.0.1.2708 and followed the blog tutorial toget an idea of
This is noted in the manualin the tutorialhttp://manual.cakephp.org/chapter/18and the sections for controller and model
http://manual.cakephp.org/chapter/6 and http://manual.cakephp.org/chapter/7On 5/14/06, Samuel DeVore
[EMAIL PROTECTED] wrote:I would make sure that in the controller class and
what is the name of the file? is it tasks_controller.php?On 5/14/06, Reggie [EMAIL PROTECTED]
wrote:I'm trying the Ajax task list tutorial at
http://grahambird.co.uk/cake/tutorials/ajax.php.However, I am getting the following error when trying to load it:Fatal: Unable to load controller
Hi.
I've read the docs about the routes, looked at the source but i can't
figure out the purpose of :names in the route definitions. For what o
can understand, :names are supposed to be matched in the URL in some
special way that i can't understand.
For example, can i extract a route component
Hi all,
I'm wondering how to save the value NULL in a numerical field.
Cake is doing `parent_id`='NULL'. In that case Mysql transforms NULL
into 0 if it is a numerical field.
I don't want 0, I want NULL to be stored. I read that "To set a date or
numeric column to NULL, use an unquoted NULL
If that's from your index page, no search was performed and you haven't
set the variable (or it has been set with something that isn't an
array) which you later use in your view.
You need to put
$this-Post-findAll()
back in your code somewhere
Cheers,
AD7six
Thanks for the link AD7six. Good article that helps highlight the risks
involved.
I think that it also adds weight to the argument for developing a strong
authentication module for Cake. Rolling your own is fine if you know
what you are doing, but this article has pointed out the weaknesses
Thanks for the link, that was very illuminating. It highlights my
ignorance on one point: the relationship between a session and a
cookie. I thought they were coupled, that the login info I want to
store was stored in the session which was implemented as a cookie.
Can I have the login info in a
Saw a post on this a while ago
(http://groups.google.com/group/cake-php/browse_thread/thread/74e4ed3cf4dee595/b1368e18be1aaee3)
and I had the idea, so I did it. Cake Migrations in CakePHP's answer to
RoR Migrations.
Take a look at http://joelmoss.info/2006/05/15/cake-migrations/ for
info and the
Is there a way to debug SQL queries anywhere?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send
Hey that's pretty cool!. Thanks.On 5/14/06, joelmoss [EMAIL PROTECTED] wrote:
Saw a post on this a while ago(
http://groups.google.com/group/cake-php/browse_thread/thread/74e4ed3cf4dee595/b1368e18be1aaee3)and I had the idea, so I did it. Cake Migrations in CakePHP's answer toRoR Migrations.Take a
in config/core.php try upping the DEBUG define to 2 you can get a dump
of the queries that way
On 5/14/06, tom [EMAIL PROTECTED] wrote:
Is there a way to debug SQL queries anywhere?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
15 matches
Mail list logo