Moving a Zen Cart Installation

Here’s how I moved my Zen Cart installation to a sub directory.

1.) Create a sub directory on your site via: FTP or however you know to.

2.) Move all files of your Zen-Cart installation into your sub directory.

3.) Edit 2 configuration files of your zen-cart.

  • /includes/configure.php
  • /admin/includes/configure.php

In /includes/configure.php you want to edit:


In /admin/includes/configure.php you want to edit:


In both of these files you simply want to add your <subdirectory> followed by a forward slash /

NOTE: All directories should not have a leading slash / and SHOULD ALL have a trailing /

define(‘HTTP_SERVER’, ‘’);

define(‘HTTP_SERVER’, ‘’);

define(‘DIR_WS_ADMIN’, ‘shopping-cart/admin/’);

4.) Now you need to access your database via: phpMyAdmin or NaviCat

In your Zen Cart database you want to edit the configuration table in the following fields:

  • Log Destination – STORE_PAGE_PARSE_TIME_LOG
  • Session Directory – SESSION_WRITE_DIRECTORY

Use the following utility if you don’t know how to do step4:

This worked great for me.
Please comment here if you try this or have any questions.
Thank you.

Related Posts

Linux – User Commands (finding users registered in the system)

Find all users and services registered in the system:

cat /etc/passwd

Find all users registered in the system:

cat /etc/passwd | grep “/home”

To add a user to a group:

usermod -G<group> <user>

To delete a user and their home directory: (Users can have a “home” directory)

userdel -r <user>

Things i came across setting up VPS (servers) on linux.  In the midst of creating a domain i created users and webmin failed on me, and when i fixed the issue webmin failed on me again saying this user was already existed on the unix system.  Please feel free to comment.

Related Posts

Related Posts

Upgrading PHP 5.1.2 to PHP 5.2 on Cent OS

Having problems installing PHP 5.2 on Cent OS, I could only get yum to update PHP to 5.1.2.  This was not acceptable considering I’m installing Magento on the server. I need at least PHP 5.2 to have Magento run properly, or as close as Magento gets to proper.

I got the following code from this Web Developer:
Run the following 2 lines to upgrade PHP to version 5.2

//beconfused » Blog Archive » How to solve ‘You do not have sufficient permissions to access this page.’ in WordPress

Posted from Diigo. The rest of my favorite links are here.

Linux commands – Groups

Find the groups the current user is in:


You can also find groups other users are in:

groups root

groups <user>

how to find all users of a group:

egrep "^groupname" /etc/group

Zen Cart Product Database Diagram

I Remade this diagram so i can read it on an 8×11 printer. 🙂 Enjoy

Zen Cart Product Database Diagram
Diagram of Product flow in the ZenCart Database

Windows opens search instead of drive or folder

Why is windows opening a search box instead of my drives in my computer?  Or why is windows opening searches when i double click folders.  Easy fix:

Open Registry Editor:  (Start menu – Run: regedit.exe)

In registry editor browse the tree on the left into: HKEY_CLASSES_ROOT /  (Directory / Drive) / Shell

Change Default to none

All Done