If this is your first visit, check our documentation. To post, register or login.
Forums / Business Issues / Other Business Topics / Some issues upgrading to 1.5.7: template display, min-order, t&c

Some issues upgrading to 1.5.7: template display, min-order, t&c

Started by lance_turner on 26 Jul 2020, 4:01 AM · Views: 550

Results 1 to 20 of 40
26 Jul 2020, 4:01 AM
#1
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Some issues upgrading to 1.5.7: template display, min-order, t&c

Just upgraded from 1.5.4 to 1.5.7 and change PHP to 7.3, and after a bit of work the shop is pretty much working as it should, except for a few oddities.

First, the minimum order option doesn't work. Minimum order is set to $10, but it is letting me check out with any amount, no dialogue shows up telling me I can't check out.

Second, I have also noticed that other customer error notices don't show up. For example, if I try to check out without accepting terms and conditions, it drops me back on the same checkout page but there is no warning to accept T&C like there was in 1.5.4. Maybe these first two issues are related?

The third issue seems template related, I have Abagon Responsive and have just tweaked it in a few spots, things like changing pounds to grams, stuff like that. It works correctly, except when viewing a product page. There is an add to cart button and that all works, but the R/H column is missing, as is the footer.

However, everything works on any other page, such as viewing categories, product lists, info and more info pages, etc, so seems something specific with the product template.

Even stranger, Abagon has 4 versions, red, blue, orange and green, I only use blue and is the only one I've ever edited. However, the other 3 versions are even more broken than the blue version, they don't show the left column either, so are unusable, yet they are straight from the developer like this. Clearly, this template does not like 1.5.7 for some reason, had just hoped someone else might have run across this issue.

Note that for the template issue, the default ZC responsive template doesn't have this issue, all columns show correctly.

I will also ask the developer (12leaves) and see if they have any ideas.

26 Jul 2020, 5:41 AM
#2
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Ok, fixed the missing T&C message by uploading the old message_stack.php file to includes/classes, it didn't fix the minimum order value issue though, but one down...

26 Jul 2020, 7:37 AM
#3
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Another issue I'm having is that ZC is creating a vast number of log files, most of which are warning and deprecated files, not error files. I know you are supposed to be able to turn it off in /includes/extra_configures/enable_error_logging.php but it's not really clear how you do that. What do I change to stop the logs? I just need to stop it until all the other bugs are ironed out, it's generating around 10,000 files a day, which is nuts.

26 Jul 2020, 10:28 AM
#5
swguy avatar

swguy

Administrator

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

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

@Design75 is correct -just work away at fixing them and you'll be done soon enough. Post the ones that are giving you trouble and people will help out here.

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 2020, 11:42 AM
#6
swguy avatar

swguy

Administrator

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

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Also re: min order - this is a mod (it's not built in to Zen Cart), so your developer or template provider will have to check to see what's wrong.

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 2020, 12:01 PM
#7
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Thanks for the replies, but I really need to turn off the log files as they are causing an issue with the sheer volume of them. I know I need to fix the causes of them but that will take time, my shop is my second job, so things get done on it when I have spare time, which isn't that often.

Had forgotten that the minimum order module was a plugin, will see if there's a new version and install that if there is.

26 Jul 2020, 12:06 PM
#8
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Ok, just checked the minimum order plugin and seems it hasn't been updated since 2012, seems to be a common problem with quite a few modules, I guess the ZC contribution authors crowd is getting a bit thin on the ground with many people moving to ready made ecommerce systems like shopify (which I really don't like). Would you guys consider that an accurate assessment? Just wondering at what point ZC is likely to get to the point where it is no longer a viable cart system due to the lack of working plugins...

26 Jul 2020, 12:07 PM
#9
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Lance Turner:

Thanks for the replies, but I really need to turn off the log files as they are causing an issue with the sheer volume of them. I know I need to fix the causes of them but that will take time, my shop is my second job, so things get done on it when I have spare time, which isn't that often.

Had forgotten that the minimum order module was a plugin, will see if there's a new version and install that if there is.

I don't have ZCv1.57 to hand but I think there are settings that do this in Admin > Configuration > Logging

Simon

26 Jul 2020, 12:15 PM
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

simon1066:

I don't have ZCv1.57 to hand but I think there are settings that do this in Admin > Configuration > Logging
PHP errors, warnings and deprecations are all logged by default for zc157. You *do *have control over whether/not the PHP notices are *also *logged.

26 Jul 2020, 2:29 PM
#11
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Lance Turner:

Thanks for the replies, but I really need to turn off the log files as they are causing an issue with the sheer volume of them. I know I need to fix the causes of them but that will take time, my shop is my second job, so things get done on it when I have spare time, which isn't that often.

Had forgotten that the minimum order module was a plugin, will see if there's a new version and install that if there is.

you could create a couple of new files here:

includes/extra_datafiles/errors.php
YOUR_ADMIN/includes/extra_datafiles/errors.php

and add the following code to both files:

<?php
@ini_set('error_reporting', E_ALL & ~E_WARNING & ~E_USER_WARNING & ~E_USER_NOTICE & ~E_NOTICE & ~E_USER_DEPRECATED & ~E_DEPRECATED );

tried getting it to work in the /local/ directory without success.

i agree with the general consensus that it is better to work through all of the errors; however, you could run into an inodes problem on your host. which is why i provided this temporary solution.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

26 Jul 2020, 3:07 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Additionally, to clear out logs, you can use the Display Logs plugin that's built-in: Admin->Modules->Plugin Manager->Display Logs->Install.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Jul 2020, 3:20 PM
#13
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

DrByte:

