lat9 / ZCA-Bootstrap-Template

A Bootstrap-4 template for Zen Cart versions 1.5.8 through 2.1.0. Forked from https://github.com/zcadditions/ZCA-Bootstrap-Template-for-1.5.6-v2.0.0c. See the demo site, below, for additional information.
https://zc158.vinosdefrutastropicales.com/zc158/index.php?main_page=index
GNU General Public License v3.0
4 stars 14 forks source link

PHP Warning: Undefined variable $script_name in jscript_bs4_matching_heights.php #381

Closed torvista closed 5 months ago

torvista commented 5 months ago

php 8.3.7RC1, strict reporting

[09-May-2024 16:11:57:000000 Europe/Madrid] Request URI: / IP address: 127.0.0.1, Language id 2

0 includes/templates/bootstrap/jscript/jscript_bs4_matching_heights.php(10): zen_debug_error_handler()

1 includes/templates/bootstrap/common/html_header.php(226): require('D://OneDrive//Bus...')

2 index.php(42): require('D://OneDrive//Bus...')

--> PHP Warning: Undefined variable $script_name in includes/templates/bootstrap/jscript/jscript_bs4_matching_heights.php on line 10.

If the ajax search is on, $script_name is set here I think:

https://github.com/lat9/ZCA-Bootstrap-Template/blob/08b92995cb0c7c3bafc02d8b13975d5dc0786c74/includes/templates/bootstrap/jscript/jscript_bs4_ajax_search.php#L5-L11

and conversely, if off, is not set.

torvista commented 5 months ago

What took you?

lat9 commented 5 months ago

What took you?

??

dbltoe commented 5 months ago

I believe he's referring in your taking a WHOLE 19 minutes to "get 'er done". 😃