I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
---
Diwakar Upadhyay wants to stay in
I could be wrong, but I don't think you can pass an array through a redirect
url like that; try serialising it first and then unserialise it at the other
end, or write it in the session and read it back at the other end.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 17 Nov 2011, at 0
i'm getting the following errors:
Notice 8: Undefined variable: student_info [APP\controllers
\motor_developments_controller.php, line 7]
i'm getting the same notice in \motor_developments\search.ctp as
well.
The student_info data in $this->redirect is not getting passed from
merry_parents_contr
Not sure what the issue is, but in general I'd recommend that you set recursive
to -1 in your app_model and then use the Containable behaviour; it gives you
total control and my well solve your issue (as well as bring other
improvements).
Jeremy Burns
Class Outfit
http://www.classoutfit.com
O
Cake 2.0 doesn't show error pages, if I remember correctly, it throws
exceptions now.
Someone correct me if I am wrong :P
On Nov 16, 6:02 pm, Davor Ilic wrote:
> thats wrong the debuger shows wrong message to me:
>
> *Fatal error*: Call to a member function flash() on a non-object in *
> /srv/ww
To check: php short tags are off
On 17 November 2011 10:18, Graham Weldon wrote:
> Hi,
>
> Can you confirm the plugin directory name you have? It should be "TinyMCE"
> in the "Plugin" directory.
>
> Cheers,
> Graham Weldon
> http://grahamweldon.com
> e. gra...@grahamweldon.com
> p. (+61) 0407 0
Hi,
Can you confirm the plugin directory name you have? It should be "TinyMCE" in
the "Plugin" directory.
Cheers,
Graham Weldon
http://grahamweldon.com
e. gra...@grahamweldon.com
p. (+61) 0407 017 293
Skype: grahamweldon
On Thursday, 17 November 2011 at 1:16 AM, vaughany wrote:
> Hi Graham,
thats wrong the debuger shows wrong message to me:
*Fatal error*: Call to a member function flash() on a non-object in *
/srv/www/htdocs/web843/html/schaetzmal/lib/Cake/View/Layouts/default.ctp* on
line *44*
*
*
it should show me that i don´t have any controller or view but it shows me
this one.
sry my fail i didn´t see from customer the name right so bullshit this
errors xD i´n happy now sry guys
2011/11/17 Davor Ilic
> Have anybody the same problems
>
> in my themed folder /app/View/Themed/Elements i have this line:
>
> http://bin.cakephp.org/view/208230907
>
--
Our newest site for
Have anybody the same problems
in my themed folder /app/View/Themed/Elements i have this line:
http://bin.cakephp.org/view/208230907
--
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 oth
Due to a client's desire to have URLs that defy Cake logic, i have
decided to use the pages controller to organize my app.
most the site's functionality occurs from one page through ajax so i
thought i'd use pages as the home base and access other controllers
and models.
so i decided to import the
So it seems I got a stupid question. Sorry folks sometimes I just cant see
the sutff Im looking for.
Just read the new Auth doc carefully. I realized that theres authenticate
and authorize configs but I did not realize why it is ok to authenticate
when a user submitts a blank login form or what
Dear Bakers
I'm the Head of Engineering at Pollenizer in Sydney, Australia and I'm
looking for three people just like you. Check out the details for the
role and apply online on the Pollenizer website here:
http://www.pollenizer.com/about/jobs/php-developer/
Cheers,
Robert
--
Our newest site f
in 2.0 cakphp this changes are forgot to say that which version i use
2011/11/16 Davor Ilic
> Ok i worked now some tests out because in ckaphp they had some changes in
> "upper-case letters" and i have when you see it in my AppController.php
> defined $this->theme ='sm' also my folder is named i
Ok i worked now some tests out because in ckaphp they had some changes in
"upper-case letters" and i have when you see it in my AppController.php
defined $this->theme ='sm' also my folder is named in "lower case" what
cakephp don´t understand if i name it in upper-case letters it understand
it:
$t
ok but it won´t work for some reasons i do that like it is in the book but
it´s not working. it´s also the same for cakephp 2.0
http://book.cakephp.org/2.0/en/views/themes.html don´t know what i do wrong
i do not see my issue...
2011/11/16 Davor Ilic
> sry i forgot i do that in my appcontrolle
sry i forgot i do that in my appcontroller like this
http://bin.cakephp.org/view/1796659651
2011/11/16 Mike Karthauser
>
> On 16 Nov 2011, at 20:34, Davor Ilic wrote:
>
> i use $this->Html->css('style.css') in my Themed folder. The structure
> look like this:
>
> app/View/Themed/sm
>/Layouts
On 16 Nov 2011, at 20:34, Davor Ilic wrote:
> i use $this->Html->css('style.css') in my Themed folder. The structure look
> like this:
>
> app/View/Themed/sm
>/Layouts
>/Elements
>/webroot
>
> in elements i´ve split up into header.ctp, body.ctp,footer.ctp , etc.
>
> In the header.
Hi ,
i use $this->Html->css('style.css') in my Themed folder. The structure look
like this:
app/View/Themed/sm
/Layouts
/Elements
/webroot
in elements i´ve split up into header.ctp, body.ctp,footer.ctp , etc.
In the header.ctp i use the $this->Html->css('style.css') to call my
styleshe
Hi everybody. I have the next question:
It is possible to create a join association table in
theModel::find('all',$options ) and this Join perform after the
belogsTo Assoc of the model.
Actually if you do some like:
$options['joins'] = array(
array('table' => 'channels',
'alias' => 'Ch
I've found the solution, there is a missing dependancy :
To solve the problem :
sudo pear install --force phpunit/PHPUnit_MockObject
On 14 nov, 20:56, dype wrote:
> Many thanks for this new release !
> But I've still have the with screen with phpunit 3.6 (pear
> installation).
> It works fine wi
Ok, I was doing some more debugging and this is what I've uncovered, the
problem seems to be in the view.
http://bin.cakephp.org/view/1582319117 < my code
I commented out lines 14 to 22 and the page loads. I click on the links
and the desired results are displayed.
Wat? Is there a reason
Yeah - I thought I remembered reading that somewhere but couldn't find
the page again to confirm. Bookmarked. Thanks.
On Nov 16, 12:27 pm, Will <000w.s.s@gmail.com> wrote:
> I think Jeremy is incorrect. If you're doing a HABTM, both table
> names should be plural, so in your example it would
On Wednesday, 16 November 2011 19:29:54 UTC+1, huoxito wrote:
>
> Hi
>
> Thats why I asked the question. Because I read the warning on the doc.
Did you, you know, read the rest of it?
AD
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new C
Hi
Thats why I asked the question. Because I read the warning on the doc.
"Warning -> In 2.0 $this->Auth->login($this->request->data) will log the
user in with whatever data is posted"
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakeP
Hi all,
I am using a form with multiple checkboxes to save a HABTM association
between two models. Upon updating my core CakePHP code, the save
stopped working properly. It appeared to wipe out the linking table
when I saved. Is anyone else having this problem?
--
Our newest site for the comm
I stand corrected - you are right. Shamed face.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 16 Nov 2011, at 17:27, Will wrote:
> I think Jeremy is incorrect. If you're doing a HABTM, both table
> names should be plural, so in your example it would be
> s__s (see
> http:
if you have it installed in Plugin/Migrations
./Console/cake Migrations.migration
if a plugin migration is not showing check that the casing of the plugins
directories is camelcased
- S
On 16 November 2011 15:16, elitalon wrote:
> Hi,
>
> Can anybody provide some guidance through installa
I think Jeremy is incorrect. If you're doing a HABTM, both table
names should be plural, so in your example it would be
s__s (see
http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html?highlight=habtm#model-and-database-conventions)
On Nov 16, 5:32 am, Jeremy Burns |
Hi,
Can anybody provide some guidance through installation of Migrations
plugin in CakePHP 2.0? I have downloaded it in plugins directory
following the instructions for 1.3 but no success at all.
Thank you!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Ch
Hi,
I have configured and enabled APC in my computer, but the welcome page
of a fresh CakePHP installation still shows this message:
"The FileEngine is being used for caching. To change the config edit
APP/Config/core.php"
I have put a phpinfo() call inside core.php and it confirms that APC
is a
I found the error. I am using the Media plugin. Commenting out this line in
$actsAs:
'Media.Coupler' => array(
'baseDirectory' => MEDIA_TRANSFER
),
...restores full functionality. Can't explain why just now.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 16 Nov 2011, at 12:4
On Wednesday, 16 November 2011 15:55:22 UTC+1, RhythmicDevil wrote:
>
> thanks for the tips man, I appreciate it.
>
> I will never have to do cascades or anything like that. I am simply
> creating a JSON string to be sent to our API.
I know - I mean pass the right arguments so you go directly
I might be missing something, but what is the function _validationRules? Where
is it being called from?
A normal model set up uses var $validate = array(); and that just works. Are
you sure your validation is triggering? Are you sure that your user is really
passing validation rules or is just
Hi,
I have a working contact form on my project and I am about just to use
another form within another controller.
So I copied all from my contact model into my newsletter model:
validate = array(
'news_company' => array(
'rule' => 'notEmpty',
'message'
thanks for the tips man, I appreciate it.
I will never have to do cascades or anything like that. I am simply
creating a JSON string to be sent to our API. The API will take care
all the Database stuff. In reality the model and datasource are pass
throughs that do some formatting for the API.
O
On Wednesday, 16 November 2011 15:24:14 UTC+1, RhythmicDevil wrote:
>
> I am writing a custom datasource. I was implementing the delete action
> in the datasource and ran into a problem. I expected that when I call
> Model::delete($id, false); it would execute the Datasource::delete()
> method
I am using this doc as a reference:
http://book.cakephp.org/2.0/en/models/datasources.html
It says that I must do the following which I did so I am confused by
the results.
Methods that must be implemented
describe($model)
listSources()
At least one of:
create($model, $fields = array(), $va
For reference here is my Datasource file.
Http = $Http;
}
public function describe($model)
{
return $this->description;
}
public function listSources()
{
}
/**
*
* @param AppModel $model
* @param array $queryData
*/
public functio
I am writing a custom datasource. I was implementing the delete action
in the datasource and ran into a problem. I expected that when I call
Model::delete($id, false); it would execute the Datasource::delete()
method. But that does not happen. First a method called calculate() is
executed and then
Hi Graham, thanks for the reply. Glad the report was of some use, thought I
was rambling slightly by the end! Am learning Cake at the moment, and
coming across errors I am not sure if it's my programming (likely!) or a
bug (possible, less likely).
I've got a completely fresh setup again, same d
I also experienced quite an amount of unexpected logouts in 2.0 now.
To make sure it is not the garbage collector of the file system I
switched to "database".
There no garbage collector should interfere as long as expires is not
reached (which is several days).
But the systems logs the user out aft
I'm experiencing something that is new to me and unexpected.
I have a function (User->register) in my User model. I am calling it
from a controller as $this->User->register($user). $user has a 'User'
key in it, plus some others.
When I call $this->create($user); and then inpect $this->data I see
You don't need a model, so that's easy. The convention is table_a_table_bs
(where table_a and table_b are used alphabetically and the last table is
pluralised). So in your example it's be __s
Jeremy Burns
Class Outfit
Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_
I've recently migrated an application from 1.3 to 2.0, and i'm
encountering a problem with user authentification.
The app uses a basic auth + acl setup, that worked fine in 1.3.
First problem i encountered when deploying the app on my production
server (CentOS6, php 5.3.6. mysql 5.1.12) was that
I have a have two tables that need a join table but one of the tables
that I'm trying to join has an underscore. What I'm wondering is what
the models' file name, models' join database table name, and models'
class name should be.
For example:
Table one =
table two = _
join table = ?
Wow, that was a most excellent bug report and description of the error.
Good work dude!
Thanks for pointing this out. The issue was with name convention mismatching in
the plugin and documentation.
I've fixed the problem, and you can now checkout the latest 2.0 branch from
github.
Please re-ch
Hey there,
I'm a beginner with only a little php and not much JS. I'm trying to
use this image upload script (http://atwebresults.com/
php_ajax_image_upload/) in the context of a cakephp app and struggling
(I believe) because I can't figure out how to call things properly.
The script uses an onch
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
49 matches
Mail list logo