cancel
Showing results for 
Search instead for 
Did you mean: 

Parse error: syntax error, unexpected $end

New Member

Parse error: syntax error, unexpected $end

 after uploading

http://www.ftpactivo.com/PHP_Sample_Signup_Forms/

and mofifying the cc_class.php  


Still getting the error:

Parse error: syntax error, unexpected $end in /home1/ftpactiv/public_html/PHP_Sample_Signup_Forms/add_contact.php on line 1




Because I'm "In Trial"???

5 REPLIES 5
Frequent Participant

This is nothing to do with

This is nothing to do with you being in a trial, it is a PHP error you have created in the script.


This error usually means you have forgot to close something in the PHP code, usually an if statement.


Please post the code from add_contact.php here and someone should be able to spot the problem easily enough.

James Benson, PHP Developer.


Constant Contact Services: http://integrationservic.es/

Occasional Visitor

Re: This is nothing to do with

parsererror: SyntaxError: Unexpected token <

 

New Member

Re: This is nothing to do with

Hi, I'm getting the same error. I have only used the fields you provided, so I'm not sure how I can even mess up the PHP?

 

SyntaxError: Unexpected token <

Highlighted
CTCT Employee

Re: This is nothing to do with

The website is currently down so I can't view the file source, but if you could send it to me as a zip file ( mstowe at constantcontact.com ) I can take a look and see what the bug is.

Thanks,
Mike

-------------------------------------------
Check out our developer portal: http://developer.constantcontact.com
Member

Re: Parse error: syntax error, unexpected $end

I'm not an expert, but I just solved this problem for myself.

 

I got a message saying:

 

parsererror: SyntaxError: Unexpected token <

 

It turns out having two separate tabs open on Constant Contact was creating the problem. Closed one of the tabs, leaving only one Constant Contact tab open, and was able to avoid the issue.

 

Hope this helps anyone out there like me! :)