Updated to 1.2.16, site & admin page not accessible

Started by pankaj2020, May 16, 2020, 04:24:02 AM

Previous topic - Next topic

pankaj2020

Upgraded to abantecart 1.2.16 version , site & even admin page is not accessible, please help

Index.php & config.php (AbanteCart/system/) permissions were 755

Regards
Pankaj

Basara


pankaj2020

Accessed Error Logs @ /public_html/domain name /system/logs


2020-03-16 11:27:48 - database error:  AbanteCart core v.1.2.15 Cannot establish database connection. Check your database connection settings. in <b>/home/................./core/database/amysqli.php</b> on line <b>54</b>
2020-03-16 11:27:48 - warning:  AbanteCart core v.1.2.15 mysqli::mysqli(): (42000/1203): User (server-database name) already has more than 'max_user_connections' active connections in <b>/home/.................../core/database/amysqli.php</b> on line <b>50</b>
2020-03-16 11:27:48 - App Error:  AbanteCart core v.1.2.15 Cannot establish database connection to (server-database name) using (server-database name)@localhost
Trace:
   #0 /home/........................./core/database/amysqli.php on line 52
   #1 /home/........................./core/lib/db.php on line 52
   #2 /home/........................./core/init.php on line 316
   #3 /home/........................./index.php on line 55

Regards
Pankaj

pankaj2020


[18-May-2020 06:57:40 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:15:39 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:15:39 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:18:20 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:18:20 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22

abolabo

Quote from: pankaj2020 on May 18, 2020, 08:40:47 AM

[18-May-2020 06:57:40 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:15:39 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:15:39 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:18:20 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22
[18-May-2020 07:18:20 Etc/GMT] PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /home/................................../core/lib/PaymentHandlerInterface.php on line 22

to solve just replace file /core/lib/PaymentHandlerInterface.php with attachement
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

pankaj2020

Thanks a lot..you made my day... that was easy...don't know what could have caused problem and never thought, it would be that simple, as thought some serious problem.

Can there be some remedial or back-up method in future, (even after testing ) whereby if happens to live site, errors can be corrected immediately, so that atleast Site is Live for visitors

Also, What is best method to upgrade abantecart

Thanks a lot once again

Regards
Pankaj

abantecart

I suggest to upgrade AbanteCart manually (not via web browser). This is more secure, stable and clear.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/4980799/AbanteCart+Upgrade

Never upgrade a live site. Try upgrade first on a test or clone copy of your live site.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

HADY

[quote  AbanteCart core v.1.2.15 Cannot establish database connection. Check your database connection settings. in <b>/home/................./core/database/amysqli.php</b> on line <b>54</b>
2020-03-16 11:27:48 - warning:  AbanteCart core v.1.2.16 mysqli::mysqli(): (42000/1203): User (server-database name) already has more than 'max_user_connections' active connections in <b>
[/quote]


I have same error since 2 says, how to solve it please?

2021-03-17 8:08:09 - warning: AbanteCart core v.1.2.16 mysqli::__construct(): (42000/1203): User u_ac2 already has more than 'max_user_connections' active connections in <b>/home/public_html/core/database/amysqli.php</b> on line <b>50</b>
2021-03-17 8:08:09 - App Error: AbanteCart core v.1.2.16 Cannot establish database connection to u_ac2 using u_ac2@localhost
Trace:
#0 /home/public_html/core/database/amysqli.php on line 52
#1 /home/public_html/core/lib/db.php on line 52
#2 /home/public_html/core/init.php on line 322
#3 /home/public_html/index.php on line 55
Thank you In Advanced
Regards
HADY

Forum Rules Code of conduct
AbanteCart.com 2010 -