Forums

error message - parse error, unexpected T_STRING

Kriss 04 Jun, 2008
I am trying to add tabs to my forms. I am using joomla 1.5 and the chromcontact and Tabs & Slides (in content items) pugins have been installed. I am receiving the following message:


Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/e/a/r/earthplanet/html/plugins/content/include_content_item.php on line 56

How should I proceed?

TIA

Kris face-meh-blank
GreyHead 05 Jun, 2008
Hi Kris,

Let me understand this - you are trying to put a form into a module using Tabs and Slides AND the ChronoForms Plugin/mambot AND the Include Content Item plugin/mambot AND you are surprised when something goes wrong?

Does the form work in stand-alone mode?

What's on line 56 of include_content_item.php?? In the version I have here it's a function call and that seems an unlikely place to throw up this error.

I suggest that you proceed one step at a time. Start with a simple form and get each piece working then add fucntionality to your form one step at a time making sure that each works before going on to the next.

Bob
This topic is locked and no more replies can be posted.