jacunivac Posted December 12, 2014 Share Posted December 12, 2014 I have some stray unwanted text on my checkout_shipping.php page during checkout. I checked all the instances of checkout_shipping.php and it's not there but when I look at the page source on my browser, there it is in all it's ugliness. It is: $this->$ Here's the page source view: $this->$<!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Smith Auto Repair & Electric</title> <base href="http://smithae.com/store/" /> <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.10.4.min.js"></script> I don't know how it got there but I know "I did it". Does anyone know where to access the page so I can delete it? Thanks, Jack Link to comment Share on other sites More sharing options...
♥joli1811 Posted December 12, 2014 Share Posted December 12, 2014 Download notepad ++and then do a search for $this->$ it has a search function great tool needed when editing web pages Regards Joli To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
MrPhil Posted December 12, 2014 Share Posted December 12, 2014 Quite possibly some text intended to be PHP code got placed outside of PHP (outside <?php ... ?>) during some editing or add-on. Also check that the rest of the statement, if any, isn't hanging loose somewhere in PHP (it ought to generate an error if it is). Link to comment Share on other sites More sharing options...
jacunivac Posted December 13, 2014 Author Share Posted December 13, 2014 Thanks, I found the culprit! Link to comment Share on other sites More sharing options...
♥joli1811 Posted December 13, 2014 Share Posted December 13, 2014 footer.php / tempate_bottom ?? seen that before although the obvious place to check would have been header.php or template_top.php just interested To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.