Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Basic Design Pack I used.


hikosan

Recommended Posts

Posted

Hi I am useing Oscommerce JP version.

I just install Basic Design Pack. After that I got erro messege that says

 

Fatal error: Call to a member function on a non-object in /virtual/beautypeau/public_html/shopping/catalog/includes/header.php on line 51

 

Please help me out what should I do?

Posted
Hi I am useing Oscommerce JP version.

I just install Basic Design Pack. After that I got erro messege that says

 

Fatal error: Call to a member function on a non-object in /virtual/beautypeau/public_html/shopping/catalog/includes/header.php on line 51

 

Please help me out what should I do?

 

Hi,

 

I do not know the jp version of oscommerce, but if you get a error in header.php you should do the following:

 

Take the original header.php from the jp oscommerce version and look for these lines around line, around line 55:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr class="header">

 

 

Above/over that you then paste in:

 

<div class="fixcenter">

 

Then you look for these lines just under:

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

and change them to this:

 

 

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

Now you can save this version of header.php and upload it to your site.....

 

 

By the way, the support tread for this contrib is here: Basic design Pack Support

Posted

I am sorry to responcse this messege.

I did try this but now I see

 

in /virtual/beautypeau/public_html/shopping/catalog/includes/functions/html_output.php on line 105

 

this error.

Posted
I am sorry to responcse this messege.

I did try this but now I see

 

in /virtual/beautypeau/public_html/shopping/catalog/includes/functions/html_output.php on line 105

 

this error.

 

 

1. Ask questions in this contributions support tread, Here....

 

2. Download the latest version, it has 3 different html_output.php files , if one dont work you can try one of the other 3. The difference between them can be read about in the read me file included in the contribution package.

Posted

Thank you very much for help.

I was going to use support BBS but I already did here so I put my message here.

Sorry.

I am going to use contributions support tread but the link was dead.

I am gona DL and try it.

Thank you very much.

Posted
Thank you very much for help.

I was going to use support BBS but I already did here so I put my message here.

Sorry.

I am going to use contributions support tread but the link was dead.

I am gona DL and try it.

Thank you very much.

 

 

Sorry, new link to support tread...

 

 

http://www.oscommerce.com/forums/index.php?showtopic=171671

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...