Hate to be the one to post it here but it has to be done!
http://logs.cakephp.nu/cakephp/chat.log.2008-04-16
Tarique
P.S. I am not fanning flames here!
--
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz:
Hi Freshow,
how to define a global function for all controllers in ./app/confing/
bootstap.php ,and how to inplement it in controller ?
If it is a function only used by controllers then I would add it to
the AppController (app/app_controller.php) and not to bootstrap.php.
Hope that helps.
If You want declare the global functions for your application then you
have create a file in parallel to bootstrap.php like
commonfunctions.php or if you want to declare the constants for your
application like constants.php
Then you have to include the both the files in the bootstap.php then
grigri:
Thanks, this is what I had originally thought up:
Although perhaps you could act as if it was asymmetric, but
synchronize `friendship` table updates : if you create or delete
{subject_id: 1, object_id: 2} then you must simultaneously create/
delete {subject_id: 2, object_id: 1}. You'd
I have a table foods_categories with columns: food_id and category_id (the
primary keys are food_id and category_id)
Let's say I insert the values (1,2) into this table. Let's say I want to
update the row to (1,3). How would I update this row?
Normally, if I implement the table with the columns
Hi Damo,
The way to solve it is by using elements.
Create viewall.ctp and viewx.ctp in the views folder for your
controller.
In viewall.ctp, add this
?php
echo $this-renderElement('studentsinfo');
?
Add the same thing to viewx.ctp as well.
Finally, create "studentsinfo.ctp" in your
function viewx() {
$this-set('students', ...);
$this-render('viewall');
}
On Apr 16, 6:52 am, damo [EMAIL PROTECTED] wrote:
Can't seem to figure this one out.
I have two controllers that I would like to use the same view for.
Here is how they are:
function viewall()
{
I agree with you that isset seems to be used an awful lot.
The only cure seems to be to alter the error reporting level. :(
Your function looks a lot like what the Set class does already.
(Picking things out of an array.)
Yours might be a bit faster.
Many times I find that I need a custom
Hi,
Why does the output array from a findAll differ when run on windows
and linux?
WINDOWS
-
[0] = Array
(
[View_04_score_split] = Array
(
[id] = 164
[descr] = PER
grigri said:
You can also use {1} {2} as the format string instead of the
sprintf() format, if you like. Personally I prefer the sprintf
format...
Yeah, but if You have something like:
Array
(
[0] = Array
(
[Company] = Array
(
[name] =
Thanks for the heads up. Not that it was very uplifting to read.
On Apr 16, 8:18 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote:
Hate to be the one to post it here but it has to be done!
http://logs.cakephp.nu/cakephp/chat.log.2008-04-16
Tarique
P.S. I am not fanning flames here!
--
I've just tried this on my new project, and it's great! The only
problem I've got is that the prev and next links don't include the
article:3 parameter. Is there something obvious I'm missing?
After finding the previous discussions of this, I think I've fixed it
by changing the following
Hi all,
CakePHP is a new tool for me, I never worked on any framework
before..! To learn about CakePHP I already read
http://manual.cakephp.org pages and copy the code sample from that
manual. I installed cake in /var/www/html directory. In my Apache
server webroot is /var/www/html. Now my
Well, that's a shame.
* PhpNut: nobody wants you to leave!
* _nate_: still having ego problems?
* gwoo: Very nice and diplomatic approach!
If you guys don't compromise in some way, you will not be hurting each
other, you will be hurting Cake and the entire community. I know you
probably know
I've used something like this in the past which I keep in my
bootstrap, however I've started moving away from using this so my code
is more readable. It is very handy though when you need to access lots
of variables that might not exist.
https://trac.cakephp.org/ticket/2774
$val =
Check the settings of mysql and php on both platform, they are
probably different ...
On Apr 16, 11:06 am, trav [EMAIL PROTECTED] wrote:
Hi,
Why does the output array from a findAll differ when run on windows
and linux?
WINDOWS
-
[0] = Array
(
I can't believe I read the entire chat...
Well, I guess it was important to know what is going on, as there is a
lot at stake for thousands of developers and their clients.
I think we are seeing normal (and expected) growing pains. Things
should work out. This kind of thing needs to happen
Thanks for your answer Adam
Looking at swfupload's debug info it seems that after uploading the
file swfupload is redirected to the login action.
I've tried your tutorial on swfupload and sessions from
http://blogs.bigfish.tv/adam/2008/04/01/cakephp-12-sessions-and-swfupload/
but i causes my
That's weird that it crashes your browser. I tried in both Firefox and
IE6 and both worked as expected.
I haven't actually tried using the Auth component with my tutorial so
I don't know if there are any conflicts. Might try this if I get a
chance.
First thing I would try is accessing the
Well, if I understood this correctly, Cake is deployed in your root
folder, so if you go to http://127.0.0.1/users/login that should be
about right..?
Your controller name is wrong, UsersControllers should be
UsersController, I'm assuming that's a typo.
On Apr 16, 10:48 am, KND [EMAIL
Is it something which is planned for next versions? I see this is very
much needed when you make plugins for editor or any other module for
that matter. I'm trying to enable drop-folder plugin functionality.
Check my blog:
Hi,
Thanks for ur reply...
But i try to do that also not working ...
On Apr 16, 3:44 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
Well, if I understood this correctly, Cake is deployed in your root
folder, so if you go tohttp://127.0.0.1/users/loginthat should be
about
Hi
If i try to http://127.0.0.1/users/login
the following error msg will be displayed
Not Found
The requested URL /cake/users was not found on this server.
Apache/2.0.59 (Win32) PHP/5.1.6 Server at localhost Port 80
On Apr 16, 3:44 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
Thanks for the post, Zoe - you may also want to go even one step
further and look at using the html helper for your image tags ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
Thanks for the offer Grant.
R. Rajesh:
I have peeked at swx but have never got around to using it in a real
project. I have had a nice setup with CakeAMFPHP so far but now that
1.2 is pretty stable I started looking for the best companion for
remoting. I may have to give swx another look.
I asked something similar a while back and I believe the preferred way
of including your own functions goes like this.
Put your functions in a file in your vendors folder. Either one will
do.
Include your file in bootstrap.php using App::import('Vendor',
'basics');
That is the most
but how can i paginate the articles and not the categories?
Try linking to /articles/index/categories:category-slug instead of /
categories/view/category-slug
This will go to the index function in your articles controller. Try
printing out $this-params['named'] - notice how it's an array with
Hi,
I recently noticed a weird issue regarding the form helper.
I have a model with 2 habtm associations - one of them being 'Local'.
So here's what I don't understand:
When using
$form-input('Local')
in an add/edit-form cake's rendering a multiple-select-box, which is
not my intention and
Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild
- or copy paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
On Wed, Apr 16, 2008 at 5:08 PM, Max [EMAIL PROTECTED] wrote:
Is it something which is planned for next versions? I see this is very
much needed when you make plugins for editor or any other module for
that matter. I'm trying to enable drop-folder plugin functionality.
QND coding shows that
Read : http://book.cakephp.org/view/85/saving-related-model-data-habt
It describes the proper way to create a habtm form and save the
related data [especially the last sentence!].
Also, I'm not sure I understand about the multiple-select-box. You've
defined an assoiciation where `A` has and
-Added link to the Unofficial Resources Page
Click on http://groups.google.com/group/cake-php/web/cakephp-official-resources
- or copy paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this message because you are
If I want to save the B's which have/belong to A one by one it is a
proper solution not to use a multiple select box.
Finally i got the idea using:
$form-input('Local', array('multiple' = false))
could help and it worked!
The fact that using 'type' = 'select' is producing messed up data
Now, I don't know whether paginate is to blame, I suspect not. Before
I continue, some system stats:
Local Remote
PHP: 5.2.5 5.2.5
MySql: 5.0.51 5.0.45
Apache: 2.2.6 1.3.41
On Apr 16, 3:39 am, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
Well, that's a shame.
* PhpNut: nobody wants you to leave!
exactly. Unfortunately it seems that unless he has absolute control he
does not want to be involved. He is an all or nothing kind of guy and
we have to respect that.
*
On Wed, Apr 16, 2008 at 7:56 PM, Gwoo [EMAIL PROTECTED] wrote:
can understand. The best thing about CakePHP is not any one core
developer, it is the community. We owe everything to the community and
must put ego aside for the interest of the greater good. We have seen
this many times in
The url should be this
http://127.0.0.1/cake/users/login
On Wed, Apr 16, 2008 at 4:54 PM, KND [EMAIL PROTECTED] wrote:
Hi
If i try to http://127.0.0.1/users/login
the following error msg will be displayed
Not Found
The requested URL /cake/users was not found on this server.
Hi people, I have another question. I need to acces a controller action
through a subdomain. I mean, if the user browse to jose.domain.com, it needs
to be the same as www.domail.com/profiles/view/jose (where
controller=profiles, action=view, param1=jose)
Somebody can helpme with route rules?
Hmmm i see so basically it's not possible and it will not be
implemented looking at the trac..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
I need to acces a controller action
through a subdomain. I mean, if the user browse to jose.domain.com, it needs
to be the same as www.domail.com/profiles/view/jose(where
controller=profiles, action=view, param1=jose)
I could be wrong, but I think that's not really possible. For a start,
Hello,
Just start experimenting with CakePHP and have successfully followed
the blog example. My main reason for getting into CakePHP is for
producing RESTful webservices. The purpose for this is to provide
other applications with a means to get, add, update, delete etc.
product innovation
But i think we have to use the vendors for 3rd party integration. for
simple functions we don't need to declare the functions in vendors
folder.
Thanks Regards
Sourabh Sharma
On Apr 16, 5:22 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I asked something similar a while back and I believe
hi all bakers
im buldimg a web application using cakephp 1.19 and i have to use ajax
in this app , so i use this code and i have a problem hope to found
the solution with you PLZ
the error is :- Event.observe is not a function
the code :-
echo $ajax-link('update divs', '/things/view/0',
That looks a lot like something I cooked up.
It can take any number of args and the first one that is not empty
is returned. Usually I only use two args but occasionally I need
another.
function mor()
{
$args = func_get_args();
foreach ( $args as $arg )
{
if ( !empty($arg) )
I have been trying to move in this direction for the last 5
months. However, it became clear to me that things were not changing.
So, I really had no choice but to make it more official. I hope you
can understand.
Thank, Gwoo.
Perhaps when you feel the time is right, you might consider
Hi amro.t17,
A while ago I wrote an article for the Bakery which might be useful. I
used CakePHP 1.2.x, but I think that it won't cause a lot of trouble
to get it working on v1.1.x. You can find the article here:
Hi Cake list !
I'm confused. It is probably due to the long, long long IRC log,
combine to the fact English is not my native language,
combine to the fact I didn't took all the time I should to digg,
but the result is I'm confused.
Could one point out clearly the changes if any ?
What are the
I will be posting something as soon as I receive a response from
PhpNut. I hope everyone realizes that the core team is very solid.
That PhpNut was an integral part, but not the only part. There are
many capable developers in this community who deserve respect. I have
seen this community grow
I like slugs for main args and named args for extra params. Makes it
easy for me to remember and maintain stuff.
For example, on my site you read an article with a slug:
http://dsi.vozibrale.com/articles/view/which-version-of-cakephp-is-good-for-you
but you do the extra highlighting if you
ruh-roh! No, this doesn't bode well at all. Dudes, I hope this gets
sorted out. It'd be a shame for this project to collapse. I think
p14r put it best: [Uh oh. I see another Joomla brewing here. ].
Suggestion: take this off IRC. It's a terrible mode of communication
WRT arguments (though it can
Hey Lecter. I think what you're interpreting as ego is actually my
own frustration. The fact is, Larry (PhpNut) has this annoying
tendency of taking credit for the success of this project far beyond
what he deserves. So if it seems like I have an ego, my only purpose
in it is to set the
On Wed, Apr 16, 2008 at 1:37 PM, b logica [EMAIL PROTECTED] wrote:
ruh-roh! No, this doesn't bode well at all. Dudes, I hope this gets
sorted out. It'd be a shame for this project to collapse. I think
p14r put it best: [Uh oh. I see another Joomla brewing here. ].
Suggestion: take this off
Lecter, I also used to think nate had an ego issue until I met him at
CakeFest and found him (and the rest of the guys) to actually be very
cool and helpful. I think he, phpnut and gwoo are all very passionate
about the project and their place in it so that passion probably comes
across the
Can someone please tell this neophyte who gwoo, PhpNut, and _nate_ are
in this project? This would definitely help me to understand the
significance of this little argument.
On Apr 16, 2:18 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote:
Hate to be the one to post it here but it has to be done!
Hi All.
I have ununderstanding bug with session:
i have 2 methods in one of controllers:
...
// this method generate form
// with hidden field 'code'
//
function makeform() {
$code = {some alphanumeric code generated here}
$this-set( 'code', $code );
$this-Session-write(
I fiddled with 1.2beta a couple months ago, and I remember that it was
very different from the current stable branch of Cake. Does anyone
have an idea as to when 1.2 will be released stable? It's been in beta
for over four months now, and I think that building my new site over
the old stable
Hi all,
I've been trying to get the Twitter component working under Cake 1.2
beta. Whenever I attempt a request that requires authentication, I get
the error:
Notice (1024): XML cannot be read [CORE/cake/libs/xml.php, line 748]
My username and password are set correctly, and when I access the
On Apr 16, 8:48 pm, nate [EMAIL PROTECTED] wrote:
On Apr 16, 6:39 am, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
Well, that's a shame.
* _nate_: still having ego problems?
You're all doing something great here, put your petty ego aside and
act like adults.
Hey Lecter. I think what
On Apr 16, 11:54 am, ros [EMAIL PROTECTED] wrote:
Take a look as alternative to core CakePHP translate behavior - i18n
model
behaviorhttp://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-tr...
It supports translation of related models (recursive is unlimited)
during cotroller
vote for this way.
Femi Taiwo's method is perfect, but for simple use, if you just have
these two actions to be rendered in the same view, easier way will be
better in my mind.
On Apr 16, 2:19 am, grigri [EMAIL PROTECTED] wrote:
function viewx() {
$this-set('students', ...);
On Apr 16, 9:35 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote:
I like slugs for main args and named args for extra params. Makes it
easy for me to remember and maintain stuff.
For example, on my site you read an article with a slug:
It takes passionate people to build excellent products.
-MI
---
CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org
blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias
Gonzalo: I'm not suggesting that anyone *wants* CakePHP to collapse.
This public argument amongst the core devs doesn't bode well for the
health of the project, regardless of what anyone--including
them--wants.
On Wed, Apr 16, 2008 at 12:45 PM, Gonzalo Servat [EMAIL PROTECTED] wrote:
On Wed,
Build your site using the new beta and launch it. You can always
upgrade to 1.2 final when it is released.
I just launched GetBackboard.com using the 1.2 beta and it is
fantastic. Cake is extremely stable.
YMMV,
Jeff
On Apr 16, 9:00 am, 703designs [EMAIL PROTECTED] wrote:
I fiddled with
Can someone please tell this neophyte who gwoo, PhpNut, and _nate_ are
in this project? This would definitely help me to understand the
significance of this little argument.
https://trac.cakephp.org/wiki/Contributors
--~--~-~--~~~---~--~~
You received this
if you just have a single cakephp application and you want the urls
like http://127.0.0.1/users/login, you should set the document root of
your web server as .../app/webroot.
if your application is still in dev stage and you don't care the
leading part of the urls, you have make sure you give the
On Mar 18, 3:30 am, AD7six [EMAIL PROTECTED] wrote:
I don't understand why after setting yourself up withtreebehavior,
and all the none recursive benefits that yields, you still want a
recursive, nested array
Jumping in here,
CakePHP does not return model objects. It returns static
I love how search engines help out so quickly! :D
http://www.littlehart.net/atthekeyboard/2007/03/13/how-easy-are-web-services-in-cakephp-12-really-easy/
http://blog.samdevore.com/archives/2006/11/29/quick-and-dirty-getting-your-cakephp-to-rest/
Gwoo, I'm glad you were a part of the discussion, keeping things
pretty level-headed (as IRC noise goes).
We'd all like to see Cake1.2 reach a stable release (so we can all
start goofing around with 2beta ;-) and it seems obvious now that
there needs to be a shift amongst you core for that to
the way putting the functions in vendors may be not quite
understandable. but it you think of the reusing or redistributing
possibilities of the functions, it may make you more sense. that is
what I understand.
cheers,
steve
On Apr 16, 7:36 am, Sourabh Sharma [EMAIL PROTECTED] wrote:
But i
i think the reason why have this error is because of that
cake supposes the input is from a multiple-select-box, whose value is
an array, but not from a single-select-box (dorp-down-box), whose
value is a single string. so when cake tries to read elements from an
array but the feed is a string,
http://tempdocs.cakephp.org/
http://book.cakephp.org/
http://cakebaker.42dh.com/2007/04/05/whats-new-in-cakephp-12/
hth - S
On 16/04/2008, Ithaka [EMAIL PROTECTED] wrote:
Hey guys,
I was wondering if anyone could help me out with this problem. I am
currently running cakephp 1.2 and i
ros, this looks great! I was just in the past few days struggling to
sort out how to use the core Translate and/or some of the suggestions
made by other, in my own project. Nothing was working very well
(probably because of my own misunderstandings, but anyway ...) I went
to sleep last night
Hi, i've been trying to make some reusable stuff to deal with dates
i've developed a component for my edit action that formats
dd/mm/(screen, user friendly format)
-mm-dd(mysql format)
so i'd like to use this under a view too(with a helper).
i could just copy the code, i know
but i
Ok, i solved my problem.
For possible interested people I used a code to do http request [1]
and get results in format xml. Thanks to Kabturek for link me to it in
IRC.
[1] http://netevil.org/blog/2006/nov/http-post-from-php-without-curl
--~--~-~--~~~---~--~~
...and??? Been looking at those sites, no sure what your trying to
point out. Still trying to fix my problem.
On Apr 16, 1:58 pm, Sam Sherlock [EMAIL PROTECTED] wrote:
http://tempdocs.cakephp.org/http://book.cakephp.org/
http://cakebaker.42dh.com/2007/04/05/whats-new-in-cakephp-12/
hth -
Hello,
I wrote the twitter component and I tested most of the functions and
they worked in my tests.
During development I had problems with authentication because in the
__getAuthHeader function I've used method = 'basic' instead
of method = 'Basic'. After I fixed that authentication worked.
in the controller
$testArray = Array('foo' = 'bar')
$this-set('testArray', $testArray);
in the view
?php print_r($testArray); ?
try that
On 16/04/2008, Ithaka [EMAIL PROTECTED] wrote:
...and??? Been looking at those sites, no sure what your trying to
point
ok well i am confused. Don't worry it's not what you told me, it's
what i did. Because i tried that in my layout before and it didn't
work, so i tried it just now after reading your post, just to see and
it worked. So i mut ahve done something wrong the first time and
thought it didn't work.
Hi,
I am new to cake, but I have run into an annoying issue (I have spend
a few days reading cakephp.org, searching google, reading the IBM turs
etc).
Heres the deal I have two problems:
I am building a site that has some pages with database content that
would require models and controllers;
anyone know why the text of this article isn't showing?
http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake
(declaring an interest: i wrote it ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Someone has been able to configure Poedit to work with the __d(
function?
When Poedit search for entries to translate it returns the first
parameter which is the 'domain' or name of the .po file.
I've tried many ways of configure de gettext parameters without any
luck.
Thanks,
On 3 abr,
Hi Guys,
We've built a site using cake 1.2x and it works fine overall..
The only issue is the homepage takes a really long time to load..
We are using the following helpers, html, javascript, ajax, and form
since all of them are needed there.. but any idea what makes the site
take so much time to
Hey Defranco,
This script looked like something that I needed as well, and I found
some bugs with it and fixed them. It doesn't handle unexpected
parameters and errors too well yet. But you should be able to run all
of the tests, groups and individual cases.
This is your problem:
Warning (2): mysql_fetch_array(): supplied argument is not a valid MySQL
result resource [CORE/app/controllers/pages_controller.php, line 106]
Fix that and the pages should load faster.
Also with debug 0 errors like this will cause pages to load very slow.
--
/**
*
You must set some variable for te output.
Controller:
$this-set('myVariable', $this-User-findAll());
Configure::write('debug',0); //When output Json.
Then in your view app/views/users/data.ctp you can leave empty.
But in your view app/view/users/json/data.ctp you put:
?php
echo
I'm seeing the same thing :
http://bakery.cakephp.org/articles/view/captcha-component-with-phpcaptcha
On Apr 16, 3:16 pm, michaelmcandrew [EMAIL PROTECTED] wrote:
anyone know why the text of this article isn't
showing?http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-wi...
Hey, thanks for the response!
Basically, I've copied your component class, set my login info, and
can pull non authenticated stuff out no problem, but when I just try
to do something like this in my controller:
$test = $this-Twitter-user_show('username');
$this-set('test', $test);
My view
Yes, I wanted to change mine to a variable number of arguments,
however call-time passing by reference is now deprecated, and I rarely
need to use more than 2 arguments.
Cheers,
Adam
On Apr 17, 1:05 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
That looks a lot like something I cooked up.
It
Hello,
As I said today I found a bug in the user_show function.
Did you try any other function that requires authentication.
As for git, you clone a project with the following command
git clone git://gitorious.org/cakephp-twitter-cpomponent/mainline.git
twitter_component
On Apr 16, 11:01 pm,
Eureka! Got Git installed, and whether it's that or the espresso I
just had, I'm getting it to work now.
Cheers!
On Apr 16, 4:42 pm, strangy [EMAIL PROTECTED] wrote:
Hello,
As I said today I found a bug in the user_show function.
Did you try any other function that requires authentication.
[EMAIL PROTECTED]:*
Configure::write('debug',0); //When output Json.
Put this line at json's layout.
[]'s
On Wed, Apr 16, 2008 at 4:41 PM, krusty999 [EMAIL PROTECTED] wrote:
You must set some variable for te output.
Controller:
$this-set('myVariable', $this-User-findAll());
try this
http://www.nabble.com/german-mutated-vowels-with-AJAX-in-iso-8859-1-environment-(cake-1.2)-td15734241.html
On Mar 14, 2:11 pm, ksachdeva [EMAIL PROTECTED] wrote:
I am able to see the data now after many hit and trials. Here is what
is happening
Case 1 (not working):
if I send json
hi,
i started using cakephp, great stuff! but i have a problem with my
zend studio.
zend studio doesnt recognize the functions, i cant CTRL+click on
functions to take me to their definition.
what IDE's do you use?
cu,
markus
--~--~-~--~~~---~--~~
You received
I am having the exact same problem. I hope someone can help us.
- Grainne
On Apr 7, 9:19 pm, Juan Luis Baptiste [EMAIL PROTECTED]
wrote:
Hi,
I'm trying to make a view element and reuse it in various views. The
element uses the pagination helper, the problem is that the element
can't see
I'm using Eclipse PDT (http://www.eclipse.org/pdt).
Of course that Eclipse PDT doesn't recognize the methods of my models using
in controller.
But, parent's methods are recognize.
On Wed, Apr 16, 2008 at 7:41 PM, [EMAIL PROTECTED] wrote:
hi,
i started using cakephp, great stuff! but i have a
Yeah man!
The same error here.
It's ocurrs when I try to sort fields of another model.
Like:
$paginator-sort('Field Description', 'field', array('model' = 'MyModel'))
=/
On Wed, Apr 16, 2008 at 8:02 PM, Grainne [EMAIL PROTECTED] wrote:
I am having the exact same problem. I hope someone
Do a search on the group to get more info, this topic has come up many
times.
--~--~-~--~~~---~--~~
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
Hello,
I'm probably just being dumb, but I can't seem to figure out
getLastInsertId when called from a Models afterSave method. Here's
what I thought should work:
$project_task_id = $this-getLastInsertId();
If i hard code in a value for $project_task_id then everything else
works and when I
Hi,
I'm getting Class 'AppHelper' not found in D:\webApps\cakePHP
\cake_1.2.x.x_16.04.2008\cake\libs\view\helpers\xml.php on line 37
I've applied fixes suggested via bakery here; removing space from
user_show and changing Basic to basic in __getAuthHeader.
Sorry, I don't have git. I'm using
1 - 100 of 109 matches
Mail list logo