Forums / Installing on a Linux/Unix Server / Blank amdin page - already tried suggested solutions from FAQs and Forum

Blank amdin page - already tried suggested solutions from FAQs and Forum

Views: 2,400

Results 1 to 13 of 13
26 Sep 2014, 1:40 AM
#1
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Blank amdin page - already tried suggested solutions from FAQs and Forum

Hi,

I hope you could help again. I thought that I have moved my zen cart to another server successfully. I tested the newly installed website and it worked beautifully. I was even able to get into the admin area after the successful installation. A day later, I bought a second domain which was installed in the arrangement below. However, when I tried to log into the admin folder 2 days later by typing in the http address mydomain.com/zencart/admin, I got a blank page with no error or explanation. When I examined the error log file on my cpanel provided by the hosting company, the error was "the file does not exist".

I have tried to follow the posted instructions on this website to solve the problem without any success. Now, I am thinking about starting from scratch by doing another fresh installation of the zen cart. My questions are:

-do I need to delete everything related to the existing zen cart?

I have a second domain name situating in the arrangement below:
root (it is where my domain.com/index.php locates)
-root/seconddomain.com/
-root/zencart/

-does my seconddomain.com interfere with zencart? do I have to relocate it to somewhere else? I am asking this question because one of my error messages referred the seconddomain.com folder

-do I have to do anything with the existing database? It works well currently.

Thanks again for your help

26 Sep 2014, 2:23 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

keithduong:

Hi,

I hope you could help again. I thought that I have moved my zen cart to another server successfully. I tested the newly installed website and it worked beautifully. I was even able to get into the admin area after the successful installation. A day later, I bought a second domain which was installed in the arrangement below. However, when I tried to log into the admin folder 2 days later by typing in the http address mydomain.com/zencart/admin, I got a blank page with no error or explanation. When I examined the error log file on my cpanel provided by the hosting company, the error was "the file does not exist".

I have tried to follow the posted instructions on this website to solve the problem without any success. Now, I am thinking about starting from scratch by doing another fresh installation of the zen cart. My questions are:

-do I need to delete everything related to the existing zen cart?

I have a second domain name situating in the arrangement below:
root (it is where my domain.com/index.php locates)
-root/seconddomain.com/
-root/zencart/

-does my seconddomain.com interfere with zencart? do I have to relocate it to somewhere else? I am asking this question because one of my error messages referred the seconddomain.com folder

-do I have to do anything with the existing database? It works well currently.

Thanks again for your help

