News:

AbanteCart v1.4.2 is released.

Main Menu
support

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 - Ali Arslan

#1
Thank you for your suggestion.

I already had an empty system/config.php file in place, but as advised, i deleted it completely and attempted the installation process again. Unfortunately, the same error persists during the Data Load step.

Please let us know if there's anything else i should try?
#2
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?
#3
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.
#5
I hope you're all doing well.

I'm reaching out to seek guidance regarding an inconsistency I've encountered in the product editing interface after upgrading two different sites to version 1.4.2.

Issue Description:
On Site A (upgraded to v1.4.2), when I navigate to:

Products → Edit Product → Options Tab

I can see a plus (+) icon located above the Save button. This icon allows me to conveniently add more option values for that product.

However, on Site B, which has also been upgraded to the same version 1.4.2 and follows a very similar configuration:

Products → Edit Product → Options Tab

I do not see the plus (+) icon for adding more option values in the same location.

Thank you in advance for your support!
#6
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`
#7
Server version: 8.0.38 - MySQL Community Server - GPL
#8
Hello,

While attempting to upgrade the core from version 1.4.1 to 1.4.2, we are encountering a critical SQL syntax error during the upgrade process. The upgrade consistently fails with the following error logged:

SQL-ERROR: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS `ab_lang_definition_idx` ON `ab_language_definitions`' at line 1"
The error is being triggered from:

/core/lib/package_manager.php on line 832

This suggests that the upgrade process is executing a DROP INDEX IF EXISTS statement, which appears to be incompatible with the current MySQL server version.

Request for Support:
Could the team or anyone from the community kindly advise:

Where exactly this DROP INDEX IF EXISTS statement is being generated from during the upgrade?

If this is a known issue in the 1.4.2 upgrade package?

Recommended approach to prevent this SQL error and complete the upgrade successfully?

Looking forward to any guidance or a possible patch from the core team.
#9
I had previously posted regarding the persistent login loop issue in AbanteCart v1.4.1 on my live store. I received some suggestions (thanks to the contributors!) and have now tried several of those recommendations, but unfortunately, the problem still persists.

What I've Tried So Far:
Checked Session Creation
Session is successfully created after login (verified in debug logs and $_SESSION array).
customer_id, zone_id, etc. are set correctly.

Secure Cookie Handling
Set a secure, HTTP-only customer cookie using setcookie() inside ControllerPagesAccountLogin.
Cookie is visible in browser, path and domain are correct.

Session Loss After Redirection
On next request after login, session appears to be reset  user is redirected back to login.
We checked .htaccess, index.php, and ensured no session reset is triggered in code.

But after redirection to account/account, session seems wiped.
#10
Thank you for the suggestion.

We've checked our extensions and we've already switched back to the default extension (replacing the existing one). However, the issue still persists the login completes, but the redirection loops back to the login page instead of proceeding to the account dashboard.

My Observation on this issue !

During the login process, we observed the following behavior:

Credential Submission:
When valid login credentials are submitted via the login form, a POST request is initiated to the login route.

Initial Response

Unexpected Session Deletion:
Upon redirection to the /account page, the server immediately deletes the customer session cookie, as seen in the response headers. This results in the authenticated session being dropped unexpectedly.

Second Redirection (Loop Back to Login):
Because the session is no longer valid, the system interprets the user as unauthenticated and redirects them back to the login page. This creates a loop, preventing access to the account area even with valid credentials.
#11
The table already exists in the database. I'm attaching a screenshot of the customer_session fields. Is the table structure okay?
#12
Hi Community,

I'm experiencing a persistent issue with AbanteCart v1.4.1 on a live deployment. After submitting the login form, the user is redirected to the expected account/account URL, but then immediately redirected back to the login page without any error message.

Observed Behavior:
Login form submits via POST to account/login with valid credentials.

The response returns 302 Found to account/account (as expected).

Then the browser is redirected again with 302 back to login page.

Final status is 200 OK on the login page – but the user is never authenticated.

No errors appear in AbanteCart logs or server logs.

The customer cookie is issued after login, but gets immediately deleted in the next request.
#13
We are currently in the process of upgrading our AbanteCart installation from version 1.4.0 to 1.4.2.

However, during the upgrade process, we encountered the following error:

2025-06-02 13:57:56 - Unknown Error: AbanteCart core v.1.4.1 SQL-ERROR:
"array (
  'error_text' => 'Can\'t DROP \'isgt_lang_definition_idx\'; check that column/key exists',
  'errno' => 1091,
)"
in /core/lib/package_manager.php on line 832

This error suggests that the upgrade script is trying to drop the index isgt_lang_definition_idx, but it does not actually exist in our database. To further investigate, I attempted to manually drop the index using a SQL query, but MySQL returned the same error 1091, confirming that the index is not present in the current schema.

It seems the upgrade script may be assuming the presence of this index without verifying its existence first.

We would greatly appreciate any insights or solutions from the AbanteCart community or developers on the following points:

Is this a known issue in the upgrade process from v1.4.0 or v1.4.1 to v1.4.2?

Any support to help us proceed with a clean and successful upgrade would be sincerely appreciated.

Forum Rules Code of conduct
AbanteCart.com 2010 -