Welcome Guest, Not a member yet? Register   Sign In
myth/auth service not working and return null
#2

(This post was last modified: 08-27-2021, 01:33 AM by takbitdev.)

Solved.
In Linux system, paths must contain / but my local machine have Windows and in windows system paths have \ .
Just modify the psr4 paths:

In Windows server:

public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'App'        => APPPATH, // To ensure filters, etc still found,
'Config'      => APPPATH .'Config',
'Addon'      => ROOTPATH .'addon',
'Blog'        => ROOTPATH .'addon\Blog',
'Auth'    => ROOTPATH .'addon\Auth'
];

In Linux server:

public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'App'        => APPPATH, // To ensure filters, etc still found,
'Config'      => APPPATH .'Config',
'Addon'      => ROOTPATH .'addon',
'Blog'        => ROOTPATH .'addon/Blog',
'Auth'    => ROOTPATH .'addon/Auth'
];
Reply


Messages In This Thread
RE: myth/auth service not working and return null - by takbitdev - 08-27-2021, 12:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB