If it only occurs on IE it might be a prolem with the user session.
Try setting Session.checkAgent to false in core.php and see if that
helps.
I had problems with sessions getting dropped in IE, with this setting
on.
On May 31, 9:33 pm, luftlinie thomasfuch...@googlemail.com wrote:
hi everyone,
On Fri, Jun 1, 2012 at 3:13 AM, Kid Noire thiskidno...@gmail.com wrote:
I've just installed CakePHP and trying to get myself through
Andrewperk's blog tutorial but I get this error after the second
video...
Missing Controller
Error: PostsController could not be found.
Error: Create the
Hi,
I'm planning to add a group by to an index action (like by date('F Y') )
The query could be a first one to find out the groups then loop the
results to create subqueries for the single group.
Then I would move the main table in index view to an element and then
loop the groups = records
Hi!
I just have the problem, that I do extract from a xml feed and display it
in a view.
It works fine on server1 but not on server2.
I get this error message:
2012-06-01 11:02:08 Warning: Warning (2):
SimpleXMLElement::__construct(http://www.domain.com/?feed=rss2) [a
Hey
I'm using ckeditor as wysiwyg editor. In the first line of my view for
'edit' I wrote
echo $javascript-link('ckeditor/ckeditor', false);
Everything is running fine but the edit function is running twice and
that is giving me some problems.
Is this normal or am I doing something wrong?
On Friday, 1 June 2012 04:13:09 UTC+2, Kid Noire wrote:
I've just installed CakePHP and trying to get myself through
Andrewperk's blog tutorial but I get this error after the second
video...
Missing Controller
Error: PostsController could not be found.
Error: Create the class
I have changed it, but still does not work..
I still get this error:
*Notice* (8)
http://superabelha/code/comparacao/NjMxNQ==/Lata-DVD-O-Fantastico-Jaspion-Vol-1-5-DVDs:
Undefined index: popularity [*CORE\Cake\Model\Model.php*, line *2734*]
*Notice* (8)
I have changed it, but still does not work..
I still get this error:
*Notice* (8)
http://superabelha/code/comparacao/NjMxNQ==/Lata-DVD-O-Fantastico-Jaspion-Vol-1-5-DVDs:
Undefined index: popularity [*CORE\Cake\Model\Model.php*, line *2734*]
*Notice* (8)
I'm planning to use the database session mode in cake 1.3 for load
balance through servers. However, in one of my servers, the session
expires immediately while i write a session value, and the records in
the database is odd and very very long.(The records from other servers
are short). It's
Hello
Please share your code here.
Thanks
On Friday, 1 June 2012 07:43:09 UTC+5:30, Kid Noire wrote:
I've just installed CakePHP and trying to get myself through
Andrewperk's blog tutorial but I get this error after the second
video...
Missing Controller
Error: PostsController
is that controller in app/controllers?
and try to add
var $name = Posts;
in the class
On Fri, Jun 1, 2012 at 1:16 PM, ying yang yingyang99...@gmail.com wrote:
?php
class PostsController extends AppController {
}
?
On Fri, Jun 1, 2012 at 10:13 AM, Kid Noire thiskidno...@gmail.com wrote:
Sorry if this has been asked already but I have a controller that is
uppercase camelcase and when I create a form, the controller part of the
action for the form is not camelcase. Instead cake separates the camelcase
controller with an underscore and all lowercase. For example: my controller
I'm in the process of update a few cake applications and have come to
a problem I have not been able to fix. In the older version of cakePHP
we have been able to change the default tags of links by adding 'link'
= 'a href=%s %s onClick=loadingScreen()%s/a' to a file in the
config folder called
by convention Action needs to be Underscored for default(as its easier to
call such URL in browser. However u can change it through Routing settings
if u like that way. Which version of Cake ur using?
On Friday, June 1, 2012 7:30:02 PM UTC+5:30, TonyCharlotteCakePHP wrote:
Sorry if this has
Read the Naming Convention Chapter for Cake 2.x which is diff from 1.3.
Andrew Perkins Tutorial is for 1.3 However he had added a Video for changes
is Cake 2.x.
Follow that. IN ur Problem , just rename ur Posts_Controller file to
PostsController(remove Underscore). It will Work.
If ur using
Hi,
I've been reading a couple of articles about implementing factory patterns
in CakePHP but I can't find a hint to solve my actual problem. There is one
that tries to mimic these kind of patterns using
Ok, I've got a system where users can create their own blogs. The blogs
belong to the users, the blogposts belong to the blogs. I was trying to
create a comparison for editing blogposts that compares the users user ID
from their session to the Blog ID (which is the same as their User ID).
$this-Blogpost-find(null, array(...));
Find type must be a string. Use $this-Blogpost-find('first', array(...))
or $this-Blogpost-read(array('Blogpost.blog_id'), $id);
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions
By the way, read whole chapter about model associations
http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html
and follow cake conventions for primary/foreign keys - that means NOT
User.id == Blog.id BUT User.id == Blog.user_id.
--
Our newest site for the community:
In controller:
public $helpers = array(
'Html' = array('configFile' = 'tags')
);
Constructor of HtmlHelper will call $this-loadConfig('tags'):
http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#changing-the-tags-output-by-htmlhelper
--
Our newest site for the community:
I know I didn't post all or even much code so you probably misunderstood
me. With my blog table I do have an `id` and a `user_id` column it's just
that instead of using auto_increment for the `id` column I set it the same
as the users `id` with
$this-request-data['Blog']['id'] =
Dear all,
I am having a problem with radio boxes in CakePhP - specifically $this-
request-data is not holding the values that the user inputs when the
page is reloaded; e.g. when the form has invalid inputs. This is a
considerable problem because its a very large form. Code is here:
I already sent two days tried to solve this problem but havent found
out the solution. Basically the problem is, when I followed the Blog
tutorial on CakePHP cookbook, my add() action didn't actually insert
title and body from the add.ctp view to the posts database.
Other fields like created and
23 matches
Mail list logo