Osclass forums

Support forums => General help => 3.7.x => Topic started by: bgd on July 28, 2018, 11:25:51 am

Title: [SOLVED]Migration to a new server admin and users can`t login
Post by: bgd on July 28, 2018, 11:25:51 am
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

Title: Re: Migration to a new server admin and users can`t login
Post by: bgd on July 29, 2018, 11:49:29 am
I solved: the database was not entirely imported