Show Posts


Messages - abolabo

Pages: [1] 2 3 ... 146
1
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).



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?
What if remove file system/config.php and try to install ?

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.

please take a note, each option have a it's own type.
Selectbox is a multivalue. Label - not.

4
can you provide video (screencast record)?

5
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).

6
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. 
 

8
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:
Code: [Select]
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

9
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)

10
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.

11
General Support / Re: Help with Permissions Breakdown
« on: June 23, 2025, 04:13:10 AM »
I am being told that my permissions are set to 755 and I keep getting errors. Cannot even update the version of abantecarte as I get these errors:
755 means write for file/directory owner and listing(reading) for group and other users.
Your web-server works under some user. Usually it's a username that your account registered. In your case it's a "heartpetsupply".
Looks like somebody uploaded your files with wrong permissions or did it by security reason.
So, you should to set 755 permissions for all directories and files in the list.
You can do this via cPanel FileManager. Just select directory, for example default_usps. Change permissions and files inside.
If you do not plan to use extensions default_usps and default_spanish(language pack), you can just delete them.

12
However, the issue still persists the login completes, but the redirection loops back to the login page instead of proceeding to the account dashboard.

one of such unexpected deleting of session can be 3d-party login extensions.
Try to uninstall them completely if presents.

13
yes, structure is correct.

Do you have some old incompatible extensions installed? Can you try disable them?


14
please check this sql-request of upgrade script.
https://github.com/abantecart/abantecart-src/blob/1.4.1/public_html/install/abantecart_database_upgrade.sql#L87

Be sure table customer_sessions presents in the database

15
How-to questions / Re: Which style sheet for the bootstrap theme?
« on: June 17, 2025, 03:51:31 AM »
Hi all! I wanted to change the menu bar color (and other layout colors) and can't find the proper place to do it. I'm using the bootstrap theme. Is /storefront/view/default/stylesheet/bootstrap.css the right place?
I'm old. but the mind is still willing. A lot has changed since I made html web pages 25 years ago. Thanks for any help :)
You should to edit file style.css instead. bootstrap.css  is a file of css-framework. We prefer do not change such distributed files.
I guess you use our prior version of AbanteCart. Since 1.4.0 directories have name "css", not "stylesheet".
Please note, all your changes will be overwritten by upgrade process. To avoid that you should to create extension template based on your current "default" template via our developer_tools extension.

Pages: [1] 2 3 ... 146

Powered by SMFPacks Social Login Mod