Eu havia criado o layout, mas o nome estava errado...

rodei de novo e:

Warning: session_start() [
function.session-start<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.session-start>]:
Cannot send session cookie - headers already sent by (output started at
/home/indiano/public_html/Sistema/app/controllers/components/email.php:1) in
/home/indiano/public_html/Sistema/cake/libs/session.php on line 154

Warning: session_start() [function.session-start
<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.session-start>]:
Cannot send session cache limiter - headers already sent (output started at
/home/indiano/public_html/Sistema/app/controllers/components/email.php:1) in
/home/indiano/public_html/Sistema/cake/libs/session.php on line 154

Warning: Cannot modify header information - headers already sent by (output
started at
/home/indiano/public_html/Sistema/app/controllers/components/email.php:1) in
/home/indiano/public_html/Sistema/cake/libs/session.php on line 155

Warning:
file_put_contents(/home/indiano/public_html/Sistema/app/tmp/cache/models/default_cake_membros)
[ 
function.file-put-contents<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.file-put-contents>]:
failed to open stream: Permission denied in
/home/indiano/public_html/Sistema/cake/basics.php on line 935

Warning:
file_put_contents(/home/indiano/public_html/Sistema/app/tmp/cache/models/default_cake_projetos)
[ 
function.file-put-contents<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.file-put-contents>]:
failed to open stream: Permission denied in
/home/indiano/public_html/Sistema/cake/basics.php on line 935

Warning: fsockopen()
[function.fsockopen<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.fsockopen>]:
php_network_getaddresses: getaddrinfo failed: Name or service not known in
/home/indiano/public_html/Sistema/app/vendors/phpmailer/class.smtp.php on
line 105

Warning: fsockopen()
[function.fsockopen<http://app.dcc.ufba.br/%7Eindiano/Sistema/index.php/membros/function.fsockopen>]:
unable to connect to :25 (Unknown error) in
/home/indiano/public_html/Sistema/app/vendors/phpmailer/class.smtp.php on
line 105

aparenta ser configuracao do server ...

On 8/24/07, Bill <[EMAIL PROTECTED]> wrote:
>
> Olá Daniel,
>
> você criou o layout pra este email?
>
> Olha o q o erro fala:
>
> You are seeing this error because the layout file can't be found
> >> or doesn't exist.
>
> o arquivo do layout não foi encontrado ou não existe
>
> > Bem,
> >
> > Falando em se enroscar, eu tentei fazer seguindo o exemplo do
> > codigo disponivel no blog da seguinte maneira:
> > $this->Email->bodyText();
> > $this->Email->template = 'email';
> > $this->Email->subject = 'teste';
> > $this->Email->to = '[EMAIL PROTECTED] ';
> > $this->Email->send();
> >
> > Só que ocorreram os seguintes erros:
> >
> >> Warning: session_start() [function.session-start]: Cannot send
> >> session cache limiter - headers already sent (output started at
> >> /home/indiano/public_html/Sistema/app/controllers/components/email.php
> >> :1) in /home/indiano/public_html/Sistema/cake/libs/session.php on
> >> line 154
> >>
> >> Warning: Cannot modify header information - headers already sent
> >> by (output started at
> >> /home/indiano/public_html/Sistema/app/controllers/components/email.php
> >> :1) in /home/indiano/public_html/Sistema/cake/libs/session.php on
> >> line 155
> >>
> >> Warning: session_start() [function.session-start ]: Cannot send
> >> session cookie - headers already sent by (output started at
> >> /home/indiano/public_html/Sistema/app/controllers/components/email.php
> >> :1) in /home/indiano/public_html/Sistema/cake/libs/session.php on
> >> line 154
> >>
> >> Warning: session_start() [function.session-start ]: Cannot send
> >> session cache limiter - headers already sent (output started at
> >> /home/indiano/public_html/Sistema/app/controllers/components/email.php
> >> :1) in /home/indiano/public_html/Sistema/cake/libs/session.php on
> >> line 154
> >>
> >> Warning: Cannot modify header information - headers already sent
> >> by (output started at
> >> /home/indiano/public_html/Sistema/app/controllers/components/email.php
> >> :1) in /home/indiano/public_html/Sistema/cake/libs/session.php on
> >> line 155
> >>
> >> Missing Layout
> >>
> >> You are seeing this error because the layout file can't be found
> >> or doesn't exist.
> >>
> >> Notice: If you want to customize this error message, create
> >> app/views/errors/missing_layout.thtml.
> >>
> >> Fatal: Confirm you have created the file :
> >>
> >
> > tem algo a ver com a configuração do server?
> >
> >
> > On 8/24/07, Tulio Faria wrote: >
> >
> >> Vou ver se faço um video tutorial sobre isso... É bastante útil e
> >> a galera acaba enroscando.. :)
> >>
> >> On 24 ago, 13:09, Bill wrote:
> >>
> >>> valeu Márcio,
> >>>
> >>> peguei os fontes do site que o Tulio fez e estou estudando a
> >>> algum tempo ele, vou ver se consigo aqui separar os arquivos
> >>> apenas de envio, e depois posto o resultado pra galera.
> >>>
> >>> Abraços
> >>>
> >>>
> >>>> Bill,
> >>>>
> >>>> no blog do Túlio temos um exmplo com o phpmailer.
> >>>>
> >>>> http://www.tuliofaria.net/codigo-fonte-de-site-feito-em -
> >>>> cakephp- estritamente-para-estudo/
> >>>>
> >>>
> >>>> por favor de uma olhada neste tuto.
> >>>>
> >>>> abraços,
> >>>> Marcio Trindade
> >>>>
> >>>> Bill escreveu:
> >>>>
> >>>>> Olá Galera,
> >>>>>
> >>>>> to meio perdido aqui, estou reformulando meu site todo, e
> >>>>> farei ele com o cake, mas estou com uma dúvida até que
> >>>>> boba...
> >>>>>
> >>>
> >>>>> Como envio email com o cake..rs?
> >>>>> Estou colocando um simples formulario de contato no site,
> >>>>> para os usuários, e comecei seguir o tuto a seguir:
> >>>>>
> >>>
> >>>>> http://bakery.cakephp.org/articles/view/simple-smtp-mailer
> >>>>>
> >>>>> mas brequei...algém tem algum exemplo de como enviar email
> >>>>> pelo cake?
> >>>>>
> >>>
> >>>>> Valeu
> >>>>>
> >>>>> Bill
> >>>>> www.cakephp.com.br
> >>>>>
> >>>> __________ NOD32 2482 (20070824) Information __________
> >>>>
> >>>> This message was checked by NOD32 antivirus system.
> >>>> http://www.eset.com
>
> >
>


-- 
Atenciosamente,

Daniel César Santos Porto
Bachalerando em Ciencia da Computação - UFBA
Assessor de Projetos - InfoJr UFBA
InfoJr UFBA - "Empreendendo o Futuro"
www.infojr.ufba.br

--~--~---------~--~----~------------~-------~--~----~
Recebeu esta mensagem porque está inscrito em Grupo "Cake PHP Português" do 
Grupos Google.
 Para enviar mensagens para este grupo, envie um email para 
[email protected]
 Para anular a inscrição neste grupo, envie um email para [EMAIL PROTECTED]
 Para mais opções, visite este grupo em 
http://groups.google.com/group/cake-php-pt?hl=pt-PT
-~----------~----~----~----~------~----~------~--~---

Responder a