Technology Insights

How to Add a New Define Pages Page to the Information SideBox in ZenCart

This article describes how to add a link to the Information sidebox that links to a new page in the defined pages section. You will be required to create files, modify files, and insert SQL code into the MySQL database.

In the instructions below yourpage or YOURPAGE is the title of the page you are adding. For instance if you wanted to add one called technology you would replace YOURPAGE and yourpage with technology and TECHNOLOGY. The actual file would be technology.php.

1. Modify File:

Modify the following file <zencart-root>/includes/filenames.php by adding the following two lines of code:


  1. define('FILENAME_DEFINE_YOURPAGE', 'define_yourpage');
  2. define('FILENAME_YOURPAGE', 'yourpage');



  1. define('FILENAME_DEFINE_PRIVACY', 'define_privacy');
  2. define('FILENAME_PRIVACY, 'privacy');


Technology Errors

Failed during this command: RGARCIA/perl-5.10.0.tar.gz : make NO isa perl

First let me say I am not very familiar with Perl or with CPAN so this is to hopefully help out anyone else in my shoes. I received the below type of error during various attempts at installing items from the CPAN shell. I will provide a couple examples of the errors as well as how I figured out that in reality I already had the latest version installed for my version of Perl, which is Perl 5.8.8, and the error was really saying there is a new version but Perl 5.10.0 is required.

Technology Errors

Can’t use string (“CPAN::Tarzip”) as a HASH ref while “strict refs” in use at /usr/lib/perl5/5.8.8/CPAN/ line 94.

The below error message was received after starting the CPAN shell and running “install Class::Accessor”. It was after upgrading the message so to resolve this issue either just reload or upgrade and reload. Both sets of steps are detailed below.

Error: Can’t use string (“CPAN::Tarzip”) as a HASH ref while “strict refs” in use at /usr/lib/perl5/5.8.8/CPAN/ line 94.

If you have not upgraded complete the following from the CPAN shell.
1. Open CPAN: perl -MCPAN -e shell
2. Upgrade install Bundle::CPAN

Technology Insights

CentOS 5.2 /etc/sysconfig/networking

The file located in /etc/sysconfig/networking/profiles are created by the GUI network interface management tool. These files should not be edited manually and when changes need to be made they should be made directly to the files as shown below. CentOS 5 is easy to get around from the command line and it is beneficial to understand each of the below files if you are going to manage a server.

Need to make a change to hostname?
First modify /etc/sysconfig/network and modify the following line: