ZenphotoCMS Forum
undefined constant ADMIN_RIGHTS in debug log - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: undefined constant ADMIN_RIGHTS in debug log (/thread-13063.html)



undefined constant ADMIN_RIGHTS in debug log - vincent3569 - 2018-03-06

hi,
in my debug log, I can see that:

 {536:Tue, 06 Mar 2018 08:48:18 GMT}
NOTICE: Use of undefined constant ADMIN_RIGHTS - assumed 'ADMIN_RIGHTS' in /home/.../public_html/zenphoto/zp-core/reconfigure.php on line 82
checkSignature called from reconfigureAction (reconfigure.php [12])
from require_once (functions-basic.php [162])
from require_once (functions.php [17])
from include (index.php [14])
from index.php [31]

{536:Tue, 06 Mar 2018 08:48:18 GMT}
NOTICE: Use of undefined constant ADMIN_RIGHTS - assumed 'ADMIN_RIGHTS' in /home/.../public_html/zenphoto/zp-core/functions.php on line 2302
zp_loggedin called from checkSignature (reconfigure.php [82])
from reconfigureAction (reconfigure.php [12])
from require_once (functions-basic.php [162])
from require_once (functions.php [17])
from include (index.php [14])
from index.php [31] 

is there a matter there ?




undefined constant ADMIN_RIGHTS in debug log - acrylian - 2018-03-06

1.4.14 or support build? The support build has some changes in that area.




undefined constant ADMIN_RIGHTS in debug log - vincent3569 - 2018-03-06

yes of course (almost the last commit)




undefined constant ADMIN_RIGHTS in debug log - acrylian - 2018-03-06

On what occasion do you get this? I don't remember to have seen this since a while.




undefined constant ADMIN_RIGHTS in debug log - vincent3569 - 2018-03-06

on average 2 to 3 times a day.




undefined constant ADMIN_RIGHTS in debug log - MarkRH - 2018-03-08

I used to get these a lot. I modified the reconfigure.php file to log accesses to it in case it was a script hacking bot or something.




undefined constant ADMIN_RIGHTS in debug log - acrylian - 2018-03-08

See these now as well. Could be unwanted access attempt on runing setup. If you can please try the support build because of changes in that area.