Zen Cart Logo
Forums / Installing on a Linux/Unix Server / admin not working after moving from local site to server

admin not working after moving from local site to server

Views: 5,416

Results 1 to 12 of 12
6 Mar 2011, 8:01 PM
#1
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

admin not working after moving from local site to server

Hi, I recently developed a Zen Cart installation on my personal computer and moved it online.

I read all of the Zen Cart FAQs for moving, and for installation, and had both of those files right there while I did the process, following every step closely.

All of my directories are listed in the configure files properly, are now set to read only like they should, admin folder is renamed and the changes reflected correctly in the configure file.

When I go to my admin page, I'm getting the message that system setup is required, even though, I just got the success page a few minutes ago.

Any idea what I might do?

HELP!

6 Mar 2011, 8:19 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: admin not working after moving from local site to server

Are you sure you typed in the correct path to the admin panel??
Is this a fresh install or a upgrade
click on the Cache folder in the root directory post any error logs please..

6 Mar 2011, 8:36 PM
#3
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

Re: admin not working after moving from local site to server

I did a fresh install, and per the instructions here:

https://www.zen-cart.com/tutorials/index.php?article=99

When I got to the store setup screen I exited the installation, renamed my configure files, renamed my admin folder, set the privileges, and went to login and up comes the System Setup Required page.

I then went back, to do installation again after not being able to get to the admin login page.

This time when I entered installation, I told it to do an upgrade, but left all the boxes blank, and basically skipped through the portion of the installation that would have overwritten my database.

Repeated all of the privileges and admin folder path, config files, etc., same problem.

The database is in tact, the website is displaying properly, I just can't login because when I go to the admin directory, it's telling me system setup is required.

I'm banging my head against the wall right now.

6 Mar 2011, 9:25 PM
#5
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

Re: admin not working after moving from local site to server

I deleted everything and am starting over.

Question:

I have a SSL certificate, but being as I'm having all of these problems, I'm going to leave it disabled by default, and worry about it, once I'm actually logged into the admin area.

In the configure.php files should I leave all the URLs at just http versions for now, and only change ANY of them to https when I enable SSL?

Also, during the installation process it asks for the virtual https server and path, should I enter these as http addresses to begin with and change later, or do I have to enter https there even if SSL is disabled initially.

Thanks in advance, ugh what a day!

6 Mar 2011, 11:02 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: admin not working after moving from local site to server

You can select the radio button for "enable ssl for Admin" to false, in which case it will ignore all your HTTPS settings. So, you don't need to worry about the SSL paths at that time. Best to set them correctly regardless, but setting the radio button/buttons to false will ignore the settings until you change the value to true later.

https://www.zen-cart.com/tutorials/index.php?article=14

6 Mar 2011, 11:07 PM
#7
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

Re: admin not working after moving from local site to server

Thanks for sharing that information with me.

I finally got it to work. I've installed Zen Cart a few times and never had any problems whatsoever, and today it was like someone was playing a cruel joke on me.

Wound up that the DIR_FS_ADMIN path wasn't set correctly which was the whole problem in itself.

I ran Zen Cart installation over 15 times :frusty: :censored: :oops:

At least it's over with...lol...

6 Mar 2011, 11:09 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: admin not working after moving from local site to server

Glad you got it sorted out!

3 Jun 2011, 10:47 AM
#9
yoyodyne avatar

yoyodyne

New Zenner

Join Date:
Apr 2008
Posts:
23
Plugin Contributions:
0

Re: admin not working after moving from local site to server

i've scoured the forum (including this thread) and can't find any solution to the problem of not being able to access the admin page after migrating all my files to a new server. all the settings in the configure.php have been set according to instructions and all the database info including the db prefix are correct. i tried to run the sql query:

update configuration set configuration_value=0 where configuration_key = 'ADMIN_DEMO'

but got the following error:

#1146 - Table 'mydatabasename.configuration' doesn't exist

which is strange since the front end of the site appears to be working fine.

does anyone have any suggestions?

8 Dec 2011, 5:04 PM
#10
paolo333333 avatar

