Hi,
I have installed a new version or XAMPP and Cakephp.
I get the cake page with and database found
Http://localhost/cake/
I build the controllers players_controller.php and teams_controller.php.
I build the models player.php and team.php
I run Http://localhost/cake/teams/add and I get and error
Hi,
I have a strange issue where I have installed cakePHP and it looks
like it works fine.
If I browse to http://AlexJeffery.org/ I see what I would expect.
How ever googlesite maps says it gets a 404 on http://AlexJeffery.org/
I have tried several spiders to generate a sitemap and they all get
Overwrite the 'router.php' file found in /cake/libs with a copy of it
in your /app/ folder and then change the following:
/**
* Separator used to join/split/detect named arguments
*
* @var string
* @access private
*/
var $__argSeparator = ':';
Just replace it with whatever separator
$html->tagValue()
is what caused the crash for me. Yes, it is deprecated in 1.2, but I
would have thought a warning/error message would have popped up like
most other things that are deprecated - rather than just crashing
apache.
Yes it was my code at fault (as suspected)...but a good note for
a
more specifically than $html->tagValue()
it's where/how that is used.
link($html->image("admin/page_delete.gif") . '
Delete','/settings/delete/' . $html->tagValue('Setting/id'),
array("style"=>"text-decoration: none;"), 'Are you sure you want to
delete: id ', false);?>
On Sep 29, 7:10 pm, "Tom.M
Is it ok that we call moma rodriques on that number???
On 29/09/2007, Conrad <[EMAIL PROTECTED]> wrote:
>
> I was trying to read a field named 'check_num'. I changed the field
> name to 'draft' (and throughout the logic) and it all works now. Go
> Figure!
> Conrad
>
> On Sep 29, 1:43 pm, Con
Hi happy bakers,
is there an easy way to display the line 'x queries took y ms' in my
app (cake 1.1.x) without warnings and the queries-table? (Just like
DEBUG set to 2)
I didn't dig into the code yet, (and don't like core-mods anyway) but
it would be cool to have that for debugging purpose.
Any
It seems that any normal edit action in any controller is crashing my
apache server.
Found out when upgrading from 1.1 to 1.2. At first I thought maybe
some error popped up in a bad way from the html->input's being changed
to form->input's and other deprecated code ... logical. It was the
only th
I think that I worked out better solution for this.
The model relation:
var $hasAndBelongsToMany = array(
'Friend' =>
array('className' => 'User',
'joinTable' => 'users_users',
I was trying to read a field named 'check_num'. I changed the field
name to 'draft' (and throughout the logic) and it all works now. Go
Figure!
Conrad
On Sep 29, 1:43 pm, Conrad <[EMAIL PROTECTED]> wrote:
> AD,
> Using EITHER Cake or normal PHP, the value in the 'check_num' field,
> although v
AD,
Using EITHER Cake or normal PHP, the value in the 'check_num' field,
although valid in the table, is not being read.
The field is filled IN THE TABLE, but not in the associative array
(either $this->data, or $row = mysql_fetch_assoc() )
This does not appear to be a "cake" problem, as normal
edit default layout page (/app/views/layouts/default.ctp)
On Sep 29, 6:45 pm, firdzak <[EMAIL PROTECTED]> wrote:
> Hi
> I'm very new in php or cake
>
> I have try examples of cake in manual
> and its look cool
> but at the top of the page, it has a header "CakePHP Rapid
> Development" and at th b
More stuff to learn then, at least it is encouraging to know moving
from msaccess is a good idea
Thanks for the help
phil
On 29 Sep, 07:21, AD7six <[EMAIL PROTECTED]> wrote:
> On Sep 28, 10:09 pm, Phil <[EMAIL PROTECTED]> wrote:
>
> > Newbie, slow response, wrong tools ?
>
> > I use ms access to
Will do,
thanks for the suggestion
On 29 Sep, 04:37, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi Phil,
>
> The problem isn't the amount of records, it's that you're trying to
> display too many results on a single page at the same time. For this,
> there is pagination.
>
> Read this on h
tq for ur help. its cool
On Sep 30, 1:01 am, cakeFreak <[EMAIL PROTECTED]> wrote:
> In your website installation go to:
>
> cake\libs\view\templates\layouts
>
> copy the file dafault.ctp (cake 1.2 - or default.thtml cake 1.1) in
> your
>
> app\views\layouts
>
> Open it and edit it according to yo
In your website installation go to:
cake\libs\view\templates\layouts
copy the file dafault.ctp (cake 1.2 - or default.thtml cake 1.1) in
your
app\views\layouts
Open it and edit it according to your need.
Dan
--~--~-~--~~~---~--~~
You received this message bec
Hi
I'm very new in php or cake
I have try examples of cake in manual
and its look cool
but at the top of the page, it has a header "CakePHP Rapid
Development" and at th bottom of the page it has an icon link to
cakephp
how do i remove this?
--~--~-~--~~~---~--~~
Thanks FallernJehova.
I have already gone through the article, and this is what is has to
say about blank:
"blank validates that a field is blank or contains only whitespace
characters like tabs or spaces. It doesn't look very useful to me."
I know what it does, but what I wanted to know was an
Hi,
I think this article will help you:
http://cakebaker.42dh.com/2007/01/03/validation-with-cakephp-12/
Good luck!
On 29 sep, 10:49, Ahsan <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I was going through all the built-in rules for data validation in 1.2.
> I was just wondering whats the use of t
Hi out there,
i get a problem problem in cake.php... i dont get the name of the
fields in my database.
It the same in associations..
What goes wrong?
Regards,
Jacob
www.avr-projects.info
snippet:
Would you like to supply validation criteria for the fields in your
model? (y/n)
[y] >
Name:
Type:
Hi everyone!
First of all I'm new to Cake (which you'll probably see) - my question
is this:
$this->set('invoices', $this->Invoice->findAll());
does exactly what I want it to do, except that I also want to
incorporate a custom field into the query. That field would be
CONCAT(year,month,day,`in
Hi i have an error in the cake produced SQL when defining belongsTo
association with conditions.
Here the technical details:
I have a table "Comments"
CREATE TABLE `comments` (
`id` int(64) NOT NULL auto_increment,
`parentobject_id` int(64) NOT NULL default '0',
`parentobject_lookup` varcha
Also, If I want to check if I delete a file, I check if the delete
link exists but dont really check the actuall deleting, is there a way
to check this?
thanks
On Sep 29, 8:23 am, Changoso <[EMAIL PROTECTED]> wrote:
> Hello, I did a system using cake that handles logins and mainly the
> basic th
Hi guys,
I was going through all the built-in rules for data validation in 1.2.
I was just wondering whats the use of the blank rule? Since it is
there, I am sure it has a use, but I am not being able to figure it
out.
Any ideas?
Thanks.
--
Regards
Ahsanul Bari
--~--~-~--~~--
Hello, I did a system using cake that handles logins and mainly the
basic things that you get by baking (add, delete, view, edit)
I have to do som tests using simpletest php (http://simpletest.org/)
To check if a member is logged i thought that by doing an if function
such as:
$
Cheers Geoff!
With all answers you gave me I own you a couple of beers ;0)
By the way you therefore do
-ROOT
---Admins
-Editors
Users
And then you deny all actions (or just all, but read) to ROOT?
Dan
--~--~-~--~~~---~--~~
You received this messag
Why in your users/something function you don't write
function something($id = null) {
if (!$id) {
$this->Session->setFlash("record not existent");
$this->redirect(array('action'=>'index'), null, true);
exit;
On 29 Wrz, 12:23, AD7six <[EMAIL PROTECTED]> wrote:
> ... which is by design, otherwise how could you (easily) delete an
> association. There are a few posts/threads/bakery articles/etc. around
> with "working with habtm" in the title, after a quick google I am sure
> you will find the info you
It'known that with router:
--
start---
Router::connectNamed(array('id'));
Router::connect('/something/*', array('controller' => 'users',
'action' => 'view'));
---
end
Hi,everyone! I've been involed in this problem days...
in my routes.php I defined :
Router::connect('/google/:id/*', array('controller' => 'users',
'action' => 'view'));
when browse /google/123[any number]
it display the page of 'controller' => 'users', 'action' => 'index'
---
On Sep 29, 9:12 am, Conrad <[EMAIL PROTECTED]> wrote:
> I tried using the straight php code:
> $resultID = mysql_query("SELECT * FROM dailypays");
>for ($x= 0; $x < mysql_num_rows($resultID); $x++)
>{
> $row = mysql_fetch_assoc($resultID
On Sep 29, 10:13 am, red <[EMAIL PROTECTED]> wrote:
> It's a bit closer, but now I get in debug:
>
> SELECT COUNT(id) AS count FROM `users` WHERE `id` = 5
> SELECT COUNT(id) AS count FROM `users` WHERE `id` = 5
> UPDATE `users` SET `id` = 5 WHERE `id` IN (5)
> DELETE FROM `users_users` WHERE use
On Sep 29, 8:29 am, Conrad <[EMAIL PROTECTED]> wrote:
> In other words, if you don't pass a 'id', or pass 'id' = null, it will
> do an insert, otherwise if there is a non-null value for id it will
> update. ???
That isn't what I said. If it isn't clear try it.
One thing to note depending on yo
Hi,
I have done it actually. i also use cake php to power it.
My domain is www.indiandrs.in
i'll tell you what i have done.
I spoke with my web hoster and told him to add a wildcard entry for my
domain *.indiandrs.in
after that, in before filter of u r application, u should extract the
s
It's a bit closer, but now I get in debug:
SELECT COUNT(id) AS count FROM `users` WHERE `id` = 5
SELECT COUNT(id) AS count FROM `users` WHERE `id` = 5
UPDATE `users` SET `id` = 5 WHERE `id` IN (5)
DELETE FROM `users_users` WHERE user_id = '5'
INSERT INTO `users_users` (user_id,friend_id) VALUES (
I tried using the straight php code:
$resultID = mysql_query("SELECT * FROM dailypays");
for ($x= 0; $x < mysql_num_rows($resultID); $x++)
{
$row = mysql_fetch_assoc($resultID);
...
$this->set('row',$
Deleted tmp (cache/models - only files there) and swiched debug to 2.
No difference noted.
Conrad
On Sep 29, 12:10 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Sep 29, 6:57 am, Conrad <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have a table that is filled by program. This table contains field
> > named
37 matches
Mail list logo