syntax error, unexpected T_CLASS in cc_class.php on line 1

Highlighted
Occasional Participant

syntax error, unexpected T_CLASS in cc_class.php on line 1

I'm getting this error:


Parse error: syntax error, unexpected T_CLASS in cc_class.php on line 1


Debug = True


Contact List = array();


Force List = False


Show List = True

Harish S.

2 REPLIES 2
Highlighted
Moderator

This error typically

This error typically indicates you are using an older version of PHP.  Our examples require PHP 5 or higher, this error is usually only seen in PHP 4 or earlier.  If you are using PHP 4 or earlier, we do not offer code samples.  There is a developer who sells a PHP 4 compatible package named James Benson, you can find his information here.

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
Occasional Participant

The site is hosted on GoDaddy

The site is hosted on GoDaddy and I've checked the PHP version its 5.2.8. So what could be the problem?

Harish S.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured