Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I desperately need to allow my customers to carry a positive balance between transactions, so Account_Balance seemed perfect. I read the forum posts about v.3 - last post on June 19 with problems still unresolved, and nothing since - and decided to install v. 2.1 instead. No traffic = no problems, right? Ha.

 

I get the following error message:

 

Fatal error: Call to a member function on a non-object in /home/content/p/i/o/piolenc/html/catalog/admin/customers.php on line 815

 

These 2 lines from customers.php get displayed above the customer table:

 

// Account Balance Modif $display_balance = $customers['customers_account_balance']; ?>

 

Line 815 is the next one; it reads:

 

<td class="dataTableContent" align="right"><?php echo $balance_format->format(tep_round($display_balance, 2)); ?></td>

 

Both lines are in the account balance modification.

 

I had edited my own copy of customers.php because of previously installed contributions, so I figured my clumsy editing was responsible. I renamed my file and uploaded the file that came with the contribution instead. I got exactly the same result, but with a different line number of course.

 

If there is one person out there who has this contribution working, I would like very much to hear from you.

 

 

Marc de Piolenc

Iligan City, Philippines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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