Closed (fixed)
Project:
e-Commerce
Version:
master
Component:
new module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2008 at 22:56 UTC
Updated:
8 Oct 2009 at 01:11 UTC
There is wrong include for a file in ec_store module. It ruins checkout on review page
Call to undefined function _ec_store_location_countries() in D:\work\svilensabev\sites\all\modules\ecommerce\ec_store\ec_store.inc on line 451
The fix is to change line 424 to this one
include_once drupal_get_path('module', 'ec_store') .'/ec_store.localization.inc';
Comments
Comment #1
gordon commentedThanks this is now fixed.
Also in D6 you should use module_load_include('inc', 'ec_store', 'ec_store.localization');
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
Dublin Drupaller commentedAre you sure that's correct Gordon..? I think that should be an underscore between store and localization.
This worked for me:
search and replace this:
module_load_include('inc', 'ec_store', 'ec_store.localization');for this
module_load_include('inc', 'ec_store', 'ec_store_localization');in the ec_address.admin.inc file.
Comment #4
davea commentedThe file is named ec_store.localization.inc so the period is needed in place of underscore.
Thanks for your attention to detail.