[TYPO3-commerce] Too many messages after completing order
Loek Hilgersom
hilgersom at xs4all.nl
Sat Sep 1 13:27:39 CEST 2007
Hi Ingo,
I've set $this->debug to true and checked the output, I get the whole load of
debug info, but userMailOK and adminMailOK are not mentioned.
When I add a line debug($this); on line 1039 I get (among the whole list of
course) these values (empty):
[userMailOK] =>
[adminMailOK] =>
[finishItOK] => 1
The emailadresses, both sender and receiver are valid.
Loek
Ingo Schmitt wrote:
> Hi Loek
>> Hi Ingo,
>>
>> I checked out the latest revision from SVN, but the problem remains (I
>> already had a very recent version).
>> Sebastian's suggestion would of course be a quick work-around but I
>> think that would only suppress the error messages, also if there would
>> be real errors.
>>
>> I receive the finish_message_noemail messages even though the emails
>> are being sent properly.
>>
>> Starting from line 1040 in class.tx_commerce_pi3.php it says:
>>
>> if (($this->userMailOK==true) && ($this->adminMailOK==true)) {
>> $markerArray['###FINISH_MESSAGE_EMAIL###'] =
>> $this->pi_getLL('finish_message_email');
>> $markerArray['###FINISH_MESSAGE_NOEMAIL###'] = '';
>> }else{
>> $markerArray['###FINISH_MESSAGE_NOEMAIL###'] =
>> $this->pi_getLL('finish_message_noemail');
>> $markerArray['###FINISH_MESSAGE_EMAIL###'] = '';
>> }
>>
>> It appears that $this->userMailOK and $this->adminMailOK are both
>> empty, when I guess they should be TRUE at this point.
>>
>
> They should be true, if the emailadresses you have used are valid.
> Could you set $this->debug to true (line 81) and check your output?
>
> Regards
>
> ingo
>
>> Loek
>>
>>
>>
>> Ingo Schmitt wrote:
>>> Hi,
>>>> Loek Hilgersom wrote:
>>>>
>>>>> ###FINISH_MESSAGE_GOOD### ###FINISH_MESSAGE_BAD###
>>>>> ###FINISH_MESSAGE_EMAIL### ###FINISH_MESSAGE_NOEMAIL###
>>>>> ###FINISH_MESSAGE_THANKYOU###
>>>>> Should I report it as a bug or did I miss something?
>>>>
>>>>
>>>> As far as I know, this is only a templating-issue, so we solved this
>>>> with removing the markers - this was Volker´s suggestion.
>>>>
>>>
>>> AFIK i fixed this issue in the current svn.
>>>
>>> ingo
>>>
>>>> Kind regards,
>>>>
>>>> Sebastian
>>>>
>>>
>>>
>>> Mit freundlichen Gruessen
>
>
> Mit freundlichen Gruessen
More information about the TYPO3-project-commerce
mailing list