paolo333333

New Zenner

Join Date:
Dec 2011
Posts:
1
Plugin Contributions:
0

Re: admin not working after moving from local site to server

Have you found the solution? I am having the same issue.

8 Dec 2011, 5:06 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: admin not working after moving from local site to server

Wrong database info in the configure.php files.

11 Dec 2011, 5:36 AM
#12
chiken51 avatar

chiken51

New Zenner

Join Date:
Dec 2011
Posts:
1
Plugin Contributions:
0

Re: admin not working after moving from local site to server

I am having the exact same problem. The demo Zen Cart storefront is up, but admin always routes to "System Setup Required".

Clean install of 1.3.9h, I've already deleted and reinstalled. I've checked and double checked everything in both configure.php files.

Edit: Database was also deleted and recreated between installations.

myDebug files reveal only the one error:

PHP Fatal error: Cannot instantiate non-existent class: notifier in /home/virtual/site10/fst/var/www/html/zencart/includes/autoload_func.php on line 79

I set a Debug Reporting variable to 'true', following advice I'd read from a similar thread. The following is output while accessing /catalog/index.php (which shows up just fine):

actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/class.base.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/class.notifier.php');
actionPoint=>0 $zco_notifier = new notifier();
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/class.phpmailer.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/class.smtp.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/boxes.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/category_tree.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/template_func.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/split_page_results.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/language.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/cache.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/sniffer.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/class.phpbb.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/shopping_cart.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/navigation_history.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/currencies.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/message_stack.php');
actionPoint=>0 include('/home/virtual/site10/fst/var/www/html/zencart/includes/classes/breadcrumb.php');
actionPoint=>10 require('includes/init_includes/init_file_db_names.php');
actionPoint=>10 require('includes/init_includes/init_database.php');
actionPoint=>20 include('includes/version.php');
actionPoint=>30 $zc_cache = new cache();
actionPoint=>40 require('includes/init_includes/init_db_config_read.php');
actionPoint=>50 $sniffer = new sniffer();
actionPoint=>50 require('includes/init_includes/init_gzip.php');
actionPoint=>50 require('includes/init_includes/init_sefu.php');
actionPoint=>50 $phpBB = new phpBB();
actionPoint=>60 require('includes/init_includes/init_general_funcs.php');
actionPoint=>60 require('includes/init_includes/init_tlds.php');
actionPoint=>70 require('includes/init_includes/init_sessions.php');
actionPoint=>80 if (!$_SESSION[cart]) { $_SESSION[cart] = new shoppingCart(); }
actionPoint=>80 if (!$_SESSION[navigation]) { $_SESSION[navigation] = new navigationHistory(); }
actionPoint=>90 $currencies = new currencies();
actionPoint=>100 $template = new template_func();
actionPoint=>100 require('includes/init_includes/init_sanitize.php');
actionPoint=>110 require('includes/init_includes/init_languages.php');
actionPoint=>110 require('includes/init_includes/init_templates.php');
actionPoint=>120 $_SESSION[navigation]->add_current_page();
actionPoint=>120 require('includes/init_includes/init_currencies.php');
actionPoint=>130 $messageStack = new messageStack();
actionPoint=>130 require('includes/init_includes/init_customer_auth.php');
actionPoint=>140 require('includes/init_includes/init_cart_handler.php');
actionPoint=>150 require('includes/init_includes/init_special_funcs.php');
actionPoint=>160 $breadcrumb = new breadcrumb();
actionPoint=>160 require('includes/init_includes/init_category_path.php');
actionPoint=>161 require('includes/init_includes/init_canonical.php');
actionPoint=>170 require('includes/init_includes/init_add_crumbs.php');
actionPoint=>180 require('includes/init_includes/init_header.php');

I have tried to think it was my DIR_FS_CATALOG, etc. that were incorrect, but when I edit these to something intentionally wrong, the "System Setup Required" page actually alerts that DIR_FS... is invalid.

I have tried everything I can think of. I have installed an older version of Zen Cart with ABSOLUTELY no problems... Please let me know if I can provide any more information. Thanks.