Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default /includes/modules/pages/redirect/header_php.php has no notifier hook

    The file /includes/modules/pages/redirect/header_php.php does not include a call to $zco_notifier->notify() at its onset, making it impossible to override with an observer class. Suggested correction:
    Code:
    <?php
    /**
     * redirect handler 
     *
     * @package page
     * @copyright Copyright 2003-2011 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header_php.php 19516 2011-09-14 21:27:30Z wilt $
     */
    if (!defined('IS_ADMIN_FLAG')) {
      die('Illegal Access');
    }
    // This should be the first line of the script
    $zco_notifier->notify('NOTIFY_HEADER_START_REDIRECT');
    
    switch ($_GET['action']) {
    Last edited by lat9; 7 Oct 2012 at 12:29 PM.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 10 Apr 2013, 03:46 PM
  2. v139h Can I override the /includes/modules/pages/shopping_cart/header_php.php ?
    By devyani in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Mar 2013, 10:59 PM
  3. v151 Target File Already Exists:\includes\modules\pages\payer_auth_verifier\header_php.php
    By EdsGoodStuff in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 21 Dec 2012, 04:27 PM
  4. how to override includes > modules > pages > page_folder > header_php.php
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Feb 2008, 05:45 PM

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