Page 1 of 1

[SOLVED] Error message on another server

Posted: Wed May 23, 2007 9:06 pm
by pinehead18
It works great on my initial dev server but when i move it over to go daddy i get this

Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/d/r/d/d/html/newsletter/swift/lib/Swift.php on line 34


Any ideas?

Posted: Wed May 23, 2007 9:15 pm
by bdlang
What's on line 34?

What version of PHP was on your dev server vs the GD server?

Posted: Thu May 24, 2007 12:59 am
by Chris Corbyn
You're trying to run the PHP5 version of Swift on a PHP4 server. Download the correct version ;)