Page 1 of 1

Swift error

Posted: Wed May 02, 2007 11:02 pm
by pinehead18
Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/pinehead/www/dennis/new/swift/lib/Swift.php on line 34

Suggestions?


I did not edit swift.php but line 34 is const NO_START = 2;

Posted: Wed May 02, 2007 11:03 pm
by John Cartwright
Sounds like your using the PHP5 version with only PHP4 installed

Posted: Wed May 02, 2007 11:11 pm
by pinehead18
so swift is only php5 right?

php 4.4.2 is the version i'm running

Posted: Wed May 02, 2007 11:18 pm
by John Cartwright
There is a php4 version :?

Posted: Thu May 03, 2007 5:07 am
by Chris Corbyn
JCart hit the nail on the head... there are two parallel versions. The PHP4 version will also run in PHP5 >= 5.1.