On Jun 13, 5:19 am, joshua josh...@gmail.com wrote:
Hi Cakes,
Is there anybody come across this problem? When I try to run cron job in
cake console, it print out this error.
PHP Fatal error: Class 'Router' not found in cake\libs\view\helper.php on
line 178
If I change to $html-link to
On Jun 12, 7:16 pm, lavin carloslavi...@gmail.com wrote:
Although I am new to cake, this SQL query could work with the query()
function
SELECT t1.prod_id
FROM HABTMtable t1
WHERE t1.user_id=1
AND t1.prod_id IN
(SELECT t2.prod_id
FROM
Why if I change to $html-link to a href =''xxx/a, there will be no this
error?
Did that mean we couldn't use html helper in shell script?
On Sat, Jun 13, 2009 at 2:01 PM, AD7six andydawso...@gmail.com wrote:
On Jun 13, 5:19 am, joshua josh...@gmail.com wrote:
Hi Cakes,
Is there anybody
Hi
I have installed a plugin in my cakephp app.
Now inside this plugin there is a shell that helps to configure the
plugin.
My problem is that i don't know how tell to cake console to use this
shell
My shell is in app/plugins/media/vendors/shells
Sorry for the banal question
I have the same problem I cannot login either. But in your situation
maybe you can de-activate the security component and try again ?
On 13 Haziran, 06:40, Francisco Rivas friva...@gmail.com wrote:
Yes, It's clear:
Configure::write('Security.salt', '');
But I still cannot login.
There're
It's possible that your event:Selectors and Prototype versions are out
of sync. Do you have the latest of both? What does the JavaScript
output from the helper look like?
On Jun 12, 11:56 am, isho iri...@gmail.com wrote:
Nate thanks for the reply.
I tried using that syntax but it throws
What do you mean with re-activate the security component?.
Maybe the problem It's in the code.
Thanks.
2009/6/13 cem cbay...@gmail.com
I have the same problem I cannot login either. But in your situation
maybe you can de-activate the security component and try again ?
On 13 Haziran,
Well, if you use a href =''xxx/a then it's not using the router is
it?
Why would you want to be outputting links in a shell script anyway?
On Jun 13, 10:57 am, joshua josh...@gmail.com wrote:
Why if I change to $html-link to a href =''xxx/a, there will be no this
error?
Did that mean we
You need to know and understand PHP quite well to get the most from
Cake. The Cake shells only help with creating a basic system for
manipulating the database, it can not make any sort of serious
functionality that you would normally need .
On Jun 12, 12:06 pm, bbparis bilalbas...@gmail.com
I have an auth / acl setup and I want to set up where a user can select if
they want their profile to be public or private.
Public : anyone can view even if not logged into the site
Private: must be logged in and permission check (like Hi5 or facebook)
So whats the ideal way to approch
I figured it out. My actionscript needed to be 'element.select
(.delete_action).invoke(hide)'
element not this.
Thanks for your help.
On Jun 13, 6:18 am, Nate Abele nate.ab...@gmail.com wrote:
It's possible that your event:Selectors and Prototype versions are out
of sync. Do you have the
my_xml_file.xml is not a valid xml file.
a valid xml file needs to have a root node.
so if you modify the file to include a root node (such as root.../root)
then the parsing should work.
Lapinski
robert123 wrote:
i am using the below codes, took from the bakery, straight
These should be the urls for the DESTINATION after you login or
logout, not the pages themself:
$this-Auth-loginRedirect = array('controller' =
'personas', 'action' = 'display', 'login');
$this-Auth-logoutRedirect = array('controller' =
'personas', 'action' = 'logout');
Remove these two lines
Hi Miles,
I don't understand about the destination you talking about because I want to
redirect to a page called login.ctp and I understand that after you put your
username and password you automaticaly go to that direction:
$this-Auth-loginRedirect = array('controller' ='personas', 'action' =
$this-Auth-loginRedirect is the page you are redirected to after you
have successfully logged in. If the login page IS NOT the one you put
in $this-Auth-loginRedirect, then disregard this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello,
i am making this tutorial: http://book.cakephp.org/view/645/Acts-As-a-Requester
(http://book.cakephp.org/view/93/ACL)
When im creating groups, there is nothing changing in the aro table
(its still empty)
AppController:
class AppController extends Controller {
var $components =
hi, i just start to use cake and my problem follows...
i have a table lessons and questions, association is one-to-many
(lesson has a lot of questions).
i try in my controller of lesson filter questions like this:
function category($id = null){
$this-set('lessons',
I found this problem too, when I was sending emails using a cron job, and
needed to link back to the site. However there is an easy workaround.
I am using the EmailTask from the Bakery, and added importing the router and
routes definitions in here.
?php
App::import('Core', 'Controller');
On Sat, Jun 13, 2009 at 6:32 PM, Luosglp...@gmail.com wrote:
Hello,
i am making this tutorial:
http://book.cakephp.org/view/645/Acts-As-a-Requester
(http://book.cakephp.org/view/93/ACL)
When im creating groups, there is nothing changing in the aro table
(its still empty)
AppController:
Thanks Adam. It is the solution of this problem. It really save me a lot of
time. [?]
Hope the others who has the same question can find this ticket.
On Sun, Jun 14, 2009 at 9:39 AM, Adam Royle a...@sleekgeek.com.au wrote:
I found this problem too, when I was sending emails using a cron job,
Yes, it is true.
On Sun, Jun 14, 2009 at 1:09 AM, Walther waltherl...@gmail.com wrote:
Well, if you use a href =''xxx/a then it's not using the router is
it?
Why would you want to be outputting links in a shell script anyway?
On Jun 13, 10:57 am, joshua josh...@gmail.com wrote:
Why if I
Hey Guys,
Let me write down the steps to reproduce my problem:
Reproduce steps:
1. Customer login my site( goog_1244938295219https://www.mysite.com);
2. Choose a product and redirect to Paypal sandbox site(
https://developer.paypal.com/cgi-bin/devscr) to complete the payment;
3. After the payment,
conditions , not condition.
On Sun, Jun 14, 2009 at 7:48 AM, in2lag prchal.p...@gmail.com wrote:
hi, i just start to use cake and my problem follows...
i have a table lessons and questions, association is one-to-many
(lesson has a lot of questions).
i try in my controller of lesson filter
Hi again. I just need some more clarification on this issue. I like
the idea of setting up named parameters for the venues in the routes.
However, I'm using an ACL system where users can be restricted by
controllers and actions. If I understand correctly the named
parameters would allow me to do
I found the fail reason,
[code]
function __initSession() {
$iniSet = function_exists('ini_set');
if ($iniSet env('HTTPS')) {
ini_set('session.cookie_secure', 1);
}
switch ($this-security) {
case 'high':
$this-cookieLifeTime
25 matches
Mail list logo