Totally Zenned
- Join Date:
- May 2011
- Location:
- Tennessee
- Posts:
- 511
- Plugin Contributions:
- 0
Totally Zenned
Administrator
Can not repro on ZC 2.0.1, PHP 8.3. (I don't have 8.4). Anyone else?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
I should have spent more time analysing.
Production address is https://tennesseetraditionalflies.com/public_html/shop/images/New%20Products/ice11.jpg
The production app is looking for the image files in the development folder.
Production address is https://devel.tennesseetraditionalflies.com/public_html/shop/images/New%20Products/ice11.jpg
How do I fix this?
Administrator
Sounds like you have a bad admin/includes/configuration.php file.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
I just noticed that when you start the storefront it goes to the home page tennesseetraditionalflies.com correctly, however when you click on any category item in the menu list it changes to devel.tennesseetraditionalflies.com.
I checked the configure.php file and it looks ok.
I cleared the cache and it is still messed up.
I tried Firefox and it is still messed up.
I tried previous PHP versions and it is still messed up.
I just do not understand what could be causing the address change to devel. when you click on a menu item?
Any ideas?
Administrator
sorry I should have said storefront config - check includes/configuration.php file
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
swguy:
sorry I should have said storefront config - check includes/configuration.php file
I did not find a includes/configuration.php file in my installation.
So I downloaded the newest 2.0.1 and did not find it here either.
I did find it in admin/.
Administrator
Spelling is not my strong suit today.
includes/configure.php
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
I do not see anything wrong in configure.php in the storefront or admin. Any other ideas?
Even though I am at the tennesseetraditionalflies.com home page all of the menu page links relate to the development sub directory.
http://devel.tennesseetraditionalflies.com/shop/index.php?main_page=index&cPath=151
Administrator
Please post includes/configure.php without the database password information.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
Here you go!
<?php /** * dist-configure.php - SAMPLE FILE! * * @copyright Copyright 2003-2022 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: DrByte 2021 Jan 23 Modified in v1.5.8-alpha $ * @private */ /*************** NOTE: This file is VERY similar to, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ /** * Enter the domain for your store * If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address. */ define('HTTP_SERVER', 'http://tennesseetraditionalflies.com'); define('HTTPS_SERVER', 'https://tennesseetraditionalflies.com'); /** * If you have https enabled on your website, set this to 'true' */ define('ENABLE_SSL', 'true'); /** * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located. * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront. * They should always start and end with a slash ... ie: '/' or '/foldername/' */ define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); /** * This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/ * Should have a closing / on it. */ define('DIR_FS_CATALOG', '/home/customer/www/tennesseetraditionalflies.com/public_html/shop/'); /** * The following settings define your database connection. * These must be the SAME as you're using in your admin copy of configure.php */ define('DB_TYPE', 'mysql'); // always 'mysql' define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common define('DB_SERVER', 'tennesseetraditionalflies.com'); // address of your db server define('DB_SERVER_USERNAME', 'tennes60_zenc'); define('DB_SERVER_PASSWORD',); define('DB_DATABASE', 'dbajrebecacbn3'); /** * This is an advanced setting to determine whether you want to cache SQL queries. * Options are 'none' (which is the default) and 'file' and 'database'. */ define('SQL_CACHE_METHOD', 'none'); /** * Reserved for future use */ define('SESSION_STORAGE', 'temporary value added by zc_install'); /** * Advanced use only: * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched. * To use them, uncomment AND add a proper defined value to them. */ // define('DIR_FS_SQL_CACHE' ... // define('DIR_FS_DOWNLOAD' ... // define('DIR_FS_LOGS' ... // End Of FileTotally Zenned
I have also noticed this.
Enter https://tennesseetraditionalflies.com/
Goes to the home page
Move cursor over any menu item
Move over On Sale
Link now has devel. in the address
https://devel.tennesseetraditionalflies.com/shop/index.php?main_page=index&cPath=151
Remove the devel part of the address
tennesseetraditionalflies.com/shop/index.php?main_page=index&cPath=151
Hit enter
Now when you land the cursor on a menu item the devel is excluded and the links work, however if you go home then the devel is back in the url links.
Totally Zenned
Did you create the configure files with zc_install or did you copy them to a folder?
Normally, /** * This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/ * Should have a closing / on it. */ define('DIR_FS_CATALOG', '/home/customer/www/tennesseetraditionalflies.com/public_html/shop/');should look like```
/**
* This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/
* Should have a closing / on it.
*/
define('DIR_FS_CATALOG', '/home/YOURACCOUNT/public_html/shop/');
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
I copied over from the development sub directory. They were originally dist files. Your recommendation solved the problem. Thank you very much.
Totally Zenned
Glad to help. And, thanks for letting folks know what the solution was.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
The original problem was solved however now it uses https://docs.zen-cart.com/user/ for the home page?
Tell staff why this post should be reviewed.