Note also that disabling setup doesn't change the fact that setup may need to run. If an unhandled error occurs mojoPortal checks the schema version recorded in the database for mojoPortal core in the mp_SchemaVersion table vs the schema version declared in code, if the code version is higher then it knows it still needs to run setup scripts to modify the database and the cause of the error is most likely that the database schema isn't synced with the code, so it will redirect to the setup page regardless of whether setup is disabled.