Jump to content

Email doesn't work + fatal error when responding to a question


Recommended Posts

Hello Everyone,

 

My site is almost finished, and i've been doing some tests by ordering etc.

But now I came to some errors:

 

When I set a order on 'payment' accepted, normally it should send a email to the customer saying the payment is accepted. Somehow this doesn't work

 

Also when I try to answer to a message trough contact form, I get the following error:

 

Fatal error: Call to a member function setReplyTo() on a non-object in /home/vhosts/x/httpdocs/tools/swift/Swift.php on line 492

 

And now I get this error when I try to send a message trough contact form in my site:

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/vhosts/x/httpdocs/tools/swift/Swift.php on line 488

 

Also the date in the order and account of customers does't show right, it's shown as:

WedWed-OctOct-2013201320132013

 

Hope that anyone can help me with those errors

 

Thanks in advance

 

Isaac

Link to comment
Share on other sites

I fixed last errors by replacing the swift.php and message.php from backup

 

remaining errors:

 

1. now when I respond to a answer from backoffice I get this:

 

Warning: preg_match() expects parameter 2 to be string, array given in /home/vhosts/x/httpdocs/classes/Validate.php on line 177
Error - The following e-mail template is missing: /home/vhosts/x/httpdocs/mails/nl/reply_msg.txt

 

2. Customers doesn't receive status email

3. date shows up as: WedWed-OctOct-2013201320132013

Edited by Soesoe (see edit history)
Link to comment
Share on other sites

I fixed the problems by replacing the files that gave an error with the files from my other shop that currently is online.

Also replaying to a customers works perfectly now

 

The only problems I still have is:

1. Date doesn't show right, it shows double in invoice and on order page : WedWed-OctOct-2013201320132013

Account geregistreerd op: WedWed-OctOct-2013201320132013

 

anyone knows how to fix this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...