I get this in my debug log every so often. Is there a way to log the IP address of the request causing it?
`
NOTICE: Use of undefined constant ADMIN_RIGHTS - assumed 'ADMIN_RIGHTS' in /(path)/zenphoto/zp-core/reconfigure.php on line 110
checkSignature called from reconfigureAction (reconfigure.php [12])
from require_once (functions-basic.php [161])
from require_once (functions.php [17])
from include (index.php [14])
from index.php [32]
`
I did not cause it. I tried to correlate with the raw access logs but I couldn't find anything that stood out. The MySQL max connections was also triggered while these attempts were being made.
Suppose I can edit the reconfigure.php file and log all accesses to it.
Comments
Why the constant ADMIN_RIGHTS is not defined, I cannot answer at the moment.
Just wait and see until it happens again.