News:

AbanteCart v1.4.3 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - jetman

#1
General Support / Product stock and dropdown box issues
September 25, 2017, 03:30:25 PM
php 7.0.23
litespeed
AbanteCart v.1.2.11

Error Log:
2017-09-25 12:04:07 - warning: AbanteCart core v.1.2.11 current() expects parameter 1 to be array, integer given in <b>/home/xx/public_html/extensions/countrytheme/storefront/view/countrytheme/template/form/selectbox.tpl</b> on line <b>6</b>

The selectbox.tpl here is the same as the latest default.

Message Manager:

Form Field #option18 Issue
Message status:
warning
Date:
09/25/2017 12:04:07 PM
Number of repetitions:
26
Abnormal situation. All options of required field "option[18]" are disabled.


Issue #1

When a product has options and these options become out of stock, the storefront continues to show the dropdown box and add to cart button, causing the above messages. Both Stock Checkout in the product and checkout options are set to no. See attachment admin.png for the settings and storefront_1.png for the storefront. The availability shows the correct "No Longer Available" which leads to issue #2.

Issue #2

If I disable the options, oddly the availability changes to "Out of Stock" from "No Longer Available" and the Cart button changes to "Out of Stock." Both the store default and product Out Of Stock Status are set to "No Longer Available." See attachment issue_2.png


Thank you for all the fixes in 1.2.11 and all your hard work,

Jason
#2
General Support / guest_step_2 warning
May 27, 2017, 09:40:55 PM
Shipping modules: USPS, Fedex
PHP 7.0.19
LiteSpeed V6.10

Go to the guest checkout and enter an invalid zip code (ex 00000) for the delivery address on guest_step_1. The shipping modules on guest_step_2 show the correct error messages but this shows up in the error log:

2017-05-27 18:00:37 - warning: AbanteCart core v.1.2.10 Invalid argument supplied for foreach() in <b>/home/xxxx/public_html/storefront/controller/pages/checkout/guest_step_2.php</b> on line <b>336</b>

This should be a quick fix.

Jason
#3
General Support / non-configured warning
January 30, 2017, 04:52:26 AM
A warning triggered by requesting urls with an specified port number (in this case, port 80) and the configured store url doesn't (this one was caused by a bad bot - must be from the department of redundancy department).

The store url is [http]://www.mydomain.com/ and the request is [http]://www.mydomain.com:80/

This is easily repeatable. Please note that I had to use a http header check tool to trigger the warning myself, modern browsers seem to remove the redundancy before sending the request.

Possible solution is to remove the default port number but still allow non-default port numbers (ex. 8080) before the check on line 168 in /core/lib/config.php

App Warning: AbanteCart core v.1.2.9 Warning: Accessing store with non-configured or unknown domain ( mydomain.com:80/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/*****/public_html/core/lib/config.php on line 210

php 7.0.13
litespeed
AbanteCart v.1.2.9
#4
General Support / DB error in product.php
December 28, 2016, 01:38:03 AM
php 7.0.13
10.1.14-MariaDB
driver: amysqli
litespeed

Clicking on a product with an option in the cart, the resulting product page returns with this error:

2016-12-27 21:32:02 - database error: AbanteCart core v.1.2.9 SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':70968c2523c4ae41441b8df13a2c9231)
AND customer_group_id = '1'
AND' at line 3
Error No: 1064
SQL: SELECT product_id, price
FROM product_specials
WHERE product_id IN (1975:70968c2523c4ae41441b8df13a2c9231)
AND customer_group_id = '1'
AND ((date_start = '0000-00-00' OR date_start < NOW())
AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY product_id ASC, priority ASC, price ASC in <b>/home/***/public_html/core/database/amysqli.php</b> on line <b>108</b>

I am unable reproduce the error on the demo store and I replaced the core/storefront with a fresh copy but I am still getting this error. I like to know why abantecart is not removing ":70968c2523c4ae41441b8df13a2c9231"

Any ideas?

Jason
#5
I am new to AbanteCart and recently installed v.1.2.8. No IM drivers installed.

When using default_authorizenet_aim (or similar payment extensions) when creating an order with a registered user, the function update is called to add the gateway's response to the order's comment, but the function update calls the function send, which sends a blank IM email message to the user with the subject store name Notification. No email should be sent to the user.

See attachment.

Forum Rules Code of conduct
AbanteCart.com 2010 -