Member
Member
Nordlicht   2018-01-21, 09:15
#1

What is security_ack?
What is it for?
Can't find any docu about that.

Administrator
Administrator
acrylian   2018-01-21, 11:27
#2

No idea, nothing from Zenphoto itself. Where does this appear?

Member
Member
Nordlicht   2018-01-21, 11:49
#3

zp-data/zenphoto.cfg.php

Administrator
Administrator
acrylian   2018-01-21, 12:01
#4

I have no idea where this would come from. Never seen that and cannpt find a reference to this so far. It is for sure not part of the default Zenphoto config file.
https://github.com/zenphoto/zenphoto/blob/master/zp-core/zenphoto_cfg.txt

Try to remove it and see if it returns. The server log perhaps has some access to the config file if it is changed somehow.

Member
Member
Nordlicht   2018-01-21, 12:21
#5

Comparing my zenphoto_cfg.txt with github then:

I am missing line 77
'gallery'=>

and in line 92 and 93 I have:
$conf['security_ack'] = 2;
$conf['FILESYSTEM_CHARSET'] = "UTF-8";

Administrator
Administrator
acrylian   2018-01-21, 12:28
#6

I see it on our live site as well but none of my other (local) sites. Somehow I don't remember this at all, probably setup adds it on certain occasions.

Will take a look later.

Administrator
Administrator
acrylian   2018-01-21, 14:53
#7

Found it finally, it was a bit hidden and my IDE didn't search setup files because I had them protected….

So it is from a setup specific function named acknowledge(). It sets this if you decided to ignore these issues setup reported:

  • display errors on
  • register globals on

Both should be off generally.

Member
Member
Nordlicht   2018-01-21, 16:42
#8

Thanks for investigating!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.