Author Topic: Error "Cannot call method 'add' of undefined" after migrate to new hosting  (Read 2323 times)

weilies

  • Freshman
  • *
  • Posts: 23
    • View Profile
Greeting support,

this morning i migrated my FO from old hosting to new hosting, the login was correct, DB defined correctly in config.php
But once it's logged in, it return error 'Cannot call method 'add' of undefined' and the content is blank.

Kindly check on the attached screenshot.

Million Thanks!

Regards,
Wei Tat

weilies

  • Freshman
  • *
  • Posts: 23
    • View Profile
Re: Error "Cannot call method 'add' of undefined" after migrate to new hosting
« Reply #1 on: February 20, 2014, 06:52:42 am »
some screens are working correctly, but Document hitting DB connect error
which puzzle me because i thought the db login info suppose to maintain in one and only file, config.php?

kindly check my attachment

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Error "Cannot call method 'add' of undefined" after migrate to new hosting
« Reply #2 on: February 25, 2014, 11:46:56 am »
Hello there,

Did you have a look at this article?
http://www.fengoffice.com/web/wiki/doku.php/copy_installation

Not sure why you are experiencing that problem if you did delete the autoloader.php file though. And without looking into your server as it would otherwise be nothing but blind guessing.
If there is any access possibility, then we may be able to solve it.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!