homeflair Posted August 9, 2012 Share Posted August 9, 2012 Hi, I recently received this error on a php page on my site "unexpected T_CONSTANT_ENCAPSED_STRING" I have looked at the line it states and I understand there may be a "." missing somewhere, but I'm not sure where. Here is the php line: echo JHTML::_ ('link', JRoute::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id), $image, array('title' => $product->product_name)); Does anyone have any ideas? (This line is from a Joomla extension called Virtuemart). Thanks. Quote Link to comment Share on other sites More sharing options...
PeoMachine Posted August 9, 2012 Share Posted August 9, 2012 Are you sure thats the right file? I didnt see anything wrong. Quote Link to comment Share on other sites More sharing options...
Christian F. Posted August 9, 2012 Share Posted August 9, 2012 Check the lines before that line, and I think you'll find the real culprit. Also, I recommend using an editor with syntax highlighting. Makes finding issues like these a breeze. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.