Author Topic: error after aborting upgrade and when restoring abantecart  (Read 3032 times)

Offline readyrep

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
error after aborting upgrade and when restoring abantecart
« on: April 06, 2018, 03:00:23 AM »
Hello, after aborting an upgrade to shipping extension The following errors were found :

File /home/readyrep/public_html/AbanteCart/php.ini.bak already exists and is write protected
There was some error while unzipping the backup files

please help to restore

admin error log is inaccesible.

error log from cpanel:
2018-04-06 6:49:47 - database error:  AbanteCart core v.1.2.6 Error: <br />SELECT se.*, e.type as extension_type, e.key as extension_txt_id
               FROM ab_settings se
               LEFT JOIN ab_extensions e ON (TRIM(se.`group`) = TRIM(e.`key`))
               WHERE se.store_id='0' AND e.extension_id IS NOT NULL
               ORDER BY se.store_id ASC, se.group ASC in <b>/home/readyrep/public_html/AbanteCart/core/database/amysqli.php</b> on line <b>106</b>
2018-04-06 6:52:26 - database error:  AbanteCart core v.1.2.6 Error: <br />SELECT se.*, e.type as extension_type, e.key as extension_txt_id
               FROM ab_settings se
               LEFT JOIN ab_extensions e ON (TRIM(se.`group`) = TRIM(e.`key`))
               WHERE se.store_id='0' AND e.extension_id IS NOT NULL
               ORDER BY se.store_id ASC, se.group ASC in <b>/home/readyrep/public_html/AbanteCart/core/database/amysqli.php</b> on line <b>106</b>
2018-04-06 6:53:08 - database error:  AbanteCart core v.1.2.6 Error: <br />SELECT se.*, e.type as extension_type, e.key as extension_txt_id
               FROM ab_settings se
               LEFT JOIN ab_extensions e ON (TRIM(se.`group`) = TRIM(e.`key`))
               WHERE se.store_id='0' AND e.extension_id IS NOT NULL
               ORDER BY se.store_id ASC, se.group ASC in <b>/home/readyrep/public_html/AbanteCart/core/database/amysqli.php</b> on line <b>106</b>

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: error after aborting upgrade and when restoring abantecart
« Reply #1 on: April 06, 2018, 05:53:52 AM »
i see your SQL query is correct. Please be sure that you have tables in your database.
Regarding permissions you should to change it manually via shell
Just run command chmod -R 755 /home/readyrep/public_html/AbanteCart/ to change it recursively  or do the same via hosting provider CPanel->Filemanager
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline readyrep

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: error after aborting upgrade and when restoring abantecart
« Reply #2 on: April 06, 2018, 11:11:14 AM »
Thank you for quick help abolabo. 
I am unsure how to check if tables are in database please advise.

there was no folder under my public_html named abanteCart.  There is one named AbanteCart.  I changed the name to AbanteCart the restore has finished processing without errors this time but still no access to site or admin panel.

Please advise

Offline readyrep

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: error after aborting upgrade and when restoring abantecart
« Reply #3 on: April 06, 2018, 11:17:05 AM »
after changing readyrep/public_html/AbanteCart to readyrep/public_html/AbanteCart and finishing restore.  I have restored name of changed file under public_html back to AbanteCart as there is no storefront on site and no access to admin panel.

I forgot to mention permissions of this folder was set at 755

Please advise.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: error after aborting upgrade and when restoring abantecart
« Reply #4 on: April 10, 2018, 05:25:47 AM »
whar about disk quota? Did you checked it in you CPanel?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod