The blank page is because of $this->autoRender = false; and no
redirect to other page (which won't work anyway while there is error).
The error looks like PHPMailer one.
Check file C:\xampp\htdocs\pcg_servidor\vendors
\PHPMailer_v5.0.2\class.phpmailer.php at line 1 053 for conditions
that give error.

On Jun 8, 5:42 pm, andreguerreiro85 <[email protected]>
wrote:
> Tnks, i missed that! :) the error is:
> Could not instantiate mail function.
>
> Warning (2): Cannot modify header information - headers already sent by
> (output started at
> C:\xampp\htdocs\pcg_servidor\vendors\PHPMailer_v5.0.2\class.phpmailer.php:1 
> 053)
> [CORE\cake\libs\controller\controller.php, line 644]
>
> Code | Context
>
> $status =       
> "Location:http://localhost:90/pcg_servidor/encomendas/encomendas_encomendas/ind...";
>
>         }
>
>         echo $_this->_output($level, $error, $code, $helpCode, $description,
> $file, $line, $context);
>
> Debugger::handleError() - CORE\cake\libs\debugger.php, line 222
> header - [internal], line ??
> Controller::header() - CORE\cake\libs\controller\controller.php, line 644
> Controller::redirect() - CORE\cake\libs\controller\controller.php, line 625
> EncomendasEncomendasController::delete() -
> APP\plugins\encomendas\controllers\encomendas_encomendas_controller.php,
> line 523
> Object::dispatchMethod() - CORE\cake\libs\object.php, line 118
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
> [main] - APP\webroot\index.php, line 88
>
> --
> View this message in 
> context:http://cakephp.1045679.n5.nabble.com/SEND-EMAIL-FUNCTION-INSIDE-CONTR...
> Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to