RE: Need help with attributes

Ajeh <[email protected]>
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <efa8b42b80e96cdf1373eb92fe086c0c@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=227968#227968
----------------------------------------------------------------

[quote="Paycheck"]Results are this Linda:


[code]Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/mrculina/public_html/catalog/includes/classes/currencies.php on line 74

Fatal error: Cannot instantiate non-existent class: currencies in /home/mrculina/public_html/catalog/includes/application_top.php on line 243[/code][/quote]

Most likely you are missing or have an extra }

Make sure the bottom of your currencies.php reads:
[code]
    function display_price($products_price, $products_tax, $quantity = 1) {
      if ($products_price==0) {
        return '';
      } else {
        return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
      }
    }
  }
?>
[/code]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.