I’ve recently upgraded to 2.4.8.1 from 2.2.2 and I’ve run into a lot of problems. The below error in particular has been clogging up my logs. Should I delete the contents of the usageStats directory in my files_dir?
ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/sites/epubs.utah.edu/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.5.9-1ubuntu4.20\n Apache Version: Apache/2.4.7 (Ubuntu)\n DB Driver: mysql\n DB server version: 5.5.54-0ubuntu0.14.04.1
my Server API is “Apache 2.0 Handler”, which doesn’t match either of the options listed. I have the owner of the folders listed (the files_dir, cache, public and all subdirectories) as root and the group as www-data. permissions on the folders are 775.
The cache folder is creating things with the owner and group as www-data and permissions of 644.
I’m still getting the same error.
More importantly, it still contantly kicks me out when I’m trying to login. The console shows the error “Uncaught TypeError: Cannot read property ‘username’ of undefined at login:191”.