Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nerdDesign

Pioneers
  • Posts

    14
  • Joined

  • Last visited

Posts posted by nerdDesign

  1. I'm getting the following error when I try to add something to the wishlist:

    Fatal error: Call to a member function add_wishlist() on a non-object in /path/wishlist.php on line 19

     

    Line 19 is this:

    $wishList->add_wishlist($wishlist_id, $attributes_id);

     

    I've tried the navigation_history fix, and other fixes on this thread. I need to get it fixed ASAP. Any ideas?

     

    Hi Bekki,

    I had this problem too, but my line was:

     

    $wishlist->add_wishlist($wishlist_id, $attributes_id);

     

    which I changed to your:

     

    $wishList->add_wishlist($wishlist_id, $attributes_id);

     

    Maybe you can inverse that.

     

    nerd

  2. you need to balance the function call.

     

    edit file: includes\modules\vendors_shipping\fedex1.php

     

    find:

    if (tep_not_null($method)) {
           $this->_setService($method);
         }

     

    change to:

     

    if (tep_not_null($method)) {
           $this->_setService($method, $vendors_id);
         }

     

     

    You'll notice later in the file, there is a function called: function _setService($service, $vendors_id)

    This requires both the service and and vendors_id to be passed.

     

    Thanks!

    nerdDesignGroup.com

×
×
  • Create New...