After a few more back-and-forths with host support and clearing my DNS cache, my site seems to be working fine for now. I have time to pursue options.
Type: Posts; User: gjh42
After a few more back-and-forths with host support and clearing my DNS cache, my site seems to be working fine for now. I have time to pursue options.
I found the complete error message that the host support said was imcomplete - they just didn't look at the whole thing.
[02-May-2022 18:02:57 UTC] PHP Warning: date(): It is not safe to rely on...
I got some detailed info from the host:
The MySQL version on the previous server was 5.7, while the MySQL version on the current server is MySQL 8. It does appear that only the latest version of...
I don't intend to abandon Zen Cart, though I stopped development work years ago because it was not giving me any rewards beside community while taking up considerable time. If I am ever able to...
I presume the mysqli selector is irrelevant while the codebase only uses mysql_ functions.
I know I should have upgraded years ago... the customizations I had done were so extensive that I...
http://www.nyfaeriefest.com , ZC1.5.0, few plugins but many customizations (Ultimate Fade-in Slideshow, Orders Export - my improved version, ??), PHP5.6. I couldn't see how to look up the MySQL...
I have compared DrByte's "v1.7" ordersExport.php file with the original v1.6 copy and with my v2.1 orders_export.php, and his updates consisted of deleting the $mat_stack_sql_error lines which were...
There have been several new versions of this mod since 0.1, and the thread where thy have been discussed is here:
https://www.zen-cart.com/showthread.php?193168-Orders-Exporter-Module/page3
The...
Occupied with other aspects of life, not involved with coding much these days... though I do need to get back into some of it for site upgrades.
I don't recall just what I had said about the...
I came back to the forum to look for something, ran across this thread, and decided to upload the latest version of OEX that I currently use (in its generic form). There are some enhancements I want...
Zen Cart is not built to be a middleman, as stated before; it is built to serve as your whole website, including product display and selection pages. Then it sends the information to your chosen...
The above may be moot, as I have been thinking about the processing sequence while studying the various files. There is no reason for orderTagBuilder.php to be autoloaded on every page. It only needs...
I support the idea of being thorough in general, though when the array setup is just a few lines above in the same file which nobody else can edit, I feel safe in a shortcut.
...
Update: As this function is needed now, I have copied the code into order.php and modified for the new location. The output formatting still needs work, but it functions about as desired, and I can...
My previous customization of order.php was strictly inside the admin copy e-mail section, after all of my new code should be executed and sent.
$admin_email_subject = '[NEW:';//gjh42...
The documentation and discussion I read on empty() tended to agree that this was a good and concise way to do the job, as it wouldn't throw an error in any case, and if it is either empty or not set...
From "require(DIR_WS_CLASSES . 'order.php');" it is obvious that there will not be an autoload breakpoint for the order class; the question is how to instantiate orderTagBuilder.php in a way that it...
I find that /includes/modules/pages/checkout_process/header_php.php calls /includes/modules/checkout_process.php, which has on line 55:
require(DIR_WS_CLASSES . 'order.php');
$order = new order;...
Update to the above:
Maybe v1.5.0 doesn't support modifiable parameters. But $class->products_ordered_attributes is not a parameter and ought to be accessible, though. I don't actually try to...
Actually, since $custom_insertable_text is not added to the output in stock order.php (merely suggested that it could be added by editing order.php), I decided to drop it and use another, purely...
I researched class variable ("property") instantiation to know the full rules... So it looks like there are options; I chose to instantiate in the class declaration, as the initial values are all...
Lat9 - Oops, a couple of dumb errors that I blame on being out of practice...
Mc - The code wants to be executed whenever one of the given product ids is present. They will always have attributes,...
The code gives no errors when processing an order, but no results either. At this point I am stumped, as I have added tracer output that should add a bit to the e-mail output no matter how well the...
I remembered where to find the error logs, and traced the last couple of PHP syntax errors, so it no longer crashes. Now to do a test order and see if and how it works.
I moved the code from...
This code is only relevant for the given set of product ids, all of which have some or all of the attributes mentioned later. Any other products in the order should be ignored and handed straight...
Thanks for the detailed assessment. This is the first time I have actually tried to use a class, so combined with being away from coding for several years, I needed plenty of pointers :)
BTW, the blank page content isn't "1", it is just blank. The "1" is just the line number. It's been so long since I have viewed page source code that I had forgotten this.
I have access to my site (though there are other issues, as it just got hacked, probably through an abandoned wordpress installation, and is still in process of recovery), and find that having these...
Great, thanks, DrByte! I'll look forward to trying it when I can regain FTP access to my site (inept current host). I would like to get back into coding enough to keep my hand in, and finish some...
I am working on modifying the order confirmation e-mail to make printable tags for the customer, using the notifiers to avoid editing order.php. (I had previously edited the order.php...
I have been away from programming for the past six months or so, immersed in other facets of life which actually give tangible rewards, and just popped back in to the forum to look around. I don't...
You would have to locate every bit of code that uses one of those images, and change it to refer to the sprite image instead of the individual image. Then you would have to alter the CSS to use...
We need to see your site live to be sure of advising correctly. Apparently your template maker has customized /includes/templates/your_template/sideboxes/tpl_categories.php to hobble it.
Do you want the ez-pages headerbar or sidebox menu to dropdown? That would require chapter organization for starters, and then new code to fetch that organization info and set the items accordingly....
So you will have customers select a type of shipping, and size or weight options... ? How many different things will they have to choose to send a package, and how do those choices affect the price?...
If you already have the uncollapsed setup, making it flyout only requires adding/changing some CSS rules. I haven't looked at that in a long time so I will have to check on the exact rules needed......
If enough people ask for it (or if a skilled person wants the feature for their own site), someone may write a mod to do this. It would probably be a pretty simple one as mods go.
This would be better asked in the Categories Dressing support thread, but CD (to be accurate, CSS style rules added to CD) is capable of doing this display if it is combined with another mod which...
I just happened to see in post 507 of this thread the following SQL:
SELECT @cid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Dynamic Filter';
DELETE FROM...
Since you already have your large images using the same filename as the small images, it should be a relatively simple matter to bulk rename them by adding _LRG or whatever you want to set as the...
Any "workaround" to the stock small/medium/large image handling would mean significantly rejiggering how the image system works. I presume your large images are named with some system (or lack...
The screenshots look like what the customer sees when they are placing an order, not what the admin sees when setting up a product. Which is it?
To get the active display responding to the quantity...
You have made the blank option as default, or at least as the first item that shows in the dropdown, but you have not made it "display only". Because of this, it does not give an error when you add...
Do you mean just the chcategories, without Categories Dressing? That does not have any more individual category control than the stock categories sidebox. To do what you want you need to install...
If you have not updated your site since v1.3.8a, it could probably do with a facelift anyway. The best route for you would be to install a new v1.5.3 copy of Zen Cart and import the database from...
Not to mention that $content . include '' is javascript, not PHP, and wouldn't even be recognized by the processor...
We need to see what you have (live) to comment on why it is not working for you.
Add to your stylesheet_chcategories_dressing.css
#chcategories .cat-top>#catGroup134_153 {display: none;}
#chcategories .cat-top:hover>#catGroup134_153 { display: block;}
I notice that you...
Be sure you are consistent in constant names. TABLE_EZPAGES_TEXT might not be defined while your site is using TABLE_EZPAGES_CONTENT.
If you get a blank page or an error message, there should be a...
By "written incorrectly", Linda is referring to the fact that many mods which alter the database delete fields with (I think) configuration_group_id = 0 while installing their own fields. DrByte and...