Forums / General Questions / PHP Fatal Error

PHP Fatal Error

Locked
Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Aug 2010, 08:52
#1
bogyi avatar

bogyi

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

PHP Fatal Error

Hi I have a problem. I try to load the page however is stops after it gets to the currencies tab. The rest of the page stays blank. When i open debug file it says:

PHP Fatal error: Call to undefined method currencies::display_symbol_left() in D:\xampp\htdocs\evanga\includes\templates\mytemplate\templates\tpl_modules_header_right.php on line 23

However the code that causes the problem seems fine to me.

<a title="Currencies" rel="nofollow" class="three outer" href="<?php echo $_SERVER['REQUEST_URI'];?>#nogo">Currencies: <em><?php echo $currencies->display_symbol_left($_SESSION['currency']);?></em>


I couldn't find anything on the internet about this and it worked fine in 1.3.8a

Does someone know what I have to do to make this work?

Thanks in Advance
24 Aug 2010, 09:03
#2
bogyi avatar

bogyi

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

Re: PHP Fatal Error

And I'm using 1.3.9f right now.
24 Aug 2010, 09:34
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: PHP Fatal Error

Your custom code is calling a method/function that doesn't exist on your site, and doesn't exist in original Zen Cart files.

Perhaps you're missing additional custom code from your currencies.php class file that you forgot to copy into your new site when you upgraded?