James Ecker Posted October 10, 2007 Share Posted October 10, 2007 Hi, Everyone. I am trying to display the customer's order number on the Order Checkout Success Screen. I found this code on the forums: echo TEXT_YOUR_ORDER_NUMBER . $orders['orders_id'] . '<br><br>'; When I put that in the shop/includes/languages/english/checkout_success.php file it goes to displaying only a blank screen. Am I putting this code in the wrong file, or is the code not appropriate? Thanks! Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2007 Share Posted October 10, 2007 Hi, Everyone. I am trying to display the customer's order number on the Order Checkout Success Screen. I found this code on the forums: echo TEXT_YOUR_ORDER_NUMBER . $orders['orders_id'] . '<br><br>'; When I put that in the shop/includes/languages/english/checkout_success.php file it goes to displaying only a blank screen. Am I putting this code in the wrong file, or is the code not appropriate? Thanks! Where did the post say to put it? Link to comment Share on other sites More sharing options...
James Ecker Posted October 10, 2007 Author Share Posted October 10, 2007 Where did the post say to put it? That's part of the problem...it really didn't say where to put it, so I assumed it would go on that page, since that is where the text is defined... Link to comment Share on other sites More sharing options...
ryos Posted October 11, 2007 Share Posted October 11, 2007 The blank page typically means there were fatal errors on the page (often a parse error), but that PHP errors are disabled on the server (as they should be for production systems) so you're not seeing the message. They do, however, get written to the error log. Check your server error logs just after loading the page and let us know what the error message says. I say not to you, "backup your files before you change them." I say, rather, "use Subversion, and never worry about ruining your files again." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.