Re: [fw-general] zend_mail wrong charset

2009-09-04 Thread Alessandro Camilli

thanks for your reply

excuse my ignorance: the error generate an
 exception. But it doesn't  catch from my ErrorController and so
I don't know where put getTraceAsString().

Hi
Alessandro


beberlei wrote:
> 
> On Wednesday 02 September 2009 04:57:51 pm Alessandro Camilli wrote:
>> Hi,
>> I'm trying to send an e-mail with zend_mail.
>> The mail was delivered but Zend valdidate hostname.php at line 513
>> generates this exception:
>> "iconv_strlen: wrong charset, conversion from 'UTF-8' to 'UTF-32'
>> is not allowed."
>>
>> This is my code
>>  $mail = new Zend_Mail();
>>  $mail->setFrom('webmas...@mydomain.it', 
>> 'webmas...@mydomain.it');
>>  $mail->addTo('alex_...@dest.it', $this->_dscDest);
>>  $mail->setBodyText($testo);
>>  $mail->setSubject('Registrazione');
>>
>>  $mail->send();
>>
>> please help me
> 
> can you please give the complete "getTraceAsString()" output and put that
> into 
> an issue in the jira bug tracker at framework.zend.com/issues?
> 
> i can have a look at it then this weekend.
> 
> greetings,
> benjamin
> 
> -- 
> Benjamin Eberlei
> http://www.beberlei.de
> 
> 

-- 
View this message in context: 
http://www.nabble.com/zend_mail-wrong-charset-tp25259224p25296093.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] zend_mail wrong charset

2009-09-02 Thread Alessandro Camilli

Hi,
I'm trying to send an e-mail with zend_mail.
The mail was delivered but Zend valdidate hostname.php at line 513
generates this exception:
"iconv_strlen: wrong charset, conversion from 'UTF-8' to 'UTF-32' 
is not allowed."

This is my code
$mail = new Zend_Mail();
$mail->setFrom('webmas...@mydomain.it', 
'webmas...@mydomain.it');
$mail->addTo('alex_...@dest.it', $this->_dscDest);
$mail->setBodyText($testo);
$mail->setSubject('Registrazione');

$mail->send();

please help me

-- 
View this message in context: 
http://www.nabble.com/zend_mail-wrong-charset-tp25259224p25259224.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Zend_Loader_Autoloader: Must I rewrite all my class and instances?

2009-06-17 Thread Alessandro Camilli

In my folder ../application/models/
there are many classes.

With the new behavior of zf 1.8.3 :
In my bootstrap:

require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();

$autoloader->registerNamespace('My');
$autoloader->registerNamespace('i5');


$resourceLoader= new Zend_Loader_Autoloader_Resource(array(
'basePath'  =>  APPLICATION_DIRECTORY . '/',
'namespace' => '',
'resourceTypes' =>  array(
'models' => array(
'path' => 'models/',
'namespace' => 'Model'
),
'forms' =>  array(
'path'  => 'forms/',
'namespace' => 'Form'
),
)
));

Must I class change in models?
from 
class User {}
to
class Model_User

and after all my instances?
from 
user = new User()
to
user = new Model_User()


-- 
View this message in context: 
http://www.nabble.com/Zend_Loader_Autoloader%3A-Must-I-rewrite-all-my-class-and-instances--tp24068063p24068063.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Dojo capturestart/end inserting a '1'

2008-10-08 Thread Alessandro Camilli



Ken Petri wrote:
> 
> When I use any capturestart/captureend for rendering out content panes,
> accordion panes, etc., There is a '1' inserted into the div for the
> widget. Is there a way to suppress this?
> 
> Thanks!
> 
Try to remove the '=' in the first tag of php code.
before:


After:




-- 
View this message in context: 
http://www.nabble.com/Dojo-capturestart-end-inserting-a-%271%27-tp19872912p19873815.html
Sent from the Zend Framework mailing list archive at Nabble.com.