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
    Hertfordshire, UK
    Posts
    9,916
    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.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  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. Store Manager addon sees invalid Zen Cart db
    By JohnBoyCR in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2009, 05:52 PM
  2. Function of Module Manager addon
    By alimtlai in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Jan 2009, 09:37 AM
  3. Installing Zen Cart on addon-domain
    By DacorDave in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 8 Feb 2008, 05:34 AM
  4. tried installing the about me addon page.. help
    By ewalker3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Dec 2007, 11: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
  •