The site is not broken...yet.
Time will tell in the coming days/weeks.
It displays things so far as I know.
I'll leave things alone for now.
The php version went up b/c the hosting plan...
Type: Posts; User: tlyczko
The site is not broken...yet.
Time will tell in the coming days/weeks.
It displays things so far as I know.
I'll leave things alone for now.
The php version went up b/c the hosting plan...
I don't recall that we have any plugins, it's a pretty vanilla install.
The problem is the CSS/theme customizations used...that's where it's not so easy, lots of file and css changes.
I can't...
I'm on a hosting provider that lets me through cPanel to choose whatever version of PHP I want for running a particular site...it's a dropdown list sort of thing.
Is that the same as downgrading??...
That was excessively educational, to say the least :) :)
All very good information too -- I *think* :) :)
May have to wait awhile before I can do anything though.
I found that ZC is really hard to...
Thank you, my question is answered...
I'm gonna leave it on php 5.6 for now and see how it goes.
I can downgrade it to 5.3 if I must.
Thank you, Tom
Can 1.5.1 run on PHP 5.6??
Or should I downgrade it??
Thank you, Tom
I didn't request comments about when to upgrade etc.
I know about all that.
I fortunately got it fixed with another account.
I can leave it at php 5.6 for now and downgrade to php 5.3 later.
And...
Recently converted ZC site to use SSL, also changed from php 5.3.29 to 5.6.
Changed admin password in zen_admin table via phpMyAdmin and STILL can not log in.
Double-checked that all is proper...
Solved -- partially/mostly, I think.
Was testing with Google incognito mode, something was off with cookies or something...
Tested with two other different browsers, things worked.
Thank you, Tom
Testing 1.3.9h to 1.5.1 upgrade, no templates applied.
Appears all data came in fine etc., no apparent issues during database upgrade.
Add product to cart, try go to checkout, customer login does...
I tried this but am not sufficiently fluent in PHP to figure out where/how the error occurs.
Is there a way to have PHP display debug messages at differnet points within the php file's processing??...
version 1.3.9h -- don't tell me to upgrade :)
VERSION NUMBER IS NOW ALWAYS IN THE SUBJECT LINE
no plugins addons installed in last 3 weeks
normal install ZC 2+ years ago
Database Host:...
People are getting this error when trying to set up accounts on our ZC site:
Please Log In
Error An error happened when you tried to log in. Please check that you correctly typed your email...
NEVER MIND!!
Brain hiccup. :)
I forgot to use img src etc.
Once I did this things worked properly.
Thank you, Tom
This question is *not*about header image, since it's a single image to be placed in the header which will later be replaced with an image slider...
I want to place images on...
I finally got it figured out -- there's TWO places in /includes/filenames.php where the new define page must be declared.
Once I saw and implemented this, the new define page text appeared...
I also tried again using this addon with everything changed to the page I want:
http://www.zen-cart.com/downloads.php?do=file&id=314
Still no define text appears -- I can edit and save the define...
I used this procedure to create a define page:
http://www.question-defense.com/2008/10/12/how-to-add-a-new-define-pages-page-to-the-information-sidebox-in-zencart
Problem is that the define...
Got things styled correctly with this:
/* 2/7/13 this .content section is required to correctly style all define pages text */
.content P {
font-family: BitstreamVeraSansRoman, "Helvetica...
I'm working on a ZC site on localhost and I've noticed that some of the body styles (font, font-size, font-eeight) are not applying to text in any of my define pages, e.g. define_main_page, shipping,...
Category ID is being set so I can't imagine product ID/current not being set
Maybe category_tree.php should/could be reviewed?? -- this is speculation as I am not a ZC/php programmer...
Thank...
debug results after adding new debug code
home page opens: current-cat is 0, current, prid, zgprcid have no value
click category: current-cat=category ID, current, prid, zgprcid have no value...
debug results after adding new code to /includes/classes/category_list.php
I thought it improved things but now I do not think so
More adjustment to the code logic??
output upon clicking first...
It works better with the added code...getting there.
Give me a few moments to compile the results, please...
Thank you, Tom
Doing the above could also be generalized to sub-categories too.
Something in the code could have the *administrator* (person installing the addon) toggle whether to do subcats or products...
...
Maybe an easier way to do the program logic is this:
If the page is not a prod or cat page, output only category links, nothing else.
If the page is a prod or cat page, output only the product...
applied your requested debug code :)
output upon clicking first category with four products:
current-cat:1 processing-cat:1 current-cat:1 processing-cat: current-cat:1 processing-cat:...
We are almost there...the new code you wrote functions properly -- almost...it does configure $div_class.
Unfortunately its logic is off somewhere.
Here is the new code (I renamed the styles and...
My php editor claims there's an error in the area of the = sign next to pixel_trans.gif -- can anyone tell me what might be wrong with this line of code?? The editor says: 'Expression is not...
OIC -- at least we will soon have something workable with this particular products endeavor.
Thank you, Tom
You could combine it with the Category Dressing mod to do the extra stuff like hierarchical, mult-level, and whatnot??
CDressing must already have multi-category and such stuff in it??
HTH Tom
Ahhhh...thank you...I never would have been able to code that test!! :)
And your CSS reasoning now makes more/better sense :)
I will once again test this tomorrow -- I will like to see if the...
I changed as you suggested but it still does not work as desired...
I set .category-subs-selected { color: blue; } after creating this line of code:
// 2/6/13 new code to show/hide...
Any possibility that this could be modified to work with categories instead of manufacturers??
Whereabouts would one add code to show only active products??
Thank you, Tom
P.S. I'm in upstate...
I experimented with setting category-subs-selected and category-products, respectively, to display: none, doing so leaves unwanted blaink lines instead of "collapsing" the product list under the...
I put in this debug code: echo ' products_cat=' . $box_categories_array[$i]['category_id'];
nothing appears for the value regardless where the debug code is place
and the spans never get the...
I've done this...but the SPAN is what must get a class for the products to be selectively hidden depending on if the product ID and cPath match up...the empty SPAN is never getting a class with the...
hidden-desktop does set display: none but $div_class is not being applied to the PRODUCTS!!
I need $div_class to be applied to the PRODUCTS not the categories, I don't care about the categories....
Basically what's happening is this:
Whatever code produces this HTML:
<span class="">
|_
<a class="category-products"...
Additional note: I'm not using any of the css classes in the code, I don't need them, I *do* need that span class to be hidden-desktop or visible-desktop depending on whether the product's cPath...
Upon testing per se I discovered the code you suggest has no effect.
The test must be done on the product links themselves not on the categories links like you suggested.
In other words if the...
That code should work...I will test today...I am thinking the first case show the products, the second case hide the products...I will try to remember to update...
Thank you...does this accomplish the desired objective of only showing PRODUCTS per CATEGORY PAGE??
We have no sub-categories, only categories and products, we only want to show the products for the...
Would you please offer some guidance upon how to 'applied to the output'?? in this mod?? I read the template code and don't see how/where to do this -- show only products for the current category...
It's categories_ul_generator.php in that addon which I'd like to know how to modify so it returns products per category instead of subcategories per category...anyone know???
I *think* all I need...
ZC is presently running on localhost...and clicking the category must toggle on only that category's product list and leave the other categories alone.
Expanded Categories always shows all...
Does anyone know how I could modify the "Expanded Category List" sidebox addon for my purpose??
http://www.zen-cart.com/downloads.php?do=file&id=255
I've tried it but it always displays all...
Customer wants clicking the category name in the category SIDEBOX to ALSO display list of category ITEMS underneath category name, how can this be done??
E.g. If I have two categories, Books and...
Ohhhhhhhhhhh...thank you. Easily solves that problem. Probably current categories can be done the same way.
And yes I know what you mean about TENS :) :)
Thank you, Tom
Customer wants very specific sequence of how categories are listed.
It's a NON-intuitive sequencing -- aka not by date, not by name, etc.
How can I do this??
Thank you, Tom