I have this problem too. If you view the page source you'll see the URL to
where the screen casts actually are. I find that if you place that URL directly
into your browser's address bar you can play them. However, some of them have
no sound.
Jeremy Burns
jeremybu...@me.com
On 14 Mar 2010,
I don't have quicktime installed, but extracted the source address
from the page:
http://ia340902.us.archive.org/0/items/SettingUpTheCakephpConsoleOnWindows/windows_console_setup.mov
which I could open and view with VLC with sound.
Enjoy,
John
On Mar 15, 12:16 am, mailman nmail...@shaw.ca
Probably there is an error at database level. Make sure your server
table structure and constraints are the same of your local machine.
On 15 mar, 01:20, SeeVik vikramvmalhotra1...@gmail.com wrote:
Hello all
I am using CakePHP 1.2 and I am trying to implement a simple form data
validation.
I strongly advise not using them!
They doesn't make the template more clean - it makes it much harder to
spot the PHP code.
Allow me to quote from debuggable.com:
The first thing I recommend is using the fully qualified syntax (?php ?)
for php tags instead of the short one (? ?). Why?
Well
Hi!
I have a function where I use a different table from my model:
$this-User-Rolling-table = 'rolling_tmps';
then I make a request:
$modifyModel = $this-User-Rolling-find('first', array('conditions'
= array('Rolling.id' = $id)));
then I try to change the table for the second time:
I keep getting these error messages, they don't show up every time I
view a page, but every 20th pageview or so. My tmp and session
directory are set chmod 777. I've tried switching the session engine
from php to cake's own, but that didn't make a difference. Has anyone
come across this before, or
Don't do that! Do it the way that CakePHP expects you to work with the
database! :)
Create another model for the rolling_tmps table. Load this model in
the controller, when you need it and where you need it, then perform
your processing using both models.
Enjoy,
John
On Mar 15, 2:57 pm,
Thank you!
It works now :)
On 15 mar, 14:40, John Andersen j.andersen...@gmail.com wrote:
Don't do that! Do it the way that CakePHP expects you to work with the
database! :)
Create another model for the rolling_tmps table. Load this model in
the controller, when you need it and where you
How are you working on the server?? Did you push the new code with a
ftp programm? Then you override the permissions of the tmp
directory...
On 15 Mrz., 14:19, jorgt...@gmail.com jorgt...@gmail.com wrote:
I keep getting these error messages, they don't show up every time I
view a page, but
That's right. However, I would like to cache the complete view,
separeted by theme.
It is easy to explain. On my system the stores use different themes.
And I want to cache by thema, since the shops are in the same project.
Thank you very much.
On 13 mar, 07:00, John Andersen
That's right. However, I would like to cache the complete view,
separeted by theme.
It is easy to explain. On my system the stores use different themes.
And I want to cache by thema, since the shops are in the same project.
Thank you very much.
On 13 mar, 07:00, John Andersen
LunarDraco, thanks for feedback, but are you sure you are not overly
dramatic? What is the underlying danger? That users will learn to
follow links to access their accounts and then scammers get them?
I disclaimed in the very beginning, that you probably won't want to
implement a seamless
Hi
I use the tree behaviour mainly for sorting items (with moveup/
movedown). These items have their parents in an other table (foreign
key). The parent_id from the tree will be left null.
Of course this will make some trouble when moving the items around.
How could I tell CakePHP to look for a
I am migrating my cakephp app from USBwebserver to xampplite and i
getting this error:
Error:
It is not safe to rely on the system's timezone settings. You are
*required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you
Just configure the propper timezone in php.ini date.timezone setting:
http://www.php.net/manual/en/datetime.configuration.php
date.timezone = America/Sao_Paulo
On Mon, Mar 15, 2010 at 12:59 PM, Celso cels...@gmail.com wrote:
I am migrating my cakephp app from USBwebserver to xampplite and i
THANKS
On 15 mar, 13:15, Bernardo Vieira bvieira.li...@gmail.com wrote:
Just configure the propper timezone in php.ini date.timezone
setting:http://www.php.net/manual/en/datetime.configuration.php
date.timezone = America/Sao_Paulo
On Mon, Mar 15, 2010 at 12:59 PM, Celso
I use the tree behaviour mainly for sorting items (with moveup/
movedown). These items have their parents in an other table (foreign
key). The parent_id from the tree will be left null.
Of course this will make some trouble when moving the items around.
How could I tell CakePHP to look for a
Think of it like an user/group relation with two tables. Each user
belongs to only one group. Now I would like to move the user user up
and down in an automagic way...
Ahh! ok, in that case, you've gone about it slightly the wrong way.
Your User model isn't a tree, teh groups ahh. You don't
Hi Group :)
This code was working perfectly fine in Cake 1.2x :
?php echo $this-Html-scriptBlock(function showTab(name) {
var f = $$('div#content .tab-content');
for(var i=0; if.length; i++){
Element.hide(f[i]);
}
var f = $$('div.tabs a');
for(var
Yura
The funny thing is that what you're trying to do, OpenID already does:
When visiting a site with OpenID enabled, you just paste your OpenID
link into the login box, hit enter, and you're logged in. :)
Just one link.
All over the internet.
If you want to act as an OpenID host, you can do
If you really need to change current model table use
setSource($newTableName) method of model.
On Mar 15, 6:57 pm, Chrriss polet...@wanadoo.fr wrote:
Hi!
I have a function where I use a different table from my model:
$this-User-Rolling-table = 'rolling_tmps';
then I make a request:
Hi
Thank you for your help. Regarding to the user/group-relation: I would
like to move a user up and down in ONE specified group. There are
users in other groups for example which should not interfer with this
particular reorder-action.
Example:
User, Group, lft, right
UserA, GroupA, 1, 2
Is there anyway to limit an action to only JSON or XML?
I know there is an isXML() method but how do I check for JSON? I am
currently using:
if ($this-RequestHandler-ext == 'json')...
Is there a better way than checking for extension?
Check out the new CakePHP Questions site http://cakeqs.org
Hi,
I am actually migrating my project to CakePHP 1.3. Before, I was using
a custom layout for flash messages. For example.
$this-Session-setFlash('some message', 'custom');
Then, I found out that in 1.3 they moved this to elements, so I need
to move my app/views/layout/custom.ctp to
Hi guys,
I already solved the problem. It is now replaced by $message variable
to display the message on custom element from Session::setFlash
method()
On Mar 16, 1:46 am, tristan_ph tristanpera...@gmail.com wrote:
Hi,
I am actually migrating my project to CakePHP 1.3. Before, I was using
a
I'm upgrading an existing model to include counters for some of the
hasMany relationships. They all start out as zero, even though there
are many hasMany records; each record gets updated once a save/delete
occurs.
Is there any way to tell Cake to go through and update all the
counters, so I can
I am working on a farm management app, and have a quick combo box
automagic question.
Because fields (a grouping of a crop/acres/harvest yields) vary
greatly from year to year, I have decided its best to create a new set
of all fields each year.
The user needs to be able to create events for a
Jacob, I am totally fine being persuaded :) I may be totally wrong and
that's why I started the talk, because I wanted to learn other
opinions. Yet I think there's still not much sites that have OpenID
registration enabled, and on another side users aren't used to it.
That's why I tried it other
hi,
Thank you for your help. Regarding to the user/group-relation: I would
like to move a user up and down in ONE specified group. There are
users in other groups for example which should not interfer with this
particular reorder-action.
Example:
User, Group, lft, right
UserA, GroupA,
Thanks Jacob!
I see it
then i should change all short_open_tags in my many apps and it's
meaning pain :)
cheers
On Mon, 2010-03-15 at 05:05 -0700, jacmoe wrote:
I strongly advise not using them!
They doesn't make the template more clean - it makes it much harder to
spot the PHP code.
if($this-.params['url']['ext'] != 'xml') {
// set error 404 or whatever
}
// continue with controller action
- S
On 15 March 2010 17:44, SonnyBurnette schuch...@gmail.com wrote:
Is there anyway to limit an action to only JSON or XML?
I know there is an isXML() method but how do I
Thats exactly why I seperated these things into two tables. They don't
belong together in a semantical manner. User/group is only an example,
but it shows what I mean.
To make it clear.
Table A - Item 1
+ Table B - Item 1
+ Table B - Item 2
+ Table B - Item 3
Table A- Item 2
+ Table
Your second option sounds correct for me! No need to mess around with
PHP when the database and a little script can handle it! At least I
would use SQL for it :)
Enjoy,
John
On Mar 15, 8:16 pm, Brenda rld0...@gmail.com wrote:
I'm upgrading an existing model to include counters for some of the
Thats exactly why I seperated these things into two tables. They don't
belong together in a semantical manner. User/group is only an example,
but it shows what I mean.
But you simply can't have an MTTP tree spread across tables, as the
branches and their positions are instrinictly linked. It's
I'm passing variables into my main layout in the beforeFilter() method
using $this-set in my main app_controller,
However, if someone visits a broken URL (where you would get a
missing controller|action|view message, the beforeFilter doesn't run
so bits of the layout are functioning correctly.
hello, am new to cakephp.
Would really appreciate if anyone could help me out.
Am just trying to call a model function from controller, and getting
the above error.
My model code is,
class Word extends AppModel
{
var $useTable = false;
function setDate($date1, $date2) {
// some code to get
Change your
$this-set('fields',$this-Event-Fields-findAllBySeason('2010'));
To say
$this-set('fields',$this-Event-Fields-find('list',array('conditions'=ar
ray('season'='2010';
Basically findby is a normal sql query and find('list') is a special query
that returns an array of key value
Hello there Lucca
I double checked the server database. Its the same as local database.
Since I am doing this application for test, there is only one table,
not much room for error.
Any other ideas as to how I can isolate the problem?
Thanks and Regards
ShiVik
On Mar 15, 6:51 pm, Lucca
New York, or somewhere in Florida if it's this fall/winter (Tampa/
Orlando/Miami)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to
If your looking for a shoppingcart plugin for CakePHP that is
distributed under the MIT License, here you go...
http://code.google.com/p/kaching-php
Kaching is tailored for developers that want full control on building
their online store. Kaching provides the store administration and
lots of
Now, my next problem is how to display the flash message in the auth
session in login page.
My login page looks like this:
fieldset
?php
if ($this-Session-check('Message.auth'))
$this-Session-flash('auth');
?
legend?php
Check model filename - it should be lowercased. If your model is not
loaded you'll note absence of validation rules.
On Mar 16, 7:57 am, SeeVik vikramvmalhotra1...@gmail.com wrote:
Hello there Lucca
I double checked the server database. Its the same as local database.
Since I am doing this
I know the only way - create AppError, define there general error()
method and run callbacks explicitly. In case of missing controller|
action|view $this-controller variable there will be of class
CakeErrorController.
If someone know better way - you're welcome.
On Mar 16, 12:00 am, Matthew
43 matches
Mail list logo