Pages:

HTML Mail Order error

Cream

No avatar

2006-02-19 13:16

Hi all
I installed HTML mail order and when I put quick cart on the internet server and wanted to get in the configuration of HTML Mail Order, I get the error:
Fatal error: Call to undefined function: file_get_contents() in xxx/plugins/pluginManager/pluginManagerConfig.class.php on line 218

could you help me please

Thanks in advance
Cream

wizzud

No avatar

2006-02-19 19:30

What version of PHP are you running?

BoriZ

No avatar

2006-02-20 15:56

great that you have updated this item. super..

I have installed it and can edit it with the plugin manager..
but the only thing I don't get is the send option...

I don't know how to setup this one...

so the plugin doesn't work because I don't know what to choose and how to set it up.

can you explain to me what to choose ??

thanks

BoriZ

BoriZ

No avatar

2006-02-20 19:29

can't it just send the same way that quickcart sends it's mails ??

BoriZ

wizzud

No avatar

2006-02-20 20:31

The defaut method is 'mail', which is the standard one and the one that QC uses.

BoriZ

No avatar

2006-02-20 22:41

it doesn't work.
doesn't send emails.
I have setup all the this the have to be, but it ónly send the standard email "new order". nog anything from the html mail order plugin...

the plugin is sett to "ja" (yes) and everything in the plugin setup is set to send...

I guess I'm doing something wrong, but don't know what... ??

BoriZ

wizzud

No avatar

2006-02-21 09:07

In the plugin's setup ...

Administrator's Name = 'something'
Email Order to Admin = checked
Message Format: Admin = HTML+Text
Email Order to Client = checked
Message Format: Client = HTML+Text
Method = mail
..
Report Errors = checked
Show Email Body and Stop = checked

Put an order through, and when you submit the order delivery page you should see the content of the email (HTML and then text) that would have been sent. If you don't then the plugin is not enabled for some reason.

Hit Back to get back to QC screens.

In plugin's setup change Show Email Body and Stop to UNchecked

Put through another order and note any error messages output to the screen after submitting the order delivery details.
If there are no error messages then the phpMailer class thinks it has submitted the email ok.

(For normal running, uncheck Report Errors.)

BoriZ

No avatar

2006-02-22 09:46

it still doesn't work...:-(

can it be a wrong php-version ??
i've tried everything..

boriz

wizzud

No avatar

2006-02-22 10:26

Please ...
Can you be a bit more specific? Just saying "it doesn't work" isn't very helpful.

Did you get the body of the email shown on the first order (with 'Show Email Body and Stop' checked)?
Did you get any other error messages on the screen - for either the first or second order?

Show me the contents of your plugins/actions_client.php file.
As a matter of interest, what version of PHP are you running?

BoriZ

No avatar

2006-02-22 10:51

1.Did you get the body of the email shown on the first order (with 'Show Email Body and Stop' checked)?

I got no email shown on the first order and the checkbox was checked.


2.Did you get any other error messages on the screen - for either the first or second order?

No other message, just like the normal screen.


3. Show me the contents of your plugins/actions_client.php file.

<?php
require DIR_PLUGINS.'pluginManager/actions_client.php';
?>




4. As a matter of interest, what version of PHP are you running?

I have just updated to php5. so I'll check again right now..

boriz

BoriZ

No avatar

2006-02-22 11:00

hmmmm... still nothing.... same as above...

boriz

wizzud

No avatar

2006-02-22 20:10

I know this is probably a stupid question but have you enabled the plugin in Configuration - Plugins?

BoriZ

No avatar

2006-02-22 21:47

yes it's activated.... :-(
can I mail you my quickcart with all the info and settings in it.
it would be great when it works.

maybe it's just my provider...

boriz

Cream

No avatar

2006-02-23 10:31

It is internet server, and php version is 4.1.2

sorry for my delay, I was off longer time.

wizzud

No avatar

2006-02-23 17:13

Cream >>
Extract from the readme.txt file that comes with Quick.Cart ...

Requirements
------------------------------
- PHP >= 4.3.3

You are going to experience a number of problems if your PHP version is lower 4.3.3!

wizzud

No avatar

2006-02-23 17:14

BoriZ>>
Contact me via ...

wizzud

No avatar

2006-02-23 19:50

BoriZ>>
I should have asked what changes you had made!

You have made a change to circumvent the ORDER_SAVED message with a call to PayPal, using a new block ORDER_PP_SP_EG in the messages.tpl template file.

In plugins/htmlMailOrderDetails/actions_client.php you need to change

<?php
  $oMail
->setInterceptID$tpl->newIntercept('messages.tpl''messages.tpl''ORDER_SAVED''ORDER_SAVED''sendHtmlMailDetails''') );
?>


to

<?php
  $oMail
->setInterceptID$tpl->newIntercept('messages.tpl''messages.tpl''ORDER_PP_SP_EG''ORDER_PP_SP_EG''sendHtmlMailDetails''') );
?>



You should be aware, though, that the email(s) will go out regardless of whether the PayPal transaction is completed or not.
PS. I've replied through the forum so that the information is available for anyone else in the same boat.

BoriZ

No avatar

2006-02-24 00:37

great. it works...

I only have to find out how to change the language of the sent mail..

but thanks !!

boriz

wizzud

No avatar

2006-02-24 12:15

The body is the same as the print body, so is controlled by your shop language. The subject text is held in plugins/htmlMailOrderDetails/lang-en.php - refer to the plugin documentation, Language section.

BoriZ

No avatar

2006-02-24 14:54

I have already seen that and changed it, thanks

boriz

Pages:
Back to top
about us | contact