I should also mention that when I created the new database I restored the database with the current database.
I should also mention that when I created the new database I restored the database with the current database.
The re-direction would be due to the configure DB settingsThe respective files at /store are correct for the live store and are different from /store_new
Maybe post both the frontend and the admin configure entries
And if you can use the # code tag
Zen-Venom Get Bitten
I tried did a find and replace in both config files to change instances of /store to /store_new. It had no affect. Not sure what you meant by posting front end and configure settings.Here is the config file:
<?php
/**
* dist-configure.php
*
* @package Configuration Settings
* @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
* @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
* @private
*/
// 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://distinctivedog.com');
define('HTTPS_SERVER', 'https://distinctivedog.com');
// 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', '/store_new/');
define('DIR_WS_HTTPS_CATALOG', '/store_new/');
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_new/
define('DIR_FS_CATALOG', '/home/content/d/i/s/distinctivedog/html/store_new/');
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', 'zen_'); // prefix for database table names -- preferred to be left empty
define('DB_SERVER', 'p50mysql187.secureserver.net');
define('DB_SERVER_USERNAME', 'xxxxxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxx');
define('DB_DATABASE', 'xxxxxxxx');
define('USE_PCONNECT', 'false');
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', 'none');
define('DIR_FS_SQL_CACHE', '/home/content/d/i/s/distinctivedog/html/store_new/cache');
?>
If ytou has this pointed to /storeOriginally Posted by distinctivedog
That would explain the following
If you changed it and actually successfully uploaded it it would have to have an affect - - computers can only follow instructions - - -Originally Posted by distinctivedog
As these are to have permissions set - FTP'ing upload might not be successful
FTP the config file to your local and Quadruple check that it contains your correcting edits
Best in this case to delete the file on the server or rename it's extention to something other than php
Then FTP the corrected file to the server
Zen-Venom Get Bitten
I navigated to the admin site for store_new and reset the password and then changed it in the admin to match the configure files. This seemed to work and I received the success message on the upgrade. Now when I navigate to /store_new the index page appears and appears fine, but when I click on any links I notice that the address in the browser window is /store/...
Must still have a mis-pointing somewhere in your configure filesI notice that the address in the browser window is /store/...
This is the only way that it could know about /store
Zen-Venom Get Bitten
I realized that when I edited the configure file locally it was not ftp'ing properly. After I renamed the server file and ftp'd it worked and all the pages are linking correctly. Thanks.
Bookmarks