Welcome Guest, Not a member yet? Register   Sign In
Community Auth - problem
#4

(10-23-2015, 05:48 PM)skunkbad Wrote: LOGIN_PAGE is a constant, so you DO NOT put quotes around it. If PHP is complaining that it is not defined, then you have not defined it, which means it is probably not added to your auth_constants.php hook. If auth_constants.php exists in your application/hooks directory, then you must ensure that hooks are enabled in config/config.php, and that the hook is defined in config/hooks.php. All of this is well documented, so please take the time to re-read the documentation.

Why would you want to use a constant as an array key?
When you set a varialble or key name incorrectly you get this PHP error.
Reply


Messages In This Thread
Community Auth - problem - by MartinMIB - 10-22-2015, 01:52 PM
RE: Community Auth - problem - by Martin7483 - 10-23-2015, 01:40 AM
RE: Community Auth - problem - by skunkbad - 10-23-2015, 05:48 PM
RE: Community Auth - problem - by Martin7483 - 10-24-2015, 10:02 AM
RE: Community Auth - problem - by skunkbad - 10-24-2015, 11:56 PM
RE: Community Auth - problem - by Martin7483 - 10-25-2015, 01:33 AM
RE: Community Auth - problem - by skunkbad - 10-25-2015, 04:48 PM
RE: Community Auth - problem - by syerwin - 02-27-2016, 11:12 AM
RE: Community Auth - problem - by syerwin - 02-27-2016, 11:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB