Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    red flag Urgent help - quick fix? Broken site after installing Ad Manager addon

    I was loading the files for the Ad Manager mod and then proceeded to test the checkout process and then the checkout confirmation page was broken. I removed all Ad Manager files, but it's still broken with this error:
    Fatal error: Call to a member function process() on a non-object in .../includes/templates/apple_zen/templates/tpl_checkout_confirmation_default.php on line 180

    Line 180 has always been the same and wasn't modified:
    Code:
    <?php
      if (MODULE_ORDER_TOTAL_INSTALLED) {
        $order_totals = $order_total_modules->process();
    ?>
    I'm not a programmer and was simply trying to install Ad Manager based on this post http://www.zen-cart.com/forum/showth...ght=ad+manager. Can someone point me in the right direction based on the error message?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Urgent help - quick fix?

    I have not used this module, so cannot help with specifics, but the general rule is this:-

    If a module OVERWRITES existing files, you should make a BACKUP of those files before you install the module. The same "rule" applies if the module modifies the database - backup the dbase first.

    To "un-do" the faults, you need to get your setup to the point where it was BEFORE you installed the module.

    So...

    1. Remove all ADDITIONAL files that the module loaded up.
    2. Replace all files the module overwrote, with their originals from a set of the core files of the version of zc you are using.

    3. (if necessary), RESTORE your database from the backup.
    19 years a Zencart User

  3. #3
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Urgent help - quick fix?

    Thank you for the tips. I backed up everything before implementing the mod and tried to replace the necessary files, but I'll try again. Just wanted to make sure I wasn't missing something by encountering a common error message. I will check back with you soon.

  4. #4
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Urgent help - quick fix? Broken site after installing Ad Manager addon

    Fixed the issue by replacing a couple of core files. The Ad Manager mod has a couple of instructions that broke my checkout page, so I reverted back and it seems to be working at the moment.

 

 

Similar Threads

  1. admin menu broken after installing many conflicting plugins
    By joem83 in forum Customization from the Admin
    Replies: 21
    Last Post: 9 Oct 2012, 06:15 AM
  2. 1064 Error after installing Time Zone Fix addon
    By HFProjekte in forum General Questions
    Replies: 3
    Last Post: 6 Aug 2011, 11:01 AM
  3. URGENT DB Connection Issue - site broken by installing zenmagick
    By autoace in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 6 Feb 2010, 12:20 AM
  4. URGENT HELP ME PLEASE!!!! Site broke after template switch?
    By linnx in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jun 2009, 06:42 AM
  5. Replies: 3
    Last Post: 9 Apr 2009, 08:11 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR