ChrisJChrisJ Posted May 3, 2005 Share Posted May 3, 2005 Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/public_html/catalog/login.php on line 65 Can someone help me with this? Link to comment Share on other sites More sharing options...
FalseDawn Posted May 3, 2005 Share Posted May 3, 2005 Not without posting the offending line... Link to comment Share on other sites More sharing options...
ChrisJChrisJ Posted May 3, 2005 Author Share Posted May 3, 2005 Not without posting the offending line... <{POST_SNAPBACK}> This is it: tep_redirect(tep_href_link(FILENAME_ACCOUNT, ' ', 'SSL')); Link to comment Share on other sites More sharing options...
FalseDawn Posted May 3, 2005 Share Posted May 3, 2005 That looks fine - try posting a range around the line you think it is - say 5 before and 5 after. Link to comment Share on other sites More sharing options...
ChrisJChrisJ Posted May 3, 2005 Author Share Posted May 3, 2005 That looks fine - try posting a range around the line you think it is - say 5 before and 5 after. <{POST_SNAPBACK}> Here is some more code around line 65: if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else {' tep_redirect(tep_href_link(FILENAME_ACCOUNT, ' ', 'SSL')); } } } } Any help will be greatly appreciated. Link to comment Share on other sites More sharing options...
Winterchild Posted May 3, 2005 Share Posted May 3, 2005 } else {' What's that ' doing there? Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
BoF Posted May 3, 2005 Share Posted May 3, 2005 It seems the semicolon (') after else { causes the problem. BoF Link to comment Share on other sites More sharing options...
ChrisJChrisJ Posted May 3, 2005 Author Share Posted May 3, 2005 It seems the semicolon (') after else { causes the problem. BoF <{POST_SNAPBACK}> Thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.