Quote Originally Posted by lat9 View Post
Hmm, I'm wondering how many other admin plugins are going to have this same problem. The issue is in the file /YOUR_ADMIN/includes/extra_datafiles/testimonials_manager.php:
Code:
<?php
/**
 * Testimonials Manager
 *
 * @package Template System
 * @copyright 2007 Clyde Jones
  * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: Testimonials_Manager.php v1.5.0 4-9-2012 CountryCharm $
 */
 
  define('TABLE_TESTIMONIALS_MANAGER', DB_PREFIX . 'testimonials_manager');
  define('FILENAME_TESTIMONIALS_MANAGER', 'testimonials_manager.php');
  define('BOX_CONFIGURATION_TESTIMONIALS_MANAGER', 'Testimonials Manager');//for 1.5
?>
Looks fine, right? Unfortunately, the process in /YOUR_ADMIN/includes/init_includes/init_admin_auth.php strips the .php from the filename when doing the compare for authorization. That is, for this case, the comparison is between testimonials_manager.php and testimonials_manager ... resulting in a miscompare and ultimately resulting in the authorization denied message you received.

To correct, change the above testimonials_manager.php file to:
Code:
<?php
/**
 * Testimonials Manager
 *
 * @package Template System
 * @copyright 2007 Clyde Jones
  * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: Testimonials_Manager.php v1.5.0 4-9-2012 CountryCharm $
 */
 
  define('TABLE_TESTIMONIALS_MANAGER', DB_PREFIX . 'testimonials_manager');
  define('FILENAME_TESTIMONIALS_MANAGER', 'testimonials_manager');
  define('BOX_CONFIGURATION_TESTIMONIALS_MANAGER', 'Testimonials Manager');//for 1.5
?>
Thanks again for your support.