Author Topic: Class 'DB' not found on line 111  (Read 6903 times)

icfw

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Class 'DB' not found on line 111
« on: February 12, 2010, 12:10:25 pm »
v. 1.6.2

I have downloaded the existing script from our shared webhosting space onto the local machine using wampserver. I have also tried the same with XAMP with same results.

The script works just fine online, but fails to work on the local machine.
The config.php has been configured properly, but the following error is still there.

[error] [client 127.0.0.1] PHP Fatal error:  Class 'DB' not found in C:\\wamp\\www\\feng\\init.php on line 111

Does anybody have any pointers?

thanks.
« Last Edit: February 12, 2010, 12:12:04 pm by icfw »

3rdcorner

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Class 'DB' not found on line 111
« Reply #1 on: November 06, 2010, 05:43:19 pm »
You have to delete the contents of the cache folder, it contains hardcoded paths of your other server. I just ran into this problem and went searching for a config file that is auto generated, found it in the cache dir.

icfw

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Class 'DB' not found on line 111
« Reply #2 on: November 07, 2010, 01:34:16 am »
thank you. I will check it out.

.Mirsad