Wednesday 01 February 2012 4:05:52 pm - 2 replies
It's the first time I try CJW Newsletter and it looks like pretty good, but I have a problem :
eZ Crash when I try to send a preview :
An unexpected error has occurred. Please contact the webmaster. The value '' that you were trying to assign to setting 'body' is invalid. Allowed values are: ezcMailPart. in /Users/horizon/Sites/newsletter/lib/ezc/Mail/src/mail.php on line 197
I activated debug output and the "HTML/Text" raise those lines :
shell_exec( "php" extension/cjw_newsletter/bin/php/createoutput.php --object_id=217 --object_version=2 --output_format_id=0 --www_dir=/newsletter --current_hostname=127.0.0.1 --skin_name=default -s front )
Error ocurred using URI: /newsletter/index.php/administration/newsletter/preview/217/2/0/front/default
So I tryed to run the command manualy and it raise other errors :
[ Feb 01 2012 15:41:42 ]  eZMySQLiDB: Connection error: Couldn't connect to database server. Please try again later or inform the system administrator. No such file or directory [ Feb 01 2012 15:41:42 ] Unexpected error, the message was : Unable to connect to the database server 'localhost' Error #2002: No such file or directory in /Users/horizon/Sites/newsletter/lib/ezdb/classes/ezmysqlidb.php on line 131
It looks like the script cannot access DB (but the website works without any problem).
I'm clearly stucked...
Could you help me ?
Modified on Wednesday 01 February 2012 4:07:17 pm by Damien MARTIN
Saturday 01 December 2012 1:59:41 am
Quote from Damien MARTIN :
I found by myself.
In fact you have to put the real path to php (even if an alias exists).
In MAC OS X with MAP for exemple you should specify :PhpCli=/Applications/MAMP/bin/php/php5.3.6/bin/php
Great, thanks a lot!! it worked for me too.
You must be logged in to post messages in this topic!