Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: AbanteCart core v.1.2 Error: Could not load database file  (Read 9469 times)

Offline canet

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
AbanteCart core v.1.2 Error: Could not load database file
« on: February 20, 2017, 11:09:42 AM »
Hello!

I am trying to install a completly new AbanteCart on my Debian 8.7 Apache 2.4.10 with php 5.6.28

When it comes to the import of the demo data I get

Quote
error:

And the logfile shows:

Quote
2017-02-20 16:43:32 - database error:  AbanteCart core v.1.2 Error: Could not load database file ! in /var/ www/virtual/ domain/htdocs/ shop2/core/lib/ db.php on line 46

Any ideas?

Regards

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #1 on: February 21, 2017, 02:18:41 AM »
what database driver has been chosen before?
As i see in error text it was empty.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline canet

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #2 on: February 21, 2017, 03:35:35 AM »
I tried with boith possible drivers (PDO and mysqli)

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #3 on: February 21, 2017, 03:50:23 AM »
is you file public_html/system/config.php empty?
if not what value of DB_DRIVER constant?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline canet

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #4 on: February 21, 2017, 02:14:32 PM »
Thank you for your reply!

It is empty.

Offline nev

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #5 on: October 01, 2018, 03:28:01 AM »
I've the same Issue I need to know how to fix it

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #6 on: October 01, 2018, 05:26:11 AM »
I've the same Issue I need to know how to fix it

How you installing AbanteCart, via regular process or via some tools like softaculous, bitnami, installeron?

Offline nev

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #7 on: October 01, 2018, 05:38:34 AM »
Regular Via the install files

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #8 on: October 01, 2018, 06:07:02 AM »
is you file public_html/system/config.php empty?
if not what value of DB_DRIVER constant?

Offline nev

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #9 on: October 01, 2018, 06:48:39 AM »
The config.php file is showing 0 bytes
So I assume its empty

Offline nev

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: AbanteCart core v.1.2 Error: Could not load database file
« Reply #10 on: October 01, 2018, 11:24:09 PM »
So how do I fix it???

 

Powered by SMFPacks Social Login Mod