Additionally, to clear out logs, you can use the Display Logs plugin that's built-in: Admin->Modules->Plugin Manager->Display Logs->Install.
... or Log Manager (https://www.zen-cart.com/downloads.php?do=file&id=2123), which you can set to automatically remove logs older than a configured number of days. Using Display Logs to delete 10,000 log files might take a while, since it's a page-by-page removal.

26 Jul 2020, 6:05 PM
#14
swguy avatar

swguy

Administrator

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

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Lance Turner:

I guess the ZC contribution authors crowd is getting a bit thin on the ground with many people moving to ready made ecommerce systems like shopify (which I really don't like). Would you guys consider that an accurate assessment?

No. This is not an accurate assessment.

Plenty of people still use Zen Cart, and plenty of developers are happy to work on it for a fee.

Plenty of people still use open source ecommerce platforms other than Zen Cart, such as WooCommerce, PrestaShop and OpenCart.

You may indeed have trouble finding people willing to support software they wrote in 2012 for free, but if you're serious about your business and have a budget, there's no limit of people willing to work with you and get your site working as desired.

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 2020, 6:50 PM
#15
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

swguy:

Plenty of people still use Zen Cart, and plenty of developers are happy to work on it for a fee.

Plenty of people still use open source ecommerce platforms other than Zen Cart, such as WooCommerce, PrestaShop and OpenCart.

You may indeed have trouble finding people willing to support software they wrote in 2012 for free, but if you're serious about your business and have a budget, there's no limit of people willing to work with you and get your site working as desired.

concur!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

26 Jul 2020, 11:00 PM
#16
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Thanks, Admin/config/logging is turned off, yet it continues to log, so looks like I need to mod the enable_error_logging.php, just not sure what to change in there without breaking things.

26 Jul 2020, 11:40 PM
#17
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

swguy:

No. This is not an accurate assessment.

Plenty of people still use Zen Cart, and plenty of developers are happy to work on it for a fee.

Plenty of people still use open source ecommerce platforms other than Zen Cart, such as WooCommerce, PrestaShop and OpenCart.

You may indeed have trouble finding people willing to support software they wrote in 2012 for free, but if you're serious about your business and have a budget, there's no limit of people willing to work with you and get your site working as desired.

There's no doubt that there are plenty of developers around, but there are also plenty of plugins that have simply stopped being developed, my shop uses several. For developers, who love messing with code and fixing things themselves, that's great, but the vast majority of shop owners just want software that doesn't require them to become a PHP coder, and won't simply break when the next version of php is implemented. Developers need to commit to upgrading their code until such time as they decide they no longer wish to, then they should pull that code from the plugins library here so that shop owners don't get stuck with dead code in a few years. There are plenty of plugins here that are still freely downloadable but which haven't been updated in years. Basically, if you are not going to support it, make that very clear in the download page for that plugin, or remove the plugin.

Don't get me wrong, I think it's great that so many people are willing to put their time into creating such useful plugins, and most shop owners appreciate this, but I think there needs to be some sort of retirement system for plugins etc where it is clear that the code is dead development-wise, otherwise people just keep downloading it and using it and then find their shop breaks a year or two down the track, with no support for fixing it without having to hire a developer, which can cost more than going with something like shopify or similar.

I'm happy to pay to have someone fix a few things, but the budget for that is limited as the shop doesn't produce that much income per year, it's partly shop, partly hobby, and was originally started to supply LEDs and related products to the local Australian market at much better prices than the electronic component companies like Jaycar etc.

Also, there's a PCI compliance issue, how do I find someone to fix code without them having access to database data? They have to test the code, and that means an admin login to the shop, so there are legal issues to be considered, not sure how others get around that, or do they just take the risk?

Anyway, I will keep plugging away at it I guess, will hopefully hear back from the template developer this week, might just be a case of rebuying the latest version.

27 Jul 2020, 8:10 AM
#18
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

DrByte:

Additionally, to clear out logs, you can use the Display Logs plugin that's built-in: Admin->Modules->Plugin Manager->Display Logs->Install.

Thanks, hadn't seen that, that's a nice little plugin, although at the moment I'm over 45k log files, so ftp is faster to remove the bulk of them.

I seriously need a developer to go through the site and work out all the bugs...

27 Jul 2020, 8:33 AM
#19
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

Ok, another screwy bug, I'm using the old aupost postage module because the other shipping module I had in there, the auspost module, completely broke the site. I'm amazed that the aupost module actually works at all, however, there's a weird problem in that if anyone adds more than 35 items (35 of one item, 20 of one and 15 of another etc), it breaks the module, it just doesn't display, so customers can't select any shipping options.

So, question is, are there any other Australia Post shipping modules available that work in 1.5.7? I see in the ozpost module that the developer doesn't list 1.5.7 for compatibility, although also saw that at least one user has it running. Is the ozpost module the best option, and if so, anyone know what the monthly fee is? There's not much info on the developer's website (ie no info at all, just a contact form), I guess you just have to email him and find out.

I have set up table rates like I did for OS orders, but I need to get a decent shipping module working asap. Seems there is only one Aust Post compatible module now (ozpost), is that correct? I couldn't find any others that are still supported listed in the plugins area.

27 Jul 2020, 11:01 AM
#20
lance_turner avatar

lance_turner

New Zenner

Join Date:
Jul 2016
Posts:
61
Plugin Contributions:
0

Re: Some issues upgrading to 1.5.7: template display, min-order, t&c

lat9:

... or Log Manager (https://www.zen-cart.com/downloads.php?do=file&id=2123), which you can set to automatically remove logs older than a configured number of days. Using Display Logs to delete 10,000 log files might take a while, since it's a page-by-page removal.

That's a great little module, thanks, is working well, so at least the log files will be under control.