Author Topic: Updated to 1.2.16, site & admin page not accessible  (Read 3001 times)

Offline pankaj2020

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Updated to 1.2.16, site & admin page not accessible
« on: May 16, 2020, 04:24:02 AM »
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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5790
  • Karma: +274/-2
    • View Profile
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #1 on: May 18, 2020, 03:53:25 AM »
Hello.

Please check for latest errors in your error log file

Offline pankaj2020

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #2 on: May 18, 2020, 08:27:56 AM »
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

Offline pankaj2020

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #3 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #4 on: May 18, 2020, 09:08:36 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

Offline pankaj2020

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #5 on: May 18, 2020, 09:51:58 AM »
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #6 on: May 18, 2020, 12:09:20 PM »
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

Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Re: Updated to 1.2.16, site & admin page not accessible
« Reply #7 on: March 17, 2021, 04:32:13 AM »
[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

 

Powered by SMFPacks Social Login Mod