Is your checkout page failing whenever you enable Fontis’ Direct Deposit payment option? Try checking your logs to see if there’s a similar error like the one below:
Parse error: parse error in /app/design/frontend/base/default/template/fontis/australia/ payment/directdeposit/form.phtml on line 42
Some would ask you to check the file permission while others would tell that you need to turn off compilation. If you did all these already and still see the error, I would suggest for you to check if short_open_tag
is enabled in your php.ini
file. This setting enables the syntax <? ... ?>
to work instead of typing <?php … ?>
.
Upon checking the form.phtml
file, the code in line 31 would show that it is using the short_open_tag
(see code below) so you must change it from:
<?endif;?>
to this:
<?php endif;?>
Refresh your page to see the now working Direct Deposit block.
Well done Richard. I’d got as far as opening up looking through the logs and identifying the form.phtml file but then thought I’d have a quick google and there was your answer. Worked like a charm. Thanks!