Show Posts


Messages - hani

Pages: 1 [2] 3 4 ... 8
16
Hello

I contacted my host support and they checked in depth the cause for this message [ Cannot get tables list. Please check privileges of mysql database user.] and their reply is below.

==================================================================================

The reason for the experienced issue appears to be in the core files of Abantecart and more precisely in the following one:

core/lib/backup.php
In this file there is the following code:

 //2. check mysql driver
        $sql = "SELECT TABLE_NAME AS 'table_name',
                                        table_rows AS 'num_rows', (data_length + index_length - data_free) AS 'size'
                                FROM information_schema.TABLES
                                WHERE information_schema.TABLES.table_schema = '".DB_DATABASE."'";
        $result = $this->db->query($sql, true);
        if ($result === false && DB_DRIVER == 'mysql') {
            $this->error[] = 'Probably error will occur. Please change db-driver to "amysqli" in your /system/config.php file.';
        } elseif ($result === false) {
            $this->error[] = 'Cannot get tables list. Please check privileges of mysql database user.';
            var_dump($result);
        }
From what I can see this code is being used to check if the tables and data in your database, however opposite to the expected behavior of the application this SQL query returns false which makes the error "Cannot get tables list. Please check privileges of mysql database user." appear at the top of the extensions installation page.

This issue has nothing to do with the privileges of your MySQL user to the information_schema table as your database use already have full privileges for that table. Instead the issue here is caused by something else and that thing is the error which that SQL query results in:

SQL Error: BIGINT UNSIGNED value is out of range in '((`information_schema`.`TABLES`.`DATA_LENGTH` + `information_schema`.`TABLES`.`INDEX_LENGTH`) - `information_schema`.`TABLES`.`DATA_FREE`)'
Error No: 1690
Now, I am not sure why that error appears but definitely, it has nothing to do with the setup of the web hosting service. You might want to forward this result to the authors of the application. I read quite a lot about this error and I even tried to set the SQL mode to "NO_UNSIGNED_SUBTRACTION", however this error still persist.

By the way, from what I understand the file core/lib/backup.php is used with backup purposes, however, we already provide you with a free complimentary backup service so you should simply disregard this message and proceed further with the installation of the module except of course if that error prevents you to proceed with the installation.

17
Not with any specific extension, I get this message when i want to install an extension see attached image

18
Hi
Thank for your reply

I did check with my host provider before i submitted this issue on the forum and from the server side all privileges are allowed.

19
Hello everyone

I moved my website to a new server and everything was fine but when i stated installing some extensions I get the message
Cannot get tables list. Please check privileges of mysql database user.

i checked my database user privileges and all is OK and cannot see where is the problem.

Any advice
Thanks in advance

20
General Support / Error in logs file after 1.2.16 upgrade
« on: August 16, 2020, 11:31:05 PM »
Hi to all

I am having these errors in my logs file can anyone please help

