THE NEW CODE WORKS!!!!! Thank you!
This is where you find the new code .... in the gzip https://github.com/lat9/usu/releases/tag/v3.0.0
Printable View
THE NEW CODE WORKS!!!!! Thank you!
This is where you find the new code .... in the gzip https://github.com/lat9/usu/releases/tag/v3.0.0
v3.0.0 is now available for download from the Zen Cart Plugins (https://www.zen-cart.com/downloads.php?do=file&id=132). Thanks to @swguy for correcting my coding error!
I was able to installed Version 3.0 in my test ZC 1.5.6 test site.
However, the configuration group was not listed!
https://i.imgur.com/AVyC6AZ.png
I don't know how configuration.php works. Only certain config group shown and not all of them.
(Previous database indeed had previous version of USU. I upgraded my ZC on test site and upgraded database. Then upgrade the USU to 3.0 and this occurred.)
Just had something show up I've never seen before. I have a customer who's got more/complicated sub categories than I may have ever seen before. Thus ending up with a link of https://www.corbymotorsport.com/kw-c...36_10437_10438 which gives a 406 code. Do you suppose it's just too much for the mod / htaccess to handle? The cats go like this: Home » BROWSE BY CAR » AUDI TUNING » AUDI RS4 » AUDI RS4 (B7) » SUSP (aud rs4 b7) » COILS (aud rs4 b7) » kw coils (aud rs3 b7)
This the first time I've ever seen this and his website hasn't been changed in a long time (my server so I'm sure of any possible version issues). He's just hit this and he has been active. He also has a number of other zen cart sites with no issues but this is the larger one of them all.
Delia, my best guess is that that's based on a $_GET size limit per "key" imposed by the Zen Cart base /includes/application_top.php's processing for 'contaminated' keys
The following section, from the zc156a version of that file, imposes a 43-character limit on each of the "paramsToCheck":
USU's .htaccess file sets $_GET['cPath'] to the characters following that trailing -c- ... which comprise 44 characters. Why that limit is 43 is anyone's guess.Code:$paramsToCheck = array('main_page', 'cPath', 'products_id', 'language', 'currency', 'action', 'manufacturers_id', 'pID', 'pid', 'reviews_id', 'filter_id', 'zenid', 'sort', 'number_of_uploads', 'notify', 'page_holder', 'chapter', 'alpha_filter_id', 'typefilter', 'disp_order', 'id', 'key', 'music_genre_id', 'record_company_id', 'set_session_login', 'faq_item', 'edit', 'delete', 'search_in_description', 'dfrom', 'pfrom', 'dto', 'pto', 'inc_subcat', 'payment_error', 'order', 'gv_no', 'pos', 'addr', 'error', 'count', 'error_message', 'info_message', 'cID', 'page', 'credit_class_error_code');
if (!$contaminated) {
foreach($paramsToCheck as $key) {
if (isset($_GET[$key]) && !is_array($_GET[$key])) {
if (substr($_GET[$key], 0, 4) == 'http' || strstr($_GET[$key], '//')) {
$contaminated = true;
break;
}
$len = (in_array($key, array('zenid', 'error_message', 'payment_error'))) ? 255 : 43;
if (isset($_GET[$key]) && strlen($_GET[$key]) > $len) {
$contaminated = true;
break;
}
}
}
}
It does work with uninstalling then reinstalling!
https://i.imgur.com/x2YxfYn.png
Why would that occurred though? Old database conflict data?
-PanZC2020
Well, configuration showed up... but now...
https://i.imgur.com/aBjldP8.png
Most configurations showed up twice (except the first two configurations) x.x
Not positive if another uninstall will do it...
-PanZC2020
If you're familiar with the use of phpMyAdmin, note the &gID=xx value shown in your browser's address-bar when you're viewing the Ultimate URLs configuration settings.
- Open your site's phpMyAdmin and
- Click on the 'configuration' table link in the left sidebar.
- Click the 'Search' tab in the top menu.
- Enter the value for xx in the configuration_group_id 'Value' column and press 'Go'.
- If more than one page of output is generated, tick the 'Show All' checkbox at the top of the listing.
- Take a screenshot of the search output and update this thread with the output.
P.S. I appreciate your help (and patience) with the issues that you're having.