In addition to the notes above about the many unpaid volunteers who generously offer support and help write code, there are still very real costs associated with getting Zen Cart into your hands for...
Type: Posts; User: DrByte
In addition to the notes above about the many unpaid volunteers who generously offer support and help write code, there are still very real costs associated with getting Zen Cart into your hands for...
One of the things that's getting more and more strict in ongoing PHP versions is this issue of creating variables on-the-fly without first declaring them (by stating they exist or giving them a...
Also, how many tables are in your database? How many of them are named "admin" but with different prefixes? like "zen_admin", "admin", "v155_admin", etc? If you have more than one set of tables,...
I just ran this in SQL Patch without problem (only difference from yours was changed the last comma to a semicolon):
INSERT INTO `product_types` (`type_name`, `type_handler`,...
The patch which is going into v2.0.0, and can safely be applied to v1.5.8 is: https://github.com/zencart/zencart/pull/6144/files
Fair question, as it helps with planning upgrades etc.
Not entirely certain on a date. A few key things need completing yet.
Definitely not in January.
Maybe March.
Some of the latest cPanel updates are not providing "mysqli" as an extension. (Those same cPanel updates are also progressively pushing forward with things that will eventually make your old ZC 1.5.4...
I updated my "fix" with adding UTF-8 fallback, just in case.
(FYI The hyphenated uppercase en_US.UTF-8 works on my dev site, where the en_US.utf8 lowercase without hyphen shows as invalid when used...
My bad. Turns out 'en' alone isn't "valid" either. And that's what I had in my clipboard when I pasted. Doh!
EDITED: now recommending:
@setlocale(LC_TIME, ['en_US', 'en_US.UTF-8', 'en-US']);...
Hmmm. Investigating ...
Affects 8.1.25, 8.2.12, and 8.3.0RC3+
Ongoing discussion at: Site Crashed U_ILLEGAL_ARGUMENT_ERROR
Yes, the latest updates to PHP (PHP 8.1.25 and 8.2.12) added a sudden fatal error when the locale is not explicitly configured on the server.
They claim to be backing it down in subsequent PHP 8.1...
In upgrades, several database changes get made. The upgrader inspects a couple of those to see whether it is reasonable to believe that all of those changes were done. If for some reason you (or some...
Fortunately the zc_install utility that comes with each version of Zen Cart is capable of taking your existing database and upgrading its content to whatever new structure is required for that new...
You will need to force cookie use for the zenid to disappear from the URL for regular shoppers. If the customer blocks cookies in their browser (which can be done in various ways, including some uses...
First thing that comes to mind is whether it's pointed at the correct database, in the admin configure.php
The field is named "store name and address" as an invitation for you to put your store name and address into it.
If you only put the address then, well, that's all it will display.
The HTML placeholder attribute is only styled/colored via CSS.
If you want to remove the placeholder and put text outside of the field, be aware that it will require more screen space so you will...
There's no "forced password change" for a store's customers. Only the Admin.
Not a bug.
Those are symbols denoting "required field". You can remove the asterisk via the language file.
I assume you're referring to the Contact Us page, where the store address can optionally be displayed above the form.
The address displays exactly what address you enter in the Admin. If you want...
I still don't understand why people want a contact-us email to come as HTML, when the customer's message isn't HTML anyway. (and if it were then it shouldn't be trusted, since any link in it are most...
Fixes applied in GitHub
Feel free to zip it up and attach it here. Someone may spruce it up a bit.
No, it won't affect things visually.
It just increases the amount of RAM that PHP must allocate (an CPU cycles to do so) in order to handle the number of possible input values that could be sent...
Yes, I agree, that should work fine.
While the original "product listing grid" mod had a user-selectable format choice, its implementation was clunky, so it was excluded.
While one can find lots of sites that offer user-selectable...
Done! https://github.com/zencart/zencart/commit/e54348a0a2f4a59c769e628d84344184969e218d
Excellent choice in my opinion. I always prefer WinSCP over FileZilla. Way more secure, way friendlier to use.
That's if you're stuck on Windows of course.
If something is off and you're uploading all files into "one" directory instead of into all the expected subdirectories, then there will definitely be duplicates, because many ZC files do indeed...
NO! That token is basically a password alternative.
Never put a sensitive file like that in the root of your site! Bots are always crawling for those kinds of things hoping to find something they...
The implementation of gzip support uses the ob_start() and related functions from the output_buffering features of PHP, hence why the legacy test for whether gzip can be supported has been based on...
It's already possible to do very simply, directly in your own language-pack:
For example, for spanish, add to your admin/includes/languages/spanish/configuration.php
all the necessary defines,...
In most browsers, on most templates, this is an issue. Other than setting those fields as non-autofill (which would cause some customer complaints), I'm not sure what could be done within the...
Interestingly, the "1.5d" update in 2018 specifically aimed to resolve the "1045 access denied" issue, by escaping the pass word credential with escapeshellcmd(). I suppose you could try removing...
There's a built-in feature to show Out Of Stock (or "Sold Out") when qty is 0:
Admin->Configuration->Stock->Show Sold Out Image in place of Add to Cart
Is the .jpeg file's filename equally wrong in the "files_uploaded" table?
I suspect the issue may be occurring in this part of the code, in the shopping_cart.php class:
if...
If those were their exact words then they're probably talking geek-speak without getting into specifics.
It's "possible" that they mean "server permissions don't let you-the-non-server-owner import...
/includes/modules/pages/product_music/main_template_vars_product_type.php
Change
/*
* extract info from queries for use as template-variables:
*/
$products_artist_name =...
Looks like there's nothing in the code to make it "simple".
You'll have to alter the code to make sure those fields are pulled from the database, and then also make sure they're output using the...
Those would appear to be related to tables added by something other than original Zen Cart.
Does the output show the table names too? Or clues to what table it was operating on before/after the...
In which file? (There's no artist link in that file.)
What MySQL version are you using? (Admin->Tools->Server Info)
For example, on my localhost mine is:
"Database Engine: MySQL 5.5.5-10.5.9-MariaDB"
and if I go to a command-prompt and type...
This might work:
Near the end of tpl_product_music_info_display.php is this section of code:
<!--bof Product URL -->
<?php
if (zen_not_null($products_record_company_url)) {
if...
I'll add: if your only reason for using Super Orders is to "batch update the status of several orders at once", then the "all invoices" plugin is much more lightweight and typically accomplishes the...
Hmmm. I can't replicate it. Maybe it's a different MySQL version.
Does making the changes added here help get rid of most of those errors? https://github.com/zencart/utf8mb4-converter/pull/5/files
Um, no, there's no built-in backup in v1.5.7c.
It's probably there from the old version you upgraded from.
Thus, best to check whether your plugin is up to date.
Yikes! Looks like we forgot to update that plugin with a patch fix regarding those defaults.
Do you have a backup from before running that script? If not, there's a "fix" utility in the updated...
1. The question by lat9 is relevant. Are you using the latest version of the plugin?
2. The " [Warning] Using a password on the command line interface can be insecure." warning is only a warning. It...
To apply it retroactively would require using a module like Edit Orders to apply it and change all the order totals after-the-fact. And you'd have to manually refund the difference. Or you could...