News:

AbanteCart v1.4.2.1 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

Messages - abolabo

#1
General Support / Re: Upgrade 1.4.1 to 1.4.2 error
August 08, 2025, 06:12:43 AM
Looks like you had ran upgrade twice.
Your database structure now under v1.4.2, but php code is 1.4.1.
Just restore database from backup and run upgrade again
#2
Quote from: emintah92 on August 06, 2025, 04:28:53 AMI can only say that I know next to nothing about Apache server files and editing .htaccess files so I haven't touched them at all. please help.  :'(

Hi, this error depends on your current apache version.
Thank you for your report. Good catch.

To solve try to replace content of file C:/wamp64/www/abantecart/admin/.htaccess with this:
<IfModule !mod_authz_core.c>
    # Apache 2.2
    <FilesMatch "\.php$">
        Order deny,allow
        Deny from all
    </FilesMatch>
</IfModule>

<IfModule mod_authz_core.c>
    # Apache 2.4+
    <FilesMatch "\.php$">
        Require all denied
    </FilesMatch>
</IfModule>

and tell us result. If all fine we'll give you instruction what other places should be edited.

Thank you.

#3

Hi,
The first thing you need to know about modifying the product grid is that AbanteCart uses several types of controllers.
The grid configuration itself is defined in the page controller — in your case, `catalog/product`.
This configuration is passed to the `common/listing_grid` controller, which renders the grid using jqGrid.

Right after loading, an AJAX request is sent to a response controller. You can find all the response controllers for grids under the `responses/listing_grid` path.

As you've probably guessed, at each stage of the code execution path, you can make changes to the controllers using our hook system.
Each controller has calls like `$this->extension->hk_InitData()` or `$this->extension->hk_UpdateData()` (there are actually more),
which allow you to modify public properties of the controller from a hook, both before and after execution.

So, to add a column, you need to modify the configuration before the `common/listing_grid` controller executes.
(The configuration data contains a `table_id`, so you can easily detect which grid is being called. In your case, it's `'table_id' == 'product_grid'`).

You'll also need to modify the response controller `listing_grid/product` to include `title` in the data list.
As an example, check the method `public function onControllerResponsesListingGridExtension_UpdateData()` from the `avatax_integration` extension.

It's best to work with Xdebug so you can see which data is available at each step.

For more details on how hooks work, refer to (https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17793156/Hooks]our documentation:


#4
Quote from: hannaconner on July 14, 2025, 03:00:10 AM
My second question is, on the checkout page, it keeps saying "Error: No Shipping options are available. Please contact us for assistance!".

I have no idea why it keeps saying this - I activated ship by weight and also paypal is available as a payment method.

Please help, thanks

usually this mean you have a misconfiguration of weight rate.
AbanteCart shipping selection based on inner filtration. Filtration based on limitations such as allowed location, weight min/max limits and rates-by-weight and parcel dimensions.
All these restrictions you can change on the shipping method extension page.
Also be sure your parcel not zero-weight. 
We suggest to enable setting config_cart_weight(settings->checkout or just type in search key in admin) to see total weight on the cart page (see heading title)
More detailed info you can find in our documentation
#5
Configuration / Re: Mobile menu not changing
July 12, 2025, 07:22:21 AM
because it's hardcoded in tpl
public_html/extensions/novator/storefront/view/novator/template/common/menuoffcanvas.tpl line 49
#6
i had checked the code and looks like you have a problem with your server configuration.
Looks like error related to session data, but it is empty (! have no idea why).
We'll try to improve this code in the future, but now you should to ask your hosting provider about that.
Something blocks session data on server during installation.
Also this can be related to session cookie blocker on browser side. (you can try to remove all cookies of your domain before start).


#7
Quote from: Ali Arslan on July 10, 2025, 04:40:07 AM
First of all, thank you for your support and clarification regarding the option types. That was really helpful.

Now, I am facing an issue while installing AbanteCart on my domain. I downloaded the official package from the AbanteCart website, extracted it on my server, and accessed the installation via browser.

1-License agreement step completes successfully.

2-Compatibility validation also shows all checks as passed.

However, during the configuration step, after entering the database and admin details and clicking Continue, the installation proceeds to the data load phase and then throws the following error:

"Parse error has occurred during installation."

Error.txt :

2025-07-10 8:09:44 - Unknown Error:  AbanteCart core v.1.4.2 ADB::__construct(): Argument #1 ($driver) must be of type string, null given, called in /home/server/public_folder/domain/shop/install/model/install.php on line 260
Trace:
#0 /home/server/public_folder/domain/shop/install/model/install.php(260): ADB->__construct(NULL, NULL, NULL, NULL, NULL, NULL, Array)

Could you please help me understand the cause of this error and how to resolve it?
What if remove file system/config.php and try to install ?
#8
Quote from: Ali Arslan on July 10, 2025, 04:21:54 AM
As requested, I've recorded a video demonstrating the issue. In the first half of the video, you'll see that on one site (with the same version), the product section does not have the "+" button to add values. In the second half, on another site with the same version, the "+" button is visible and working.

please take a note, each option have a it's own type.
Selectbox is a multivalue. Label - not.
#9
can you provide video (screencast record)?
#10
Quote from: perplexed on July 03, 2025, 01:14:41 PM
We have a solution from our webhosting support team, that appears it has indeed fixed a couple of issues on Abantecart. Sharing their response below:

"We've reviewed the issue reported on your website and found that it was likely related to PHP's memory limit settings not properly reflecting on the site.

To address this, we have created a .user.ini file within the root directory of your site and increased the PHP memory_limit to 2048M (2GB). This change ensures that your application has access to more memory, which can help prevent memory-related errors during operation.

At this time, no further errors are appearing in the logs, but we recommend that you test the site and let us know if you experience the same issue again. We appreciate the productive communication with the AbanteCart IT team during this process."

Thank you for your feedback. 

FYI, each hosting provider propose a lot of hosting solutions that affect on configuration scheme of web-server. Not all of them lookingo for user's  *.ini file(security reasons etc).
#11
Ha, 10mb of memory is not enough for AbanteCart.

You should to check php directive memory_limit before run.
Make it at least 128Mb inside php.ini file Or on cPanel php configuration page.

To see actual memory_limit just go to admin->system->settings->system  button phpinfo() at the heading. 
#13
Quote from: Ali Arslan on June 27, 2025, 09:31:33 AM
Thank you for the response earlier.

Just following up on this issue regarding the failed upgrade to v1.4.2 due to the DROP INDEX IF EXISTS syntax. As mentioned, our MySQL server version is 8.0.38, which supports this syntax  yet the upgrade still fails with the SQL error referencing:

DROP INDEX IF EXISTS `ab_lang_definition_idx` ON `ab_language_definitions`

1. open phpMyAdmin and run this queries:
create index `ab_lang_definition_idx` on `ab_language_definitions` (language_value(500));


create index `ab_settings_idx` on `ab_settings` (value(500));


2. run upgrade process in admin with key abantecart_upgrade_142
#14
what version of mysql-server do you use?
https://github.com/abantecart/abantecart-src/blob/master/public_html/composer.json#L28

(see cpanel->phpMyAdmin -> server info)
#15
Quote from: Ali Arslan on June 23, 2025, 05:27:27 AM
But after redirection to account/account, session seems wiped.

You can play  with controllers to exclude extensions effect at all.
Just open controller pages/account/account and comment two rows with hooks call
i mean lines with
//$this->extensions->UpdateData();
and
//$this->extensions->InitData();

After that no one extension hooks will run. And you will be sure problem in the server configuration or in php-code.

Just add two slashes // before call.

Forum Rules Code of conduct
AbanteCart.com 2010 -