I am attempting to duplicate a zencart. I want to have the same kind of cart for various cities. This is zen 1.3.8a, php 4.4.8 and MySQL 4.1.22-standard
Here are the steps I have taken so far.
===============
tar and gzip the public_html directory
Use phpMyadmin to export the zc1 database
Log in to SSH as root
Copy the public_html.tar.gz file to the new folder like
cd ~olduser
cp public_html.tar.gz /home/newuser
Navigate to new dir like
cd ~newuser
Rename the existing public_html file.
mv public_html orig_public_html
Unpack the tar file
tar -xzvf public_html.tar.gz
Give ownership to the new user (Recursive chown)
chown -R newuser:newuser public_html
Give write permission for the configure files (I had them set to 444)
chmod 744 public_html/includes/configure.php
chmod 744 public_html/admin/includes/configure.php
Log in to cpanel on new domain
Navigate to mysql databases
Create a database called "zc1"
Navigate to phpMyadmin
Click on the database
Click Import
Browse to X:\Sites\MYPATH\backups\olduser_zc1.sql
Click GO
Edit the configure files, change the domain name in a few places and replace olduser in a few places.
Put in the new password for the database.
Upload the configure files to the correct folders.
==========
Then I get this error on the cart page:
Sorry!
There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.
and this error on /admin:
0 DB_ERROR_NOT_CONNECTED
in:
[db_cache table]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Have I left something out, or is my logic completly off here, and this just won't work?
Bookmarks