Using version 1.3.5, is working now with 'log' set to false in
config.php. Not ideal, but is working for now.
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
Changed
Configure::write('log', true);
to
Configure::write('log', false);
in config/core.php. Hmm.
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
Ok, problem still occurring, this is what the Apache error log says;
PHP Fatal error: Class 'CakeLog' not found in /var/www/vhosts/default/
api/cake/libs/cache/file.php on line 83
I will investigate!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
a
blank screen, or just falling over, but not displaying the error?
Toby
On Nov 17, 1:00 am, Jules fattyju...@gmail.com wrote:
I have a new CakePHP installation I'm fiddling around with. I've built
a reasonably sophisticated CakePHP app before, so I like to think I
know my way around
I have a new CakePHP installation I'm fiddling around with. I've built
a reasonably sophisticated CakePHP app before, so I like to think I
know my way around CakePHP, but am by no means an expert.
On my new installation, my test page (/pages/home) works fine. If I
come back after a few hours and
Thanks Nick, tests working well from the shell!
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 this group, send email to
Ok, I have a fresh CakePHP 1.3.5 installation. When I run /test.php, I
get a page telling me to install SimpleTest. So far so good.
After I install SimpleTest 1.0.1 to /vendors, I can't load /test.php
any more. Different browsers give different errors;
Chrome: Error 330
Update: the root page says;
PCRE has not been compiled with Unicode support.
Recompile PCRE with Unicode support by adding --enable-unicode-
properties when configuring
Possibly connected?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
Another update: I can run my unit tests from Opera (but all other
browsers choke). While this is far from ideal, it will do for now.
Still nervous about the PCRE problem though, I think that will haunt
me later.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
You're overwriting previous values so the last one will be the only
one saved. Try:
$this-data['LinkAdditionalInformation'][] = array(
'title' = $this-Session-read('abc.contact.phone_title1'),
'content' = $this-Session-read('abc.contact.phone_number1')
);
'));
When viewing source correct script tag entered: script type=
text/javascript src=/js/jquery.1.4.2.js/script
Cheers
Jules
On 26 May 2010 04:22, nurvzy nur...@gmail.com wrote:
Hi Jules,
Where are you storing your js files and how are you calling them?
Nick
On May 25, 1:49
Installed CakePHP 1.3, all working fine css file being found but as
soon as I try to add a js file I get a missing JsController error. I
can't find any reason for this, mod_rewrite seems to be working or the
css wouldn't be found.
If anyone knows how to fix please help this error is driving me
Bingo! It's a beautiful thing. Thanks Miles J.
On Jan 31, 9:27 pm, Miles J mileswjohn...@gmail.com wrote:
Try null instead of false, see if that works.
On Jan 30, 8:02 pm, Jules fattyju...@gmail.com wrote:
Hi everyone, I'm experiencing extreme frustration with this problem!
Luckily, it's
Hi everyone, I'm experiencing extreme frustration with this problem!
Luckily, it's easy to reproduce.
In any controller, create this method;
function test() {
debug($this-data);
}
Then create a corresponding view called 'test';
?php
echo $form-create(false,array('action'='test'));
echo
I need to force users to a particular url after they've successfully
login.
Currently if a non-logged-in user tries to access an authentication-
protected page, the are sent to the login page - so far so good.
However, after successful login, they are sent to the page they had
previously tried to
Thanks Lance, I've tried this, but the login() action in the users
controller doesn't appear to fire after the user logs in...
On Nov 17, 3:30 pm, Lance Willett nano...@gmail.com wrote:
Jules,
In order to force a specific redirect after login you'll need to
specify that redirect in the login
Wait, found it. I had to set $this-Auth-autoRedirect=FALSE in
UsersController::beforeFilter(). Thanks!
http://book.cakephp.org/view/395/autoRedirect
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
Found a solution; http://www.sitepoint.com/forums/showthread.php?p=4381257
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
Anybody? Pretty please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
Hi,
I've got a problem with a unit test retrieving REAL data, where I need
to be using fixture data. I'll explain by way of example.
- Model Widgets has a method abc().
- Widget-abc() retrieves data from another model, Shapes. The 2
models are NOT joined by any table relationships. The
Can anyone help? I'd like to suppress the You are not authorized to
access that location message when I try to visit a page that I'm not
authorised for.
I'm happy with the redirection to the login page, I'd just like to
hide the error.
I can't hide it with CSS, because the same CSS selector is
That's it! Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
I've written a panic() function which resides in config/bootstrap.php,
and can be called from anywhere in my CakePHP app. The idea is that
it is called when the site admin (me) needs to know that something has
happened. I want it to fire and email and write to the log. To write
to the log, I'm
That's it Mark, thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
Running CakePHP site with Auth.
When I visit /users/login or /users/logout, I end up at /users/login.
All fine so far. When I try to login, the login fails, and the SQL
log shows;
SELECT `User`.`id`, `User`.`email`, `User`.`password` FROM `users` AS
`User` WHERE `User`.`id` IS NULL LIMIT 1
function beforeRender() {
// make logged-in user's details available to ALL pages
if($this-Session-check('Auth.User.id')) {
$user = $this-Auth-User();
$this-set('logged_in_user', $user['User']);
}
}
Found it, thanks.
I had some custom logout code in AppController::beforeFilter() which
was causing the problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
When a submitted form fails a validation rule, the form is presented
back to the user with their values intact. This is obviously a good
thing, as the user doesn't have to fill the whole thing in again.
I have a form where I need to compare two of the submitted values to
make sure they're not
Thank you Brian, I wasn't aware that you could write a custom
validation function.
However, I've tried both methods, and am still having the same
problem. In both cases, the form comes back with fresh data in it.
I have confirmed that the custom validation rule is firing.
I have a form where, if the user enters the same value into two
fields, they see an error message and have to fill in the form again.
1) I compare the two fields in the controller. Is there a way to
create a validator in the model that can compare two fields in the
same form?
2) If the answer
Hi !
Did you manage to resolve your problem ?
'cos I have the same issue with a HasAndBelongsToMany relationship ...
Herlp ;-)
Jules
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
Hi all !
I need help on a simple issue ... well not so simple for me
Let's resume the situation :
3 tables : Categories , Products and categories_products.
Categories and Products have a n,m relationship so we've got the
following models :
* Pour Category.php *
class Category extends
32 matches
Mail list logo