Re: Ultimate SEO v3 (and v2.200) [Support Thread]
after turning off ultimate, the number of separate logs inside one error log are reduced to 1 instead. I also have gone into to every folder and made sure there were no leftover bits of anything from previous versions. Thanks to everyone who chimed in. Now to post elsewhere! unless someone can weigh in on the remaining log? (yeah, I know it's not ultimate!)
Code:
[01-Aug-2024 22:31:59 UTC] Request URI: /blues-c-20/bmz_cache/1/103_1722jpg.image.92x80.jpg, IP address: 20.112.85.84, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/functions/functions_strings.php(335): preg_replace()
#2 /includes/classes/usu.php(968): zen_clean_html()
#3 /includes/classes/usu.php(628): usu->filter()
#4 /includes/classes/usu.php(385): usu->get_product_name()
#5 /includes/classes/usu.php(223): usu->parse_parameters()
#6 /includes/classes/observers/UsuObserver.php(59): usu->href_link()
#7 /includes/classes/traits/NotifierManager.php(87): UsuObserver->update()
#8 /includes/functions/html_output.php(18): base->notify()
#9 /includes/modules/classicBasic2/product_listing.php(214): zen_href_link()
#10 /includes/templates/template_default/templates/tpl_modules_product_listing.php(10): include('/home/xxxxxx/...')
#11 /includes/templates/template_default/templates/tpl_index_product_list.php(99): require('/home/xxxxxx/...')
#12 /includes/modules/pages/index/main_template_vars.php(232): require('/home/xxxxxx/...')
#13 /includes/templates/classicBasic2/common/tpl_main_page.php(108): require('/home/xxxxxx/...')
#14 /index.php(94): require('/home/xxxxxx/...')
--> PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/functions/functions_strings.php on line 335.
[01-Aug-2024 22:31:59 UTC] Request URI: /blues-c-20/bmz_cache/1/103_1722jpg.image.92x80.jpg, IP address: 20.112.85.84, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/functions/functions_strings.php(335): preg_replace()
#2 /includes/classes/usu.php(968): zen_clean_html()
#3 /includes/classes/usu.php(628): usu->filter()
#4 /includes/classes/usu.php(385): usu->get_product_name()
#5 /includes/classes/usu.php(223): usu->parse_parameters()
#6 /includes/classes/observers/UsuObserver.php(59): usu->href_link()
#7 /includes/classes/traits/NotifierManager.php(87): UsuObserver->update()
#8 /includes/functions/html_output.php(18): base->notify()
#9 /includes/modules/classicBasic2/product_listing.php(214): zen_href_link()
#10 /includes/templates/template_default/templates/tpl_modules_product_listing.php(10): include('/home/xxxxxx/...')
#11 /includes/templates/template_default/templates/tpl_index_product_list.php(99): require('/home/xxxxxx/...')
#12 /includes/modules/pages/index/main_template_vars.php(232): require('/home/xxxxxx/...')
#13 /includes/templates/classicBasic2/common/tpl_main_page.php(108): require('/home/xxxxxx/...')
#14 /index.php(94): require('/home/xxxxxx/...')
--> PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/functions/functions_strings.php on line 335.
[01-Aug-2024 22:31:59 UTC] Request URI: /blues-c-20/bmz_cache/1/103_1722jpg.image.92x80.jpg, IP address: 20.112.85.84, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/functions/functions_strings.php(335): preg_replace()
#2 /includes/classes/usu.php(968): zen_clean_html()
#3 /includes/classes/usu.php(628): usu->filter()
#4 /includes/classes/usu.php(385): usu->get_product_name()
#5 /includes/classes/usu.php(223): usu->parse_parameters()
#6 /includes/classes/observers/UsuObserver.php(59): usu->href_link()
#7 /includes/classes/traits/NotifierManager.php(87): UsuObserver->update()
#8 /includes/functions/html_output.php(18): base->notify()
#9 /includes/modules/classicBasic2/product_listing.php(214): zen_href_link()
#10 /includes/templates/template_default/templates/tpl_modules_product_listing.php(10): include('/home/xxxxxx/...')
#11 /includes/templates/template_default/templates/tpl_index_product_list.php(99): require('/home/xxxxxx/...')
#12 /includes/modules/pages/index/main_template_vars.php(232): require('/home/xxxxxx/...')
#13 /includes/templates/classicBasic2/common/tpl_main_page.php(108): require('/home/xxxxxx/...')
#14 /index.php(94): require('/home/xxxxxx/...')
--> PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /includes/functions/functions_strings.php on line 335.
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
That url /blues-c-20/bmz_cache/1/103_1722jpg.image.92x80.jpg
Is still funky. I think there is either an error in your image handler implementation or USU. Easy way to find out, jam image handler into the responsive template (or just switch to it? Been a bit, can't remember if template edits are needed) and see if it copes.
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
and it's one product that's creating this. One category and all products. I can't imagine what the base problem is but at least I now know it's not a coding issue. Thanks again everyone!
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
Quote:
Originally Posted by
gothstone
That url /blues-c-20/bmz_cache/1/103_1722jpg.image.92x80.jpg
Is still funky. I think there is either an error in your image handler implementation or USU. Easy way to find out, jam image handler into the responsive template (or just switch to it? Been a bit, can't remember if template edits are needed) and see if it copes.
and there it is! I'm thinking there's something wrong with the image as there are no other issues and the issue persists when image hander is turned off. If I go look for it in the appropriate bmz folder, it's not there. I cleared the cache but nothing. So I've asked the owner to click thru to each of the 155 products in the catagory to see if we can figure out which is the issue. I don't know of anything else to do. Thanks gothstone!
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
Random thought, whats the actual name of category 20 and this product. Do they perhaps include -c- or -p- ? Cuz that would confuse usu...
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
as this only happens in one out of 33 categories, I'm quite sure it has nothing to do with that - and I turned off ultimate.
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
It ended up being a corrupted product - no corresponding product_description entry. It's an old cart (2007) so no telling when or what happened.
Re: Ultimate SEO v3 (and v2.200) [Support Thread]
v3.1.1 of USU is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=132
This version corrects the PHP Fatal error logged when $_GET['main_page'] is an array (GitHub issue #57).
Re: Ultimate SEO 2.200+ (new features)
Hello, I am currently using zencart v2.0.1 Before adding the ultimate seo plugin, all of my old urls were redirecting to my homepage using this code in the .htaccess file:
# Rewrite all other requests (if the file / directory does not exist)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Now that the plugin is installed and working, my old urls are now a white screen with the above code :( How can I get my old urls to redirect to my homepage?
Thanks, Gina!
Re: Ultimate SEO 2.200+ (new features)
A couple of pieces of information would help me help you.
First, if you've received a whitescreen there's a myDEBUG*.log file in the site's /logs directory identifying what the issue is.
Second, how about an example of one of the 'old' urls?