Page 1 of 1

Error Message - Trying to Test

Posted: Tue Oct 16, 2007 7:00 pm
by mwpackman
Hi there,

I thought I followed all the upload instructions. Maybe I forgot to do something.

I get the following message when I try to run runTestOfBasicSend.php

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../Tests/smokes/runTestOfBasicSend.php on line 7

Thanks kindly

Posted: Tue Oct 16, 2007 10:22 pm
by jeffery
you have a syntax error in your code. Post here the first 10 lines of the file runTestOfBasicSend.php so we can guide you what you are doing wrong

Posted: Tue Oct 16, 2007 10:26 pm
by John Cartwright
Sounds like your trying to use the php5 version on a php4 build.

Create a blank file, and add

Code: Select all

phpinfo();
to see which version is loaded. If it is infact php4, you'll want to download Swift Mailer's php4 version.