Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spell error #1

Closed
wants to merge 119 commits into from
Closed

Spell error #1

wants to merge 119 commits into from

Conversation

Zen4All
Copy link
Member

@Zen4All Zen4All commented Dec 12, 2012

Nothing important, just a small spell error

zcwilt and others added 30 commits September 25, 2012 01:03
remove page from navigation history, and forward user to timeout page, if necessary
thanks to lat9
…ed country domain for accessing PayPal services (per PayPal change Q3-2012)
Note. we use test framework stuff using atlassian bamboo. It is possible to setup a local phpunit and selenium server to run these
webtests, however this takes a some setting up to achieve. We will be posting info on the forums on how to achieve this.
Remove bundling of paypal/other payment module tests.
update paths and version stamping
temporarily comment out screeenshot stuff. need a better helper function
fix setup of compoundTests broken, becuase of removal of other tests
…l, so as to prevent confusion caused by caching of files which require alteration.
Added test scenario to initially fail
test in init_cart_handler.php was only checking FILENAME_PRODUCT_INFO
when it needs to test if its the info page for the product type
change fixes test scenario
Update admin version of zen_get_all_get_params to carry out the same sanitization of get params
as catalog version of zen_get_all_get_params
scottcwilson pushed a commit that referenced this pull request Sep 11, 2023
Since that value can be `null`, returning a string prevents PHP deprecate issues like
```
--> PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\zc200\admin\includes\modules\collect_info.php on line 419.
```
lat9 added a commit that referenced this pull request Oct 7, 2023
If a customer's not logged in, getting a PHP warning:
```
[07-Oct-2023 13:15:31 America/New_York] Request URI: /zc200/, IP address: 127.0.0.1, Language id 1
#0 C:\xampp\htdocs\zc200\includes\modules\sideboxes\shopping_cart.php(11): zen_debug_error_handler()
#1 C:\xampp\htdocs\zc200\includes\modules\column_right.php(30): include('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\zc200\includes\templates\bootstrap\common\tpl_main_page.php(251): require('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\zc200\index.php(94): require('C:\\xampp\\htdocs...')
--> PHP Warning: Undefined array key "customer_id" in C:\xampp\htdocs\zc200\includes\modules\sideboxes\shopping_cart.php on line 11.

[07-Oct-2023 13:15:31 America/New_York] PHP Fatal error:  Uncaught TypeError: zen_user_has_gv_account(): Argument #1 ($customer_id) must be of type int, null given, called in C:\xampp\htdocs\zc200\includes\modules\sideboxes\shopping_cart.php on line 11 and defined in C:\xampp\htdocs\zc200\includes\functions\functions_gvcoupons.php:54
Stack trace:
#0 C:\xampp\htdocs\zc200\includes\modules\sideboxes\shopping_cart.php(11): zen_user_has_gv_account(NULL)
#1 C:\xampp\htdocs\zc200\includes\modules\column_right.php(30): include('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\zc200\includes\templates\bootstrap\common\tpl_main_page.php(251): require('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\zc200\index.php(94): require('C:\\xampp\\htdocs...')
#4 {main}
  thrown in C:\xampp\htdocs\zc200\includes\functions\functions_gvcoupons.php on line 54
```
drbyte pushed a commit that referenced this pull request Oct 25, 2023
... for PHP 8.2 and later.  Seeing logs like
```
[15-Oct-2023 08:38:27 America/New_York] PHP Fatal error:  Uncaught TypeError: mktime(): Argument #4 ($month) must be of type ?int, string given in C:\xampp\htdocs\zc200\admin200\includes\modules\dashboard_widgets\TrafficDashboardWidget.php:23
Stack trace:
#0 C:\xampp\htdocs\zc200\admin200\includes\modules\dashboard_widgets\TrafficDashboardWidget.php(23): mktime(0, 0, 0, 'my', 'tt', '`php')
#1 C:\xampp\htdocs\zc200\admin200\index_dashboard.php(65): include('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\zc200\admin200\home.php(25): require('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\zc200\admin200\index.php(11): require('C:\\xampp\\htdocs...')
#4 {main}
  thrown in C:\xampp\htdocs\zc200\admin200\includes\modules\dashboard_widgets\TrafficDashboardWidget.php on line 23
```
drbyte pushed a commit that referenced this pull request Oct 26, 2023
…6022)

Seeing logs similar to the following due to variable-name 'misspelling':
```
[25-Oct-2023 11:38:20 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /home/mystore/public_html/includes/classes/payment.php(134): zen_debug_error_handler()
#1 /home/mystore/public_html/includes/modules/checkout_process.php(84): payment->checkCreditCovered()
#2 /home/mystore/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/mystore/...')
#3 /home/mystore/public_html/index.php(35): require('/home/mystore/...')
--> PHP Deprecated: Creation of dynamic property payment::$selected_method is deprecated in /home/mystore/public_html/includes/classes/payment.php on line 134.
```
drbyte pushed a commit that referenced this pull request Dec 9, 2023
Seeing logs like
```
[09-Dec-2023 14:40:04 America/New_York] Request URI: /zc200w/admin200/index.php?cmd=orders&page=1&oID=19&action=edit, IP address: 127.0.0.1, Language id not set
#0 C:\xampp\htdocs\zc200w\admin200\includes\init_includes\init_general_funcs.php(39): zen_debug_error_handler()
#1 C:\xampp\htdocs\zc200w\admin200\includes\init_includes\init_general_funcs.php(39): require()
#2 C:\xampp\htdocs\zc200w\includes\autoload_func.php(40): require_once('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\zc200w\admin200\includes\application_top.php(42): require('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\zc200w\admin200\orders.php(8): require('C:\\xampp\\htdocs...')
#5 C:\xampp\htdocs\zc200w\admin200\index.php(11): require('C:\\xampp\\htdocs...')
--> PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\zc200w\admin200\includes\functions\html_output.php on line 265.
```
torvista referenced this pull request Dec 26, 2023
Converts a numeric string to int or float depending on whether it is a whole number or not.
Basically performs PHP's coercive string conversion to float or int based on its content, to accommodate what strict_types mode cannot do.
drbyte pushed a commit that referenced this pull request Mar 24, 2024
Seeing logs like
```
[24-Mar-2024 15:48:37 America/New_York] Request URI: /zc200w/index.php?main_page=checkout_payment, IP address: 127.0.0.1, Language id 1
#0 C:\xampp\htdocs\zc200w\includes\modules\order_total\ot_loworderfee.php(48): zen_debug_error_handler()
#1 C:\xampp\htdocs\zc200w\includes\classes\order_total.php(56): ot_loworderfee->__construct()
#2 C:\xampp\htdocs\zc200w\includes\modules\pages\checkout_payment\header_php.php(99): order_total->__construct()
#3 C:\xampp\htdocs\zc200w\index.php(35): require('C:\\xampp\\htdocs...')
--> PHP Deprecated: Creation of dynamic property ot_loworderfee::$enabled is deprecated in C:\xampp\htdocs\zc200w\includes\modules\order_total\ot_loworderfee.php on line 48.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants