I am having issues using cake 2.3.5 on shared web hosting. Everything works
fine with ver 1.3. I have scoured the web for a solution and it was
suggested that I check to if the PDO Mysql driver was installed or not.
When I checked my php config PDO is already installed. Someone please help,
i
I am stumped with a problem when using model associations. For the
some reason the findAll generates an incorrect join query. Will great
appreciate any help. Both my models and controllers along with the
MySql output
is shown below.
class Playerstat extends AppModel
{
var $name = 'Playerstat'
nent::__renderTemplate() just after it's set. After the
> layout is set on it, actually.
>
> What version are you using?
>
> On Fri, May 16, 2008 at 7:51 PM, cooked <[EMAIL PROTECTED]> wrote:
>
> > Sorry about not supplying the context. Here is the code snippet from
#x27;welcome';
$this->set('code', $code);
$this->Email->send();
}
On May 16, 4:12 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> I think the obvious question is, how are you specifying the path to
> your template?
>
>
>
> On
I have seeing a weird issue with the email component. The email are
being sent
but with a message that the template file is not found. For some
reason cake is trying to
find the template in
.../app/views/views/elements/email/text/welcome.ctp.
As you can see there is an extra "views" in the path.
x27;User']['username']
But I don't get any data ..
Thanks again.
- harsh
On Apr 26, 11:11 am, rtconner <[EMAIL PROTECTED]> wrote:
> I'm confused? What is the problem?
>
> ...
>
>
> is this what you want?
>
> On Apr 26, 12:03 pm, cooked &l
t you want?
>
> On Apr 26, 12:03 pm, cooked <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is there way to submit forms data to a different controller than the
> > one responsible for the
> > view. I am using the page controller to render my home page. In the
> > ho
Is there way to submit forms data to a different controller than the
one responsible for the
view. I am using the page controller to render my home page. In the
home page I have a login
box, which submits data to /users/login. But in my controller
users_controller.php function
login I don't see th
;read();
>
> help it hopes
> spark
>
> On 4/25/07, Pablo Viojo <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Take a look at the constructClasses method
> > (cake/libs/controller/controller.php) specially the line
>
> > $this->{$modelClass
my question a little bit clearer. Test was never a
variable of my Controller, then how
can I access "Test".
Thanks for bearing with me :-).
On Apr 25, 2:10 pm, rtconner <[EMAIL PROTECTED]> wrote:
> I think get_class() might be what you are looking for
> php.net/get_class.
&g
I am new to cakePHP and i have things working pretty much, but one
questions keeps bugging me. How does this work when I do this in the
Controller
$this->[MyModel]->func();
Which variable in the controller stores the name of the Model. I have
a lot of experience in C++/Java and I haven't seen anyt
11 matches
Mail list logo