Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Class 'infoBoxHeading'


kittydesigner

Recommended Posts

Posted

hi all,

 

I'm a newbie and my first post so apologise if this topic has been covered before. I have done a search on google and this forum for an answer but with no luck.

 

I tried to make a link on my shopping cart header box which was working fine except that i didn't like it so i changed it back with the original files.

 

I am now getting this error on my main index page.

 

Fatal error: Class 'infoBoxHeading' not found in /home/sitename/public_html/includes/classes/shopping_cart.php on line 20

 

I have restored the original files:

 

/includes/classes/shopping_cart.php

/includes/classes/boxes.php

/includes/boxes/catergories.php files

 

I am still getting the error msg. I don't know what else to do. Help please. :(

Posted

Daisy,

 

Did you make changes to the stylesheet.css ?

 

Can you post the code from shopping_cart.php so we can see the changes ?

 

 

 

Chris

  • 7 months later...
Posted

Daisy,

 

Did you make changes to the stylesheet.css ?

 

Can you post the code from shopping_cart.php so we can see the changes ?

 

 

 

Chris

 

I have the same error. And I think I eliminate the InfoBox class, what can I do?

  • 2 weeks later...
Posted

Getting a similar error, but a different file (this error displays, when clicking on any product):

 

Fatal error: Class 'infoBox' not found in /home/*****/public_html/shop/product_info.php on line 6

 

Portion of code, from that file, containing the suspected line:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
 if ($product_check['total'] < 1) {
?>
     <tr>
       <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
     </tr> 
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
<?php

 

Any help on this would be great! (URL: http://jujitsu-do.com/shop/index.php)

 

Running in PHP 5.2.9

  • 2 weeks later...
Posted

Getting a similar error, but a different file (this error displays, when clicking on any product):

 

Fatal error: Class 'infoBox' not found in /home/*****/public_html/shop/product_info.php on line 6

 

Portion of code, from that file, containing the suspected line:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
 if ($product_check['total'] < 1) {
?>
     <tr>
       <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
     </tr> 
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
<?php

 

Any help on this would be great! (URL: http://jujitsu-do.com/shop/index.php)

 

Running in PHP 5.2.9

Archived

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

×
×
  • Create New...