If this is your first visit, check our documentation. To post, register or login.

No picture available

Started by jodean on 26 Jul 2024, 2:43 PM · Views: 862

Results 1 to 16 of 16
26 Jul 2024, 2:43 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #1 by jodean

Zencart 2.0.1
PHP 8.4.0

Products added after 2.0.1 upgrade no longer display the images in the categories or products pages in the StorefrontAttachment 20715Attachment 20716. Pictures added to products added prior to 2.0.2 upgrade still display correctly.Attachment 20713Attachment 20714

26 Jul 2024, 3:02 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #2 by swguy

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.

26 Jul 2024, 3:05 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #3 by jodean

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?

26 Jul 2024, 3:23 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #4 by swguy

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.

26 Jul 2024, 3:37 PM
#5
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #5 by jodean

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?

26 Jul 2024, 3:41 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #6 by swguy

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.

26 Jul 2024, 5:23 PM
#7
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #7 by jodean

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/.

26 Jul 2024, 6:07 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #8 by swguy

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.

26 Jul 2024, 6:46 PM
#9
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #9 by jodean

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

26 Jul 2024, 6:52 PM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #10 by swguy

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.

26 Jul 2024, 7:05 PM
#11
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #11 by jodean

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 File
26 Jul 2024, 7:15 PM
#12
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #12 by jodean

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.

26 Jul 2024, 9:27 PM
#13
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #13 by dbltoe

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

26 Jul 2024, 9:39 PM
#14
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #14 by jodean

I copied over from the development sub directory. They were originally dist files. Your recommendation solved the problem. Thank you very much.

26 Jul 2024, 9:41 PM
#15
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #15 by dbltoe

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

27 Jul 2024, 2:07 PM
#16
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #16 by jodean

The original problem was solved however now it uses https://docs.zen-cart.com/user/ for the home page?