Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: Call to undefined function: tep_get_country_id()


meira99

Recommended Posts

Hi all

 

I have just installed Order Editor. Most of my files were unmodified so I just copied the install files over them, including admin/includes/classes/order.php.

 

I made a test order and then went into Admin > Customers > Orders to edit it to test what the Order Editor does. But no matter which button I click (Details, Invoice, Packing Slip, Edit), I get the following error:

 

Fatal error: Call to undefined function: tep_get_country_id() in /usr/www/users/truefog/shop/catalog/admin/includes/classes/order.php on line 87

 

I went to line 87 and this is what it says:

 

$countryid = tep_get_country_id($this->delivery["country"])

 

As I mentioned above, I did not modify this file but simply copied it over.

 

Please help!

 

Thanks!

 

Meira

:(

Link to comment
Share on other sites

You missed a step in the install of Order Editor where you insert the function tep_get_country_id() into admin/includes/functions/general.php.

 

Thanks KG! What I'd done was edit the file on my local computer but had forgotten to upload it! It works now.

 

Thanks again for your quick response!

 

Meira

:D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...