If "Enable friendly urls" is on (Settings > Permalinks), you may notice that
when you log in, the browser becomes stuck in a redirect loop.
Seems to be because the permalink for login is incorrectly set to: /user/login
But /user.php does not process login requests.
To fix it, without turning permalinks off...
Open: /oc-includes/osclass/helpers/hDefines.php
Find (line 303):
function osc_user_login_url() {
if ( osc_rewrite_enabled() ) {
$path = osc_base_url() . 'user/login' ;
Replace with:
function osc_user_login_url() {
if ( osc_rewrite_enabled() ) {
$path = osc_base_url() . '?page=login' ;