I've started getting this strange error message in Zen_Cart 1.3.7 when I try to checkout:
Fatal error: Call to a member function on a non-object in /home/[user]/public_html/[zen dir]/includes/languages/english/credit_cards.php on line 57
The line in question is:
define('IMAGE_CC_ENABLED_VISA', zen_image($template->get_template_dir('cc1.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc1.gif'));
After some investigation (a clean install followed by gradual re-configuration) I've found that the problem appears only when setting ENABLE_SSL true in /includes/configure.php. SSL connections generally work OK (e.g. in the admin area) but not in this specific case, where it seems to get the filesystem path wrong.
Any ideas what might be causing this?
Bookmarks