smhnaji Posted November 22, 2011 Share Posted November 22, 2011 Hello It's the first time I post here! After my client select the service to purchase or want to Add funds to their account, when they visit cart.php?a=checkout, template doesn't load. Only the contents are loaded but incompletely. After I viewed source, I got that there are only some <p> tags that want to load the content (Name of the user, payment gateway, invoice#, price and exp. date) And exp. date is always empty. I think that it should have caused the problem because its closing tag is not loaded. I have added this code to configuration.php but no err is being displayed: error_reporting(E_ALL); ini_set('display_errors', '1'); $show_errors = "true"; $debug_output = "true"; Thank you 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 22, 2011 Share Posted November 22, 2011 Try $display_errors = true; also make sure that you remove the $debug_output like after you have finished testing 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted November 22, 2011 Author Share Posted November 22, 2011 Perfect It worked Thank you very much dear sparky The err is: Fatal error: Call to undefined function smarty_modifier_sdate() in /templates_c/64a20fb66144fb1d81119f691890d7b6^%%AC^ACC^ACC45BED%%emailtpl%3Aemailmessage.php on line 14 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 22, 2011 Share Posted November 22, 2011 looks like you are missing the smarty modifier "sdate" 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted November 22, 2011 Author Share Posted November 22, 2011 I think that it says an email template has a problem. A function should have been used in generating an enail template that has made the problem. Maybe a var that is the result of an unloaded function might have been used. Is that right? 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted November 22, 2011 Author Share Posted November 22, 2011 looks like you are missing the smarty modifier "sdate" Thank you I'll google that. I really appreciate your help. Good luck 0 Quote Link to comment Share on other sites More sharing options...
smhnaji Posted November 23, 2011 Author Share Posted November 23, 2011 I solved the problem with your help. In my "Invoice creation" email template, there was: Exp. date: {$sdate|invoice_date_due} I deleted "sdate|" and it's now OK. 0 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.