[SOLVED] Error message on another server

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

[SOLVED] Error message on another server

Post 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?
bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Post by bdlang »

What's on line 34?

What version of PHP was on your dev server vs the GD server?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You're trying to run the PHP5 version of Swift on a PHP4 server. Download the correct version ;)
Post Reply