On Jan 23, 2008 1:48 PM, bob [EMAIL PROTECTED] wrote:
what OS are you guys using?
mac os x (10.3, 10.4, 10.5) for various installs
installs on shared servers running linux (who knows what flavors)
a solaris box
my iphone (no just kidding)
--~--~-~--~~~---~--~~
Nevermind, I added
use('string');
to the cake/libs/set.php file
On Jan 23, 3:36 pm, cmbg [EMAIL PROTECTED] wrote:
I get this problem as well. Was this reported? Did you get a
workaround?
On Jan 4, 5:32 am, polutan [EMAIL PROTECTED] wrote:
I got this error when i run this command :
Hi
1. I believe that I am not the first one having this problem and I
would rather avoid reinventing the wheel. Are you aware of some pure
PHP DB which can be used with Cake?
Not exactly pure php but try sqlite - its a db in a file, thre is a
posibility that your webserver has support
I recently upgraded to v1.2 and have been playing around to get Smarty
working (which is how I was using Cake 1.1). It's going fine except
when I call a variable that doesn't exist... Smarty throws the
'Undefined index' error that should be no problem (and in most cases
not be seen), but Cake's
I was having a similar problem with the cake debugger running out of
memory on an error (in this case it was an undefined variable in the
view). I just commented out the offending lines of code in /cake/libs/
debugger.php. The problem was a call to the get_class() function and
it looks like it's
here is my previous post:
http://groups.google.com/group/cake-php/browse_thread/thread/48c6a57a5427a546/4169d2729f0d71b4#4169d2729f0d71b4
On Jan 23, 2:40 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I was having a similar problem with the cake debugger running out of
memory on an error (in
actually, after re-reading my post I think you're seeing problems with
the same function that I am (the __object($var) function, not the
get_class() function as I stated above) try commenting out the same
lines of code from my earlier post:
//causes some sort of overflow
Sorry, there is no helper called password (in cake at least).
Protecting pages can be handled by the AuthComponent in a simple
setup.
Check out one of these nice tutorials on how to get the new Auth in
1.2 going:
It is a component and thus only available to cotrollers.
What I do is I set the authentication data I need in my views from the
beforeFilter of AppController.
if ( isset($this-Auth) )
{
// do all the normal auth setups first. Then...
$this-set('auth', $this-Auth-user() );
}
Then I can
Make sure all the folders and sub folders and files in TMP folder are
writable and delete everything
This happened to me when I transferred hosts. I did that and was up and
running in 3 minutes (I didn't shell so I couldn't set the 777 recursively
;) ).
Good luck.
--
Kevin Lloyd
3HN Designs
thanks for the links, i'll check those out.
maybe i had my terminology wrong ... on this page
http://manual.cakephp.org/chapter/helpers
if you scroll down and look for password;
password
* string $fieldName
* array $htmlAttributes
* boolean $return = false
i'm very likely
On Jan 23, 2008 5:12 PM, justradar [EMAIL PROTECTED] wrote:
thanks for the links, i'll check those out.
maybe i had my terminology wrong ... on this page
http://manual.cakephp.org/chapter/helpers
if you scroll down and look for password;
password
* string $fieldName
* array
you can set the class of the div :
$form-input('Creditcard.', array('div' = array('class' =
'required')));
hth
On Jan 23, 7:28 pm, Greg Baker [EMAIL PROTECTED] wrote:
I have two models: Application CreditCard...
The application requires a user to input their credit card
information, so
There is a problem in one of your related model relations or relations
of the related models. Check about 'fields' options and maybe
className etc ...
A way to search would be to remove the relation on this model one
after the other, until error disappear ..That will give you which
model to
Cake 1.2 beta WindowsXP FirebirdSQL Code baked
I notice on deleting a record I get a SQL error
e.g.
DELETE CURRENCY FROM CURRENCIES CURRENCY WHERE
CURRENCY.ID ...
Is this SQL correct -- why does the second word exist? (CURRENCY),
shouldn't it just be Delete From CURRENCIES
I notice that
Hey,
I'm moderately new with CakePHP, but I have this issue where my
redirect leaves the old URL in the browser.
[code]
//messages_controller.php
function post() {
// ... Some Stuff
// Redirect back to McGriff messages
$this-redirect(/);
}
[/code]
Yet the browser still shows:
Great, thanks for the tip. This is almost certainly a bug since the
debugger should never get stuck in an infinite loop. If I take the
__object() call out of the 'object' case, everything works fine (even
with get_class() intact). I just wonder what the intended behavior is,
the documentation
this is not correct SQL, it should be:
DELETE CURRENCY FROM CURRENCIES AS CURRENCY WHERE
CURRENCY.ID
so I'm guessing the line in dbo_source.php should be:
return DELETE {$alias} FROM {$table} {$this-alias} AS {$alias}
{$joins}
{$conditions};
Does this fix the problem as well? If so, you should
Hi, first, I would like to say that I posted this message to a forum
that tried to send it here, and once I realized that's what it was
doing, I just joined here myself. I apologize if it then succeeds in
sending it and there is a double post. Now, onto the actual code
problem.
Some brief config
I thought I would notify the community of a bug, fix and issues
regarding automatic Cake scaffolding of views and editing scaffold
views. This mostly pertains an incorrectly documented view-
scaffolding pathing issue within this beta.
The documentation at http://tempdocs.cakephp.org/#TOC107815
Thanks Renan,
All three of those suggestions work. This also works:
$this-set('user', $this-User-find(id='$id'));
I didn't realize I had to use SQL syntax. So, I guess it was pilot
error.
Thanks again.
Roger
On Jan 23, 11:00 am, Renan Gonçalves [EMAIL PROTECTED] wrote:
Try it:
huh, that's really odd, it looks good to me. Maybe it's a facebook
thing. Have you tried it on a different server? Also, what happens if
you use $this-redirect(/messages/)? I think the url routing is all
handled in /webroot/index.php so maybe it doesn't like redirecting to
a shallower path?
Dave
require() [http://php.net/function.require]: Unable to access D:\/Web/
WWW_Root/adminpage2/app/controllers/users_controller.php [CORE\cake
\basics.php, line 393]
Warning (2): require(/Web/WWW_Root/adminpage2/app/controllers/
users_controller.php) [http://php.net/function.require]: failed to
open
not sure if this is the best way.. but it is *a* solution.
just put this in app/error.php
?php
class AppError extends ErrorHandler {
function error404($params) {
header('location: http://new404url.com');
exit;
}
}
--~--~-~--~~~---~--~~
You received
It's stored in cakes cache.
You gotta go through your tmp directory and delete all the files in
it. But don't delete the folders because cake won't re-create the
folders, but if the folders are missing cake won't work properly.
--~--~-~--~~~---~--~~
You received
Yup! I have submited an enhancement ticket on this!
On Jan 23, 11:30 pm, Baz [EMAIL PROTECTED] wrote:
trac.cakephp.org
Let's get the fix in.
On Jan 23, 2008 4:28 AM, grigri [EMAIL PROTECTED] wrote:
Well, it's not a bug per-se, perhaps an oversight?
Anyway, there's a spot of code in
i've successfully worked thru the blog tutorial. great.
now i'm altering it ... and having a little trouble ...
instead of having this blog be on the homepage ... as the tutorial
teaches
$Route-connect ('/', array('controller'='posts',
'action'='index'));
i'd rather insert it into a views /
On Jan 23, 2008 7:40 AM, Novice Programmer [EMAIL PROTECTED] wrote:
I am running on a shared server.. so /etc/logs is not accesible to me. dont
know if cake also makes some log or some thing like that some where?
Cake's logging mechanism works like so (in your controller):
// writes to
On Jan 23, 2008 2:25 AM, AD7six [EMAIL PROTECTED] wrote:
On Jan 23, 6:28 am, Rashid [EMAIL PROTECTED] wrote:
Dear All,
I am facing a problem regarding CSS/Javascript and Images.
What I have done is that, I have a layout, in which I am including
header, menu, and footer elements.
On Jan 22, 2008 6:01 AM, galem [EMAIL PROTECTED] wrote:
First of all, sorry for my english!
Has written the appendix on cakePHP. Have established on a hosting.
There were problems: periodically the appendix falls with mistake
Warning: require(cake/bootstrap.php) [function.require]: failed
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open() [function.finfo-open]: Failed to load
magic database at '(null)'.
2) if i have the following:
Thanks a lot!
I deleted some files on app/tmp/cache
- models
- persistent
- views
It is now working again!
On Jan 24, 2008 10:55 AM, rtconner [EMAIL PROTECTED] wrote:
It's stored in cakes cache.
You gotta go through your tmp directory and delete all the files in
it. But don't delete the
Just magic.mime
On Jan 23, 2008 7:46 PM, b logica [EMAIL PROTECTED] wrote:
On Jan 23, 2008 3:38 AM, bob [EMAIL PROTECTED] wrote:
Here is something interesting:
1) if i have the following:
$handle = finfo_open(FILEINFO_MIME);
The output i get is finfo_open()
Router::connect('/', array('controller' = 'pages', 'action' =
'display', 'home'));
On 24/01/2008, justradar [EMAIL PROTECTED] wrote:
i've successfully worked thru the blog tutorial. great.
now i'm altering it ... and having a little trouble ...
instead of having this blog be on the
multiple roots defined yep.
There are all manor of things you can do with routes
:)
On 24/01/2008, justradar [EMAIL PROTECTED] wrote:
so is it normal to have multiple router::connect... statements if
you want to insert it (what your connecting) in different pages?
thanks for the help
so is it normal to have multiple router::connect... statements if
you want to insert it (what your connecting) in different pages?
thanks for the help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
I have the tables lists and categories and lists hasMany categories.
How do i create a join statement that finds all lists in a specific
category?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
are you supposed to use routes to define which page uses which
template??
There are all manor of things you can do with routes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
You can use .htaccess to force an https connection for the desired
url's.
On Jan 23, 6:34 pm, vb13 [EMAIL PROTECTED] wrote:
Hi all,
I am struggling with the following (I hope simple) issue in 1.2
I have a login form that has to post via https. I would like to use
cake controller/action
I think the answer to that would be no.
Perhaps a more experienced baker may pitch in if I get this wrong:-
routes define how the url is transposed into controller and action pairs;
possibly with params too.
I have seen examples of date based routes.
see section Section 3 of the following
101 - 140 of 140 matches
Mail list logo