Thread: PHP Fatal Error

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Posts
    28
    Plugin Contributions
    0

    Default 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_heade r_right.php on line 23

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

    Code:
    <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

  2. #2
    Join Date
    Aug 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: PHP Fatal Error

    And I'm using 1.3.9f right now.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

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

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 PHP Fatal error Call-time pass-by-reference - tpl_yahootreemenu.php
    By RubenZ in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 6 Feb 2015, 05:24 PM
  2. v151 PHP Fatal error: Class 'QueryCache' (autoload_func.php)
    By Debbie2014 in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2012, 05:01 PM
  3. Replies: 14
    Last Post: 4 May 2012, 10:30 AM
  4. v150 PHP Fatal error: Out of memory in includes/modules/attributes.php
    By donnyb in forum General Questions
    Replies: 0
    Last Post: 6 Apr 2012, 12:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg