

241
-
Content count
6,148 -
Joined
-
Last visited
Posts posted by 241
-
-
no worries these are not problems for me I have fixed, just thought to bring them to your attention in case you were unaware
A thought that you may want to use is_countable for future php (PHP 7 >= 7.3.0) it can be implemented in compatibility mode now as a function will help with all your count()
-
I also found I needed to modify the last part to
if (empty($oInfo->customer_service_id)){ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' No ID.'); }else{ $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' ' . $oInfo->customer_service_id); }
though that may be because of the heavy modifications
-
-
look at the end of the file in the section default I have a very heavily modified site but you should look for something starting like this
$contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_ORDERS_DETAIL, 'document', tep_href_link('orders.php', tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit')) .
-
-
No worries got a few more for you
admin/header_tags_fill_tags.php
Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 703
Notice: Undefined variable: sleep in admin/header_tags_fill_tags.php on line 704missing initial declaration for the variable $sleep outside of action
either
$sleep = '';
or
$sleep = false;
admin/header_tags_seo_keywords.php
Notice: Undefined index: date in admin/header_tags_seo_keywords.php on line 371
Notice: Undefined index: searches in admin/header_tags_seo_keywords.php on line 372
Notice: Undefined index: google_last_position in admin/header_tags_seo_keywords.php on line 373admin/header_tags_seo_silo.php
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 152
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 156
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 162 Date
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 163 Name
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 164 Best Seller
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 165 Custom
Notice: Undefined offset: 1 in admin/header_tags_seo_silo.php on line 171
Notice: Undefined variable: selectedCats in admin/header_tags_seo_silo.php on line 174admin/header_tags_seo_social.php
Notice: Undefined index: 24x24 in admin/header_tags_seo_social.php on line 245
Notice: Undefined index: 32x32 in admin/header_tags_seo_social.php on line 245
Notice: Undefined index: 48x48 in admin/header_tags_seo_social.php on line 245
Notice: Undefined index: creator in admin/header_tags_seo_social.php on line 306 -
admin/includes/functions/header_tags.php line 104
if (($fileSaved && $cntNewFiles) || (! $fileSaved && (count($existingFiles) != $cntNewFiles))) {
count($existingFiles)
Notice: Undefined variable: existingFiles
Warning: count(): Parameter must be an array or an object that implements Countable
$existingFiles is not an array or object
Demitry reacted to this -
you can use the free shipping admin > modules > Order Total > shipping
set allow free shipping true and set the amount
and for the other you just want to add a message stating that the costs vary and they will be contacted, so adapt the flat rate to fit
-
no worries then got a logic step mix up
-
is the original code in includes/modules/content/login/cm_paypal_login.php lines 212-220 correct
if (ACCOUNT_STATE == 'true') { if ($ship_zone_id > 0) { $sql_data_array['entry_zone_id'] = $ship_zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '0'; $sql_data_array['entry_state'] = $ship_zone; } }
more so line 215
$sql_data_array['entry_state'] = '';
if you have the ship_zone_id which is derived from the query based on PayPal response for country and zone being from region should the line not be
$sql_data_array['entry_state'] = $ship_zone;
and line 218 be
$sql_data_array['entry_state'] = '';
-
21 minutes ago, peterbuzzin said:if a naked echo $_GET['keyname'] is being used instead of $HTTP_GET_VAR['keyname'] this could/will have disastrous outcomes!
could you not use
htmlspecialchars($_GET[
'keyname'] ) -
Couldn't edit my post
In ext/modules/payment/paypal/express.php on line 281 I changed
$paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params);
to
$paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params, (OSCOM_APP_PAYPAL_EC_STATUS == '1') ? 'live' : 'sandbox');
This gave me the missing CallbackResponse in the PayPal log an got rid of the error messages in system logs.
The 7th argument would be for IPN which could be set true but has default false.
I was able to edit this post
-
In ext/modules/payment/paypal/express.php on line 281 I changed
$paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params);
to
$paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params, OSCOM_APP_PAYPAL_EC_STATUS);
This gave me the missing CallbackResponse in the PayPal log an got rid of the error messages in system logs
-
2 hours ago, MrPhil said:Comparing all the ...->_app->log(... calls in Frozen, it looks like ext/modules/payment/paypal/express.php on line 281 is missing a sixth parameter: ,(OSCOM_APP_PAYPAL_PS_STATUS == '1') ? 'live' : 'sandbox' . Is that the only fix needed, or are there more? Can someone with a PayPal setup try it out?
would that not be EC for express rather than PS for standard?
-
Seeing error for too few arguments to function OSCOM_PayPal::log(), 5 passed in ext/modules/payment/paypal/express.php on line 281 and at least 6 expected in includes/apps/paypal/OSCOM_PayPal.php line 23
ext/modules/payment/paypal/express.php on line 281 5 arguments
$paypal_express->_app->log('EC', 'CallbackResponse', 1, $log_sane, $params);
includes/apps/paypal/OSCOM_PayPal.php line 23 6 arguments. Argument 6 would be $server
function log($module, $action, $result, $request, $response, $server, $is_ipn = false) {
-
@burt what are you using for your line breaks?
content-type: text/plain "\n" - move cursor to next line "\r" - move curser to beginning of the line "\n\r" - produces 2 new lines whereas "\n", "\r" and "\r\n" give single lines content-type: text/html <br> - single line break HTML <br /> - single line break XHTML HTML5 allows both but prefers <br> nl2br($str, boolean) - replace \n with <br> or <br /> boolean - true/false default true nl2br($str, true) same as nl2br($str)
-
4 minutes ago, BrockleyJohn said:It is possible that the order completion processing in ext/modules/payment/standard_ipn.php
so the call back...
mattsc are you TLS 1.2
-
may be a setting in your actual paypal account or an issue with the PayPal App version 4.
Have you tried updating the App to above version 5 as the App is at v5.0.18
-
I remember changing the curl calls for IPN
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
Paypal had a page about the changes required for TLS 1.2 -
yes that one is 6 yrs old so would need a bit of tweaking but would give you an idea. Have you tried doing it via attributes as it is only 3 options.
-
https://apps.oscommerce.com/q=warranty
You could do it with attributes or just code it up.
valquiria23 reacted to this -
from your image there is no define for FILENAME_EXCEL in admin/includes/filenames.php
-
missing tour file
/includes/modules/header_tags/customer_service/modules/bstour/customers.js
-
Missing tour file
includes/modules/header_tags/customer_service/modules/bstour/orders.js
Stripe v3 module for SCA
in Other
Posted
@mhsuffolk @asro2004 there are a couple more stripe references that should be changed to stripe_sca in the ext/modules/content/account/stripe_sca/cards.php lines 59 and 63 redirect and breadcrumb