Can someone tell me why my index.php re-directs to zc_install after I move move zen-cart from http://www.mysite.com to http://www.mysite.com/zen-cart please help........
Printable View
Can someone tell me why my index.php re-directs to zc_install after I move move zen-cart from http://www.mysite.com to http://www.mysite.com/zen-cart please help........
and everything was working fine and now in admin I get this error:
Warning: main(/home/content/m/o/r/morristech/html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149
Warning: main(/home/content/m/o/r/morristech/html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149
Fatal error: main(): Failed opening required '/home/content/m/o/r/morristech/html/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149
you need to go into your configure.php files and add the /zencart/ to the server paths
and urls
well actually my zencart is at http://www.mtechama.com/gift_shop/index.php
please paste your includes/configure.php file here ( MINUE DB NAMES AND PASSWORDS )
you need to find there lines
/home/content/m/o/r/morristech/html/
and make them
/home/content/m/o/r/morristech/html/gift_shop/
your files are looking for files and folders that dont exist
Code:<?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 "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.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.mtechama.com/gift_shop');
define('HTTPS_SERVER', 'https://www.mtechama.com/gift_shop');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// 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', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
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/content/m/o/r/morristech/html/');
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/');
These:
Should read:PHP Code:
define('HTTP_SERVER', 'http://www.mtechama.com/gift_shop');
define('HTTPS_SERVER', 'https://www.mtechama.com/gift_shop');
These:PHP Code:
define('HTTP_SERVER', 'http://www.mtechama.com');
define('HTTPS_SERVER', 'https://www.mtechama.com');
Should read:PHP Code:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
This:PHP Code:
define('DIR_WS_CATALOG', '/gift_shop/');
define('DIR_WS_HTTPS_CATALOG', '/gift_shop/');
Should probably read:PHP Code:
define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/');
PHP Code:
define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/gift_shop/');
NOTE: you should also check your admin configure.php file as well at:
/admin/includes/configure.php
I have done that but its still doesn't work