Zen Cart Logo
Forums / General Questions / Help Help admin keeps geting insatll page

Help Help admin keeps geting insatll page

Locked

Views: 830

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 May 2009, 5:13 PM
#1
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Help Help admin keeps geting insatll page

Help I really messed things up this time! I thought the "tell a friend free shipping" would be a marketing thing. it did not work on the catalog side. the problems on the admin side started when I did the uninstall. I am not sure but I made a mistake when I tried to ftp admin files that were changed, I got file installed in the wrong directory. So I backed up my two configuration files and deleted all in the admin directory and Uploaded from a backup. Now I continue to get the install page that reads Hello. Thank you for loading Zen Cart (http://shop.nilandsplace.com/camp/admin/index.php) I have gone through the upgrade database several times and get various SQL errors. I also was wanting to know if I could use upgrade cfg files would leave my database intact our would it erase it? the catalog side seems to work OK now. I am using the latest zen cart. Help Me Please?

21 May 2009, 5:52 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Help Help admin keeps geting insatll page

You say you have backup's, right? Can you access your phpMyAdmin panel? If you can, just input your csv file for the admin section only.....or just use the whole backup.....either way, if you had backups, then you shouldn't have a problem.

21 May 2009, 6:12 PM
#3
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: Help Help admin keeps geting insatll page

I am not sure how to do that and it turns out the backup was for a different store:(

21 May 2009, 6:21 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Help Help admin keeps geting insatll page

Makoshark:

I am not sure how to do that and it turns out the backup was for a different store:(

That's not good.

You are also getting warnings on your main page:

Warning: require(includes/templates/template_default/ysm_analytics/ysm_analytics.php) [function.require]: failed to open stream: No such file or directory in /home/www/shop.nilandsplace.com/camp/includes/templates/NilandCamp/common/tpl_main_page.php on line 185

Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/ysm_analytics/ysm_analytics.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/shop.nilandsplace.com/camp/includes/templates/NilandCamp/common/tpl_main_page.php on line 185

You might try taking the analytics out.

21 May 2009, 6:33 PM
#5
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: Help Help admin keeps geting insatll page

OK I think I got the configure file right as I can now get to admin, but I am at the problem I had last night I can not log into the admin. I have resend the pasword but it tells me "There was a security error when trying to login." the current password is: QLQDC on: https://shop.nilandsplace.com/camp/admin/login.php. so what do I do now?

21 May 2009, 7:17 PM
#6
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Help Help admin keeps geting insatll page

You've made sure the username and password are the same in:

includes/configure.php

and

admin/includes/configure.php

??

21 May 2009, 7:35 PM
#7
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: Help Help admin keeps geting insatll page

Here is the admin configuration

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */ define('HTTP_SERVER', 'http://shop.nilandsplace.com'); define('HTTPS_SERVER', 'https://shop.nilandsplace.com'); define('HTTP_CATALOG_SERVER', 'http://shop.nilandsplace.com'); define('HTTPS_CATALOG_SERVER', 'https://shop.nilandsplace.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', 'camp/admin/'); define('DIR_WS_CATALOG', '/camp/'); define('DIR_WS_HTTPS_ADMIN', '/camp/admin/'); define('DIR_WS_HTTPS_CATALOG', '/camp/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/www/shop.nilandsplace.com/camp/admin/'); define('DIR_FS_CATALOG', '/home/www/shop.nilandsplace.com/camp/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', ''#########');'); define('DB_SERVER_USERNAME', '#########'); define('DB_SERVER_PASSWORD', '#########'); define('DB_DATABASE', ''#########');'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home//www/shop.nilandsplace.com/camp/cache'); ?>

and here is the catalog configuration

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://shop.nilandsplace.com'); define('HTTPS_SERVER', 'https://shop.nilandsplace.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/camp/'); define('DIR_WS_HTTPS_CATALOG', '/camp/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/www/shop.nilandsplace.com/camp/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', ''#########');'); define('DB_SERVER_USERNAME', ''#########');'); define('DB_SERVER_PASSWORD', ''#########');'); define('DB_DATABASE', ''#########');'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'file'); define('DIR_FS_SQL_CACHE', '/home/www/shop.nilandsplace.com/camp/cache'); // EOF
21 May 2009, 8:10 PM
#8
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

Re: Help Help admin keeps geting insatll page

I have looked at article 312 but I am not sure what is telling to do and what result I am supposed to get? just were do I insert the text: <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?> I tried inserting it just before the XML but nothing happen. I can't find password field (zen_draw_password_field function) what is this?