![]() |
Parse Error from Contact Us link - can't find the source...
When I click on the "Contact Us" link in the help menu box, I get the following parse error:
Parse error: parse error, unexpected T_VARIABLE in /clientdata/www/au/p/photoscope.com.au/templates_c/%%97^971^97120B85%%contactus.tpl.php on line 231 I've emptied the templates_c folder a few times and restarted browser / computer, and tried on a number of computers but still get the error - can anyone see what the issue may be?? I haven't worked on this site for a while, last time I clicked on the contact us link it worked - haven't seen this error before. Thanks for any help!! |
What I usually do is, I download the file,
open it up in my favorite php editor and look at the line that is causing the error. Find that line and post it here :) |
Thanks for the quick reply, the code for line 231 is:
Code:
" <?php if ($this->_tpl_vars['userinfo']['b_country'] == Dunno if that helps, but thankyou!! |
Could you also post your contactus.tpl file. Thanks.
|
Thanks for helping me out with this... I couldn't find a contactus.tpl - when I checked where the "Contact Us" link points to it was this:
So this is the code from "include/help.php": Code:
if ( !defined('XCART_SESSION_START') ) { header("Location: ../"); die("Access denied"); } Hope that makes sense - thanks again!! |
All times are GMT -8. The time now is 02:02 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.