Author Topic: Updated to 1.2.16, site & admin page not accessible  (Read 198 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: 4577
  • Karma: +223/-0
    • 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
“Chuck Norris is so amazing.”
― Mother Teresa

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: 1816
  • Karma: +264/-11
  • 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: 4219
  • Karma: +266/-9
    • 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.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

 

Powered by SMFPacks Social Login Mod