Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fedex Shipping Module - Install Fatal Error


ronr1999

Recommended Posts

I get the following error when clicking on INSTALL in Admin:

 

Fatal error: Call to a member function on a non-object in /..../catalog/includes/modules/shipping/fedex1.php on line 178

 

I haven't changed anything, just installed the files.

 

Here's line 178:

 

      $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Fedex Shipping', 'MODULE_SHIPPING_FEDEX1_STATUS', 'True', 'Do you want to offer Fedex shipping?', '6', '10', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");

 

 

cURL info:

 

CURL support: enabled

CURL Information: libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4

 

I've been running UPS XMP with no problems...

 

Where do I start looking to fix this ?

 

RonR

Link to comment
Share on other sites

I just ran into the same problem. This is what I did.

 

Open this page:

/catalog/includes/modules/shipping/fedex1.php

 

Replace all instances of this:

$osC_Database->simpleQuery

 

With this:

tep_db_query

 

I'm not a programer but this did work, Good Luck!

 

JC

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...