2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli::__construct(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/core/database/amysqli.php</b> on line <b>50</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - App Error: AbanteCart core v.1.2.16 Cannot establish database connection to XXXXXXX_aban454 using XXXXXXX_admin@localhost
Trace:
#0 /home/XXXXXXX/public_html/core/database/amysqli.php on line 52
#1 /home/XXXXXXX/public_html/core/lib/db.php on line 52
#2 /home/XXXXXXX/public_html/core/init.php on line 320
#3 /home/XXXXXXX/public_html/index.php on line 55
2020-08-16 19:04:40 - database error: AbanteCart core v.1.2.16 Cannot establish database connection. Check your database connection settings. in <b>/home/XXXXXXX/public_html/core/database/amysqli.php</b> on line <b>54</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:40 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:41 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:41 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:41 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:41 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:42 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:42 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>
2020-08-16 19:04:42 - warning: AbanteCart core v.1.2.16 mysqli_connect(): (HY000/1203): User XXXXXXX_admin already has more than 'max_user_connections' active connections in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>806</b>
2020-08-16 19:04:42 - warning: AbanteCart core v.1.2.16 extract() expects parameter 1 to be array, null given in <b>/home/XXXXXXX/public_html/extensions/editor/core/helpers.php</b> on line <b>651</b>

Thanks in advance

21
General Support / Re: Database connection error
« on: July 20, 2020, 06:18:38 AM »
Hi

Thanks for your reply
I checked the system/config.php file and i don't see that there is anything wrong

This error occurs from time to time which means that the database connection is good and my site works perfect BUT in some moments something happens and the database connection is down, i checked with my server provider A2 Hosting and they say that there is errors in the server logs file

What other reasons may cause this database failure??

Thanks

22
General Support / Database connection error
« on: July 18, 2020, 04:08:02 AM »
Hello

I am getting the below error messages from time to time and as i see that it is related to a database connection issue, i contacted my host provider A2 Hosting and they say that there is no errors in their log files.

What may cause this issue??


2020-07-15 6:21:50 - warning: AbanteCart core v.1.2.16 mysqli::__construct(): (HY000/2002): No such file or directory in <b>/home/XXXXXX/public_html/core/database/amysqli.php</b> on line <b>50</b>
2020-07-15 6:21:50 - App Error: AbanteCart core v.1.2.16 Cannot establish database connection to XXXXXX_YYYYYY using XXXXXX_admin@localhost
Trace:
#0 /home/bethleh1/public_html/core/database/amysqli.php on line 52
#1 /home/XXXXXX/public_html/core/lib/db.php on line 52
#2 /home/XXXXXX/public_html/core/init.php on line 322
#3 /home/XXXXXX/public_html/index.php on line 55
2020-07-15 6:21:50 - database error: AbanteCart core v.1.2.16 Cannot establish database connection. Check your database connection settings. in <b>/home/XXXXXX/public_html/core/database/amysqli.php</b> on line <b>54</b>

Thanks in advance

23
Templates / Re: E-Mail subject required!
« on: July 10, 2020, 11:58:57 AM »
Thanks for your reply

24
Templates / Re: E-Mail subject required!
« on: July 10, 2020, 12:30:19 AM »
Hello again

I think i found the problem, i have 2 stores, a retail store and email templates are available and another store for wholesale and here in the second store EMAIL TEMPLATES are not available

What is the easiest way to copy the templates from one store to another?? do i have to do them manually one by one??

25
Templates / Re: E-Mail subject required!
« on: July 10, 2020, 12:14:19 AM »
Hello

I have upgraded from 1.2.15 to 1.2.16 and i am getting a similar error as below

2020-07-09 14:18:24 - Email Template with text id "storefront_new_customer_admin_notify" and language_id = 1 not found
2020-07-09 14:18:24 - Error: E-Mail subject required!
2020-07-09 14:18:24 - Email Template with text id "storefront_welcome_email_activated" and language_id = 1 not found
2020-07-09 14:18:24 - Error: E-Mail subject required!


I have checked the email templates in the Design >> Email templates they are available

Can anyone tell what might be wrong??

Thanks in advance for any advise

26
Built-in Features / Re: Product option images
« on: November 20, 2019, 10:43:11 AM »
Hi
Yes there was an issue with the extension and i reported that and it was fixed very quickly.

It is a very useful extension and i highly recommend it


27
General Support / Re: abantecart errors
« on: September 06, 2019, 01:53:06 AM »
No i don't notice any problems and i tested again now and checked the log errors and in the logs the message did not show up.
there is something strange don't know why the message comes up sometimes and sometimes no


28
General Support / Re: abantecart errors
« on: September 06, 2019, 12:42:06 AM »
Hi

I am still getting this error and i have debug disabled.

But i have noticed that this error comes up when an item is added to cart and i don't think that it is due to a bot possibly it is a bug in version 1.2.15

it is worth checking

29
General Support / Re: abantecart errors
« on: July 18, 2019, 05:33:55 AM »
Hi

what about the second error message a below is it also related to the server??

2019-07-05 0:30:46 - App Error: AbanteCart core v.1.2.15 Error: Error in data of page with controller: 'pages/product/product'. Please check for key_value present where key_param was set.
Requested URL: ://www.mydomain.com/r/product/product/addToCart&amp;product_id=
Referer URL:
Trace:
#0 /home/XXXXXX/public_html/core/engine/layout.php on line 202
#1 /home/XXXXXX/public_html/core/engine/layout.php on line 109
#2 /home/XXXXXX/public_html/core/engine/page.php on line 101
#3 /home/XXXXXX/public_html/core/engine/router.php on line 176
#4 /home/XXXXXX/public_html/core/engine/router.php on line 80

 

30
General Support / abantecart errors
« on: July 06, 2019, 03:48:41 AM »
Hi

I have installed abantecart version 1.2.15 and i get the bellow errors in my log can anyone explain please what are these errors?

2019-07-04 11:58:46 - warning: AbanteCart core v.1.2.15 Error while sending QUERY packet. PID=2027823 in <b>/home/XXXXXXX/public_html/core/database/amysqli.php</b> on line <b>79</b>
2019-07-04 11:58:46 - database error: AbanteCart core v.1.2.15 SQL Error: MySQL server has gone away
Error No: 2006
SQL: DELETE FROM `abc_online_customers`
WHERE `date_added`< (NOW() - INTERVAL 1 HOUR) in <b>/home/XXXXXX/public_html/core/database/amysqli.php</b> on line <b>114</b>

2019-07-05 0:30:46 - App Error: AbanteCart core v.1.2.15 Error: Error in data of page with controller: 'pages/product/product'. Please check for key_value present where key_param was set.
Requested URL: ://www.mydomain.com/r/product/product/addToCart&amp;product_id=
Referer URL:
Trace:
#0 /home/XXXXXX/public_html/core/engine/layout.php on line 202
#1 /home/XXXXXX/public_html/core/engine/layout.php on line 109
#2 /home/XXXXXX/public_html/core/engine/page.php on line 101
#3 /home/XXXXXX/public_html/core/engine/router.php on line 176
#4 /home/XXXXXX/public_html/core/engine/router.php on line 80

Thanks

Pages: 1 [2] 3 4 ... 8

Powered by SMFPacks Social Login Mod