This writeup is very vague. What file doesn't exist?
Someone I know that has multiple domains pointing to the same server had to remove the period from the alternate domain folder name. What are the settings/values in the various configure.php files? (Second domain/includes/configure.php and it's admin for example?) Probably easiest to help by posting them rather than saying they are correct. Though the actual admin directory path in the admin version should be obscured.
Where is the second domain pointing? What is in the .htaccess file in root if there is one?

What plugins are installed on both versions assuming that there are only two carts, not a third at root. Are the databases different for each cart or are they all the same database? Doing a new install will pretty much square away the configure.php files if they are an issue, but will also clear the database if nothing is done to maintain it. What version of the software was used to install the second site/how was it created.

Soooo much more can be asked, but as one can see,much more needs to be provided unless access is granted to allow independent review, diagnosis, and resolution..

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

26 Sep 2014, 1:00 PM
#3
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

mc12345678:

This writeup is very vague. What file doesn't exist?
Someone I know that has multiple domains pointing to the same server had to remove the period from the alternate domain folder name. What are the settings/values in the various configure.php files? (Second domain/includes/configure.php and it's admin for example?) Probably easiest to help by posting them rather than saying they are correct. Though the actual admin directory path in the admin version should be obscured.
Where is the second domain pointing? What is in the .htaccess file in root if there is one?

What plugins are installed on both versions assuming that there are only two carts, not a third at root. Are the databases different for each cart or are they all the same database? Doing a new install will pretty much square away the configure.php files if they are an issue, but will also clear the database if nothing is done to maintain it. What version of the software was used to install the second site/how was it created.

Soooo much more can be asked, but as one can see,much more needs to be provided unless access is granted to allow independent review, diagnosis, and resolution..

Thanks for your input, please find below additional details.

This writeup is very vague. What file doesn't exist?

When I tried to log in to the admin folder by typing in the http address mydomain.com/zencart/admin, I got a blank page with no error or explanation. When I examined the error log file on my cpanel provided by the hosting company, the error was "the file does not exist". Here are a few examples from the error log:

File does not exist:../root/seconddomain.com/robots.txt
File does not exist:../root/robots.txt
File does not exist:../root/zencart/robots.txt

One observation, the file name jumps around from one folder to another.

Where is the second domain pointing? What is in the .htaccess file in root if there is one? What plugins are installed on both versions?

I just bought a second domain name and hostpapa installed the seconddomain.com folder for me where it sits. I have not touched or developed it yet. There is only 1 cart installed for the primary domain name.

By the way, after I followed one of the instructions from this website to change the .htaccess file to .htaccess_bak, I did not see the file .htacess_bak anywhere. What happens to the file? How do I bring it back?

Thanks again for your help

27 Sep 2014, 12:41 AM
#4
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

What is in the Zen Cart "debug" logs (please use the forum editor's [ CODE] tags when posting logs)?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

27 Sep 2014, 2:32 AM
#5
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

lhungil:

What is in the Zen Cart "debug" logs (please use the forum editor's [ CODE] tags when posting logs)?

Hi,

Thanks for your question, here are the details:

[21-Sep-2014 21:41:02] PHP Fatal error: 1146:Table accountxxx.zen_configuration' doesn't exist :: select configuration_key as cfgkey, configuration_value as cfgvalue from zen_configuration in /accountxxx/includes/classes/db/mysql/query_factory.php on line 120

But I think this error might have been solved as the date was old. I found the error below which might be more interesting as it happened yesterday 9/25

PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (HY000/2003): Can't connect to MySQL server on 'yyy' (110) in /root/config.php on line 22

where yyy refers to my previous server from a different hosting service.

If you don't mind, I have some questions:

-does zen cart use any file named config.php?
-why when I type the http address mydomain.com/zencart/admin, the system refers to my previous server from a different hosting service?
-does the word 'dir' interfere with the server's operating system if one uses it to refer to a folder?

Thanks again for your help

27 Sep 2014, 2:27 PM
#6
potteryhouse avatar

potteryhouse

Zen Follower

Join Date:
Jun 2012
Location:
Florida
Posts:
123
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

Hi,
Maybe this will help in understanding the configuration (I think you are looking to create).
It seems to me based on what I have read, you want to have two complete Zen Cart installations on the same server (not using any sort of multisite add on Mod).

If my assumption is correct you want to have:
https://www.domain1.com
https://www.domain2.com

Two domains on the same host as separate stores.
There are some things with this configuration you should be aware of:

  1. The primary domain will be the only domain with an SSL and a dedicated IP address.
  2. The secondary domains will use the primary domains SSL and IP, but only if properly configured.
  3. The secondary domains will show the path through the primary domain when making sales or using "https://" (i.e., https://www.domain1.com/SecondDomain/index.php)
  4. There will be some extra configuration effort for some of the "Plugins" available in Zen Cart to make them work correctly.
  5. There is extra effort for store owner to manage sales, customers, etc.
  6. Upgrades and maintenance tend to be tedious.
  7. You can get "multi Domain" SSL from some hosting providers, but you will still only have one dedicated IP.
  8. The 'multisite" plugin might help overcome some of these issues, but that plugin takes some effort to install and properly configure (I am trying that myself now).
  9. After install, the zc_install folder must be removed and the "admin" folder must be renamed.
  10. The files "configure.php" must be set to "read only".

To accomplish this configuration the first domain (https://www.domain1.com) must be set as the primary domain on the hosting account.
The second domain will be an "Add On" domain (https://www.domain2.com).
Domain2 (the "Add On" domain) will point to a folder (SecondDomain)(use whatever name you want for the folder) under you public_html (or whatever name the hosting company used on your site for the root).

Install the first Zen Cart to the root of your site, and the second copy to the sub-folder you create (i.e., SecondDomain).

Simulated "root" folder structure:

admin
cache
docs
download
editors
email
extras
favicon.ico
images
includes
index.php
install.txt
ipn_main_handler.php
license.txt
logs
mcs_learn_more.html
media
nddbc.html
page_not_found.php
pub
[B]SecondDomain[/B]
README.md
robots_example.txt
vbv_learn_more.html

In this scenario both "stores" will have a full set of Zen Cart files, each with there own database.
Thus you will have two separate "admins" to manage the stores and there respective looks via templates, tracking sales, etc..

As for the configuration of the "includes/configuration.php" files the primary store/domain should be set-up by default when you first install.
Normally the following configure.php files will be set-up correctly when you install Zen Cart, this is provided as a reference only.

Assuming installation of Zen Cart 1.5.3

Primary Domain (includes/configure.php):

  define('HTTP_SERVER', 'http://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');


  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/cache');

Primary Domain (/admin/includes/configure.php):

  define('HTTP_SERVER', 'https://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');
  define('HTTP_CATALOG_SERVER', 'https://www.domain1.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  
  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/cache');

Second Domain (/SecondDomain/includes/configure.php):

  define('HTTP_SERVER', 'http://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/[B]SecondDomain[/B]/');
  define('DIR_WS_HTTPS_CATALOG', '/[B]SecondDomain[/B]/');


  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/cache');

Second Domain (/SecondDomain/admin/includes/configure.php):

  define('HTTP_SERVER', 'https://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');
  define('HTTP_CATALOG_SERVER', 'https://www.domain1.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/[B]SecondDomain[/B]/');
  define('DIR_WS_HTTPS_CATALOG', '/[B]SecondDomain[/B]/');
  
  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/cache');

Notice that the "http://" settings are the same between the primary and secondary domains.
Paths to sub folders are different.

In the "c-panel" using the domain controller:

  1. The primary domain name should point to the root of you site (which should be the normal or default set-up that the host had installed).
  2. The second domain should be pointed at the folder that the second copy of Zen Cart is installed "SecondDomain"

Example site using this concept:
http://1potteryhouse.com/
http://tikidecorstore.com/
http://www.caribbeanrays.com/

Good Luck.

**Backup F****iles **and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.

29 Sep 2014, 8:32 PM
#7
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

potteryhouse:

Hi,
Maybe this will help in understanding the configuration (I think you are looking to create).
It seems to me based on what I have read, you want to have two complete Zen Cart installations on the same server (not using any sort of multisite add on Mod).

If my assumption is correct you want to have:
https://www.domain1.com
https://www.domain2.com

Two domains on the same host as separate stores.
There are some things with this configuration you should be aware of:

  1. The primary domain will be the only domain with an SSL and a dedicated IP address.
  2. The secondary domains will use the primary domains SSL and IP, but only if properly configured.
  3. The secondary domains will show the path through the primary domain when making sales or using "https://" (i.e., https://www.domain1.com/SecondDomain/index.php)
  4. There will be some extra configuration effort for some of the "Plugins" available in Zen Cart to make them work correctly.
  5. There is extra effort for store owner to manage sales, customers, etc.
  6. Upgrades and maintenance tend to be tedious.
  7. You can get "multi Domain" SSL from some hosting providers, but you will still only have one dedicated IP.
  8. The 'multisite" plugin might help overcome some of these issues, but that plugin takes some effort to install and properly configure (I am trying that myself now).
  9. After install, the zc_install folder must be removed and the "admin" folder must be renamed.
  10. The files "configure.php" must be set to "read only".

To accomplish this configuration the first domain (https://www.domain1.com) must be set as the primary domain on the hosting account.
The second domain will be an "Add On" domain (https://www.domain2.com).
Domain2 (the "Add On" domain) will point to a folder (SecondDomain)(use whatever name you want for the folder) under you public_html (or whatever name the hosting company used on your site for the root).

Install the first Zen Cart to the root of your site, and the second copy to the sub-folder you create (i.e., SecondDomain).

Simulated "root" folder structure:

admin
cache
docs
download
editors
email
extras
favicon.ico
images
includes
index.php
install.txt
ipn_main_handler.php
license.txt
logs
mcs_learn_more.html
media
nddbc.html
page_not_found.php
pub
[B]SecondDomain[/B]
README.md
robots_example.txt
vbv_learn_more.html

> 
> 
> In this scenario both "stores" will have a full set of Zen Cart files, each with there own database. 
> Thus you will have two separate "admins" to manage the stores and there respective looks via templates, tracking sales, etc..
> 
> 
> As for the configuration of the "includes/configuration.php" files the primary store/domain should be set-up by default when you first install.
> Normally the following configure.php files will be set-up correctly when you install Zen Cart, this is provided as a reference only.
> 
> 
> Assuming installation of Zen Cart 1.5.3
> 
> 
> Primary Domain (includes/configure.php):
> ```
  define('HTTP_SERVER', 'http://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');


  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/cache');

Primary Domain (/admin/includes/configure.php):

define('HTTP_SERVER', 'https://www.domain1.com');
define('HTTPS_SERVER', 'https://www.domain1.com');
define('HTTP_CATALOG_SERVER', 'https://www.domain1.com');
define('HTTPS_CATALOG_SERVER', 'https://www.domain1.com');

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/');
define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/cache');

> 
> 
> Second Domain (/**SecondDomain**/includes/configure.php):
> ```
  define('HTTP_SERVER', 'http://www.domain1.com');
  define('HTTPS_SERVER', 'https://www.domain1.com');


  define('DIR_WS_CATALOG', '/[B]SecondDomain[/B]/');
  define('DIR_WS_HTTPS_CATALOG', '/[B]SecondDomain[/B]/');


  define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/');
  define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/cache');

Second Domain (/SecondDomain/admin/includes/configure.php):

define('HTTP_SERVER', 'https://www.domain1.com');
define('HTTPS_SERVER', 'https://www.domain1.com');
define('HTTP_CATALOG_SERVER', 'https://www.domain1.com');
define('HTTPS_CATALOG_SERVER', 'https://www.domain1.com');

define('DIR_WS_CATALOG', '/[B]SecondDomain[/B]/');
define('DIR_WS_HTTPS_CATALOG', '/[B]SecondDomain[/B]/');

define('DIR_FS_CATALOG', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/');
define('DIR_FS_SQL_CACHE', '/home/hostassingedname/public_html/[B]SecondDomain[/B]/cache');

> 
> 
> Notice that the "http://" settings are the same between the primary and secondary domains.
> Paths to sub folders are different.
> 
> 
> In the "c-panel" using the domain controller:
>   1. The primary domain name should point to the root of you site (which should be the normal or default set-up that the host had installed).
>   2. The second domain should be pointed at the folder that the second copy of Zen Cart is installed "**SecondDomain**"
> 
> 
> Example site using this concept:
>   <http://1potteryhouse.com/>
>   <http://tikidecorstore.com/>
>   <http://www.caribbeanrays.com/>
> 
> 
> Good Luck.

Hi,

Thanks, your inputs will be extremely useful later when I develop the second domain name. However, at this point, I am hoping to get one zen cart to work with my primary domain name.

-I just did a fresh re-installation of the zen cart using the one-click process provided by Hostpapa. After the installation, I was able to get in and out of the admin panel through the admin login page without any problem.

-Next, I uploaded (ftp) the files that I used with my zen cart at the previous hosting service.
-Then, I changed the fields DB_SERVER_USERNAME, DB_SERVER_PASSWORD and DB_DATABASE in the /includes/configure.php and /admin/includes/configure.php files using the previous settings for the previous database. It was working before the re-installation and I would like to use its data.
-The result is that everything is working including the zen cart, except again, I got a blank admin login page.

I would really appreciate your letting me know what I did incorrectly.

Thanks again
29 Sep 2014, 8:47 PM
#8
potteryhouse avatar

potteryhouse

Zen Follower

Join Date:
Jun 2012
Location:
Florida
Posts:
123
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

-Then, I changed the fields DB_SERVER_USERNAME, DB_SERVER_PASSWORD and DB_DATABASE in the /includes/configure.php and /admin/includes/configure.php files using the previous settings for the previous database. It was working before the re-installation and I would like to use its data.
-The result is that everything is working including the zen cart, except again, I got a blank admin login page.

Based on your database changes you mentioned, I suspect that the issue is directly related to the database.
Did you move your database from the previous host to the new host (i.e., export the database and import it to the new host, and than create the database user name and give it permissions to the database.)?

On the old host what version of Zen Cart were you using, I assume the new host has 1.5.3 installed, if you were using an older database version and did not update the database using the upgrade tool than the database will not work correctly.

Just some thoughts.

**Backup F****iles **and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.

29 Sep 2014, 8:57 PM
#9
potteryhouse avatar

potteryhouse

Zen Follower

Join Date:
Jun 2012
Location:
Florida
Posts:
123
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

Also, look at the "Log" files in the folder logs, this will often help to find what is crashing the page load process.

**Backup F****iles **and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.

30 Sep 2014, 2:09 AM
#10
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

potteryhouse:

Also, look at the "Log" files in the folder logs, this will often help to find what is crashing the page load process.

Hi,

Thanks again, I believe you were absolutely right. Regarding the zen cart version, Godaddy (my previous hosting service) had 1.5.1 where as hostpapa (my current hosting service) has 1.5.3.

Also, I looked at the root folder (public_html) error log, most recently (tonight, 9/29) the error was: File does not exist: /public_html/old-directory-from-previous-hosting, referer: http://mydomain.com/old-directory-from-previous-hosting/index.php.

I would appreciate your help to direct me to where I can find instructions to solve these problems.

Thank you in advance

30 Sep 2014, 2:58 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

My thoughts from the changes described having been done to the configure.php files > Then, I changed the fields DB_SERVER_USERNAME, DB_SERVER_PASSWORD and DB_DATABASE in the /includes/configure.php and /admin/includes/configure.php files using the previous settings for the previous database. It was working before the re-installation and I would like to use its data.

The other changes necessary to work on thisnew host have not been made...
Constants: (words in all capital letters such as DB_SERVER_PASSWORD) that include FS are file server path constants and are specific to the host serving the content. These constants exist in both the store and the admin side. The cPanel should list what the path is to the files so that the proper path can be entered for each such constant. The constants with WS in their name are webserver constants and relate to what customers see when viewing the web page's source code or intheir uri or would need to be modified if the relative location of the directory names are the same here aas the previous location.

The other thing, the "easy install" that is offered by the host is also suspect as some sort of modification was made to make this work, and more than likely the code is different than what is provided via http://www.zen-cart.com/getit and those differences could also cause problems in the future.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Oct 2014, 10:43 AM
#12
potteryhouse avatar

potteryhouse

Zen Follower

Join Date:
Jun 2012
Location:
Florida
Posts:
123
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

Moving Zen Cart from One hosting company to another.


I have used the following steps to move a Zen Cart installation from one account to another (it does take some effort).
I have write the steps I recall, but probably have forgotten some....... USE WITH CAUTION 


DISCLAIMER: Use these steps at your own risk, I have tried to make them clear but you are ultimately responsible.


Preparation:
On "Old Host":
    1. Backup all current site files (Zen Cart files, email files, SSL, and any other files you want to keep for record or reuse).
    2. Export the Zen Cart database (tables structures and data) (very important to ensure you have a "good" copy of your database).
    3. Save all files and the database locally.
    
On "New Host" (this assumes you have new hosting account with access to C-Panel and phpMyAdmin):
    1. Install a "Clean" fresh copy of Zen Cart (normally using a provided wizard from the hosting company). 
        a. Test to ensure the Store is working properly.
        b. Make note of the Admin password and folder name that was used for the new installation.
        (note: During an automated install most hosts will create the database, assign the database user-name, rename the admin folder, and delete the installation folder.)
    2. From C-Panel, locate the tool used to create a new database (Hostmonster.com call this "MySQL Databases"). Using this tool.
        a. Create a new "database" (remember the database name used).
        b. Create the new database "user" (remember the user-name and the password).
        c. Assign the new "user" to the new "database".
    3. From the C-Panel, access phpMyAdmin and login. This will provide access to the databases.
        a. Locate the database created in previous step and select.
        b. Using the "SQL" tab, import (or copy and paste if you prefer and the file is not too large) the data that you exported from the "Old Host" database.
        c. Using phpMyAdmin review the tables and data to ensure they look correct, do not change data....
    4. Update the configure.php files with the new database information.
        a. On your new host find the file "includes/configure.php"
        b. Change the file from read-only to writeable.
        c. Update the database related information to match the new database you created above.
            DB_SERVER_USERNAME, DB_SERVER_PASSWORD and DB_DATABASE
        d. Change the file permission back to read-only.
        e. Repeat these steps on the "/admin/includes/configure.php" (remember that the admin folder name will have been changed)


These steps assume you have customized the version of Zen Cart you are moving (added "Plugins" and Customized Template Theme):
    1. Apply the modifications to the new Zen Cart installation (DO NOT JUST REPLACE FILES) using whatever comparison tool you are comfortable with.
        a. Install new versions of the "Plugins" that support Zen Cart version 1.5.3.
        b. Update your "Custom Template Files", many of these may need to be changed / updated 
            - Compare your files to the "clean" versions in the new installation to verify what changes may be needed.
        
These steps assume the database version must be updated from 1.5.x to 1.5.3
    1. Next you will update the database to the new version:
        a. Download Zen Cart 1.5.3 from [URL]http://www.zen-cart.com/[/URL].
        b. Extract the files locally.
        c. Using FTP, upload "ONLY" the zc_install folder to the new host.
        d. Access the install files via "http://yourdomainname/zc_install/index.php"
        c. Follow the prompts, you will only need to update the database, so can ignore the "configure.php" access warnings.
    2. Access your "Admin"
        a. Log-in to the admin ""http://yourdomainname/admin/index.php"
        b. Review and update the information under "Configuration" especially the items related to logs, and paths to the "cache" as they will need to be updated to reflect the new host and new installation.
        
        TEST TEST TEST and than TEST again to ensure everything is working.

**Backup F****iles **and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.

1 Oct 2014, 1:02 PM
#13
keithduong avatar

keithduong

New Zenner

Join Date:
Jan 2014
Location:
ottawa, ontario, canada
Posts:
18
Plugin Contributions:
0

Re: Blank amdin page - already tried suggested solutions from FAQs and Forum

potteryhouse:

Moving Zen Cart from One hosting company to another.

I have used the following steps to move a Zen Cart installation from one account to another (it does take some effort).
I have write the steps I recall, but probably have forgotten some....... USE WITH CAUTION

DISCLAIMER: Use these steps at your own risk, I have tried to make them clear but you are ultimately responsible.

Preparation:
On "Old Host":
1. Backup all current site files (Zen Cart files, email files, SSL, and any other files you want to keep for record or reuse).
2. Export the Zen Cart database (tables structures and data) (very important to ensure you have a "good" copy of your database).
3. Save all files and the database locally.

On "New Host" (this assumes you have new hosting account with access to C-Panel and phpMyAdmin):
1. Install a "Clean" fresh copy of Zen Cart (normally using a provided wizard from the hosting company).
a. Test to ensure the Store is working properly.
b. Make note of the Admin password and folder name that was used for the new installation.
(note: During an automated install most hosts will create the database, assign the database user-name, rename the admin folder, and delete the installation folder.)
2. From C-Panel, locate the tool used to create a new database (Hostmonster.com call this "MySQL Databases"). Using this tool.
a. Create a new "database" (remember the database name used).
b. Create the new database "user" (remember the user-name and the password).
c. Assign the new "user" to the new "database".
3. From the C-Panel, access phpMyAdmin and login. This will provide access to the databases.
a. Locate the database created in previous step and select.
b. Using the "SQL" tab, import (or copy and paste if you prefer and the file is not too large) the data that you exported from the "Old Host" database.
c. Using phpMyAdmin review the tables and data to ensure they look correct, do not change data....
4. Update the configure.php files with the new database information.
a. On your new host find the file "includes/configure.php"
b. Change the file from read-only to writeable.
c. Update the database related information to match the new database you created above.
DB_SERVER_USERNAME, DB_SERVER_PASSWORD and DB_DATABASE
d. Change the file permission back to read-only.
e. Repeat these steps on the "/admin/includes/configure.php" (remember that the admin folder name will have been changed)

These steps assume you have customized the version of Zen Cart you are moving (added "Plugins" and Customized Template Theme):
1. Apply the modifications to the new Zen Cart installation (DO NOT JUST REPLACE FILES) using whatever comparison tool you are comfortable with.
a. Install new versions of the "Plugins" that support Zen Cart version 1.5.3.
b. Update your "Custom Template Files", many of these may need to be changed / updated
- Compare your files to the "clean" versions in the new installation to verify what changes may be needed.

These steps assume the database version must be updated from 1.5.x to 1.5.3
1. Next you will update the database to the new version:
a. Download Zen Cart 1.5.3 from [URL]http://www.zen-cart.com/[/URL].
b. Extract the files locally.
c. Using FTP, upload "ONLY" the zc_install folder to the new host.
d. Access the install files via "http://yourdomainname/zc_install/index.php"
c. Follow the prompts, you will only need to update the database, so can ignore the "configure.php" access warnings.
2. Access your "Admin"
a. Log-in to the admin ""http://yourdomainname/admin/index.php"
b. Review and update the information under "Configuration" especially the items related to logs, and paths to the "cache" as they will need to be updated to reflect the new host and new installation.

    TEST TEST TEST and than TEST again to ensure everything is working.

Hi,

Thank you all for your inputs, I did another fresh installation of the same version (1.5.1) of my previous zen cart and followed the instructions from the link "I want to move my Zen Cart installation to another host or a different server  " carefully. It looks like the zen cart and its admin page are working properly. However, I agree with you that further testing is necessary.

Thanks again