Advertisement:

Author Topic: [SOLVED]Migration to a new server admin and users can`t login  (Read 414 times)

bgd

  • Jr. Member
  • **
  • Posts: 63
Hello,

I did the migration to a new server and I can't login to admin and users.

I used   define('OSC_DEBUG', true) ;  and the errors are :     

Fatal error: Uncaught Error: Call to a member function result() on boolean in /home/admin/web/xxx/public_html/oc-includes/osclass/classes/Stats.php:66 Stack trace:
#0 /home/admin/web/xxx/public_html/oc-admin/main.php(51): Stats->new_users_count('2018-07-18 00:0...', 'day')
#1 /home/admin/web/xxx/public_html/oc-admin/index.php(125): CAdminMain->doModel()
#2 {main} thrown in /home/admin/web/xxx/public_html/oc-includes/osclass/classes/Stats.php on line 66


The server is running with PHP 7.2.8 and  5.5.56-MariaDB

can someone help me please?

Thank you

« Last Edit: July 29, 2018, 11:49:56 am by bgd »

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Migration to a new server admin and users can`t login
« Reply #1 on: July 29, 2018, 11:49:29 am »
I solved: the database was not entirely imported