D-Mack Media Forums

Full Version: Parse error: syntax error, unexpected T_STRING
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Recieved this email June 16, 2008
---------------------------------------
Hmmm, this looks like a great component but I am having a problem. Everything installed just fine but when I went to save the configuration the following error message came up:

Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxxxxx/public_html/administrator/components/
com_recommendfriends/config.recommendfriends.php on line 13

Any ideas on how I can fix this?

Thanks in advance!

LT
Hi LT,

Other users have had this problem as well. It mainly has to do with some code (or rather lack thereof) that does not 'strip' some characters out of the config file and PHP does not like it.

In particular, in the Custom Subject, or more likely, the Custom Message field, there can be no quotations ("), apostophies (') or any type of HTML or PHP code what-so-ever.

To make sure this is where the error lies, please reinstall the component and test it with all the DEFAULT settings (make no changes to the custom message).

Please let me know if you still receive the error after a fresh install.

Thanks!

P.S. This restriction has been resolved in RecommendFriends v2.0.0 for Joomla! 1.5.x - you can even use full HTML code in the latest version!
Reference URL's