User randomly logged out after some uploads User randomly logged out after some uploads
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

User randomly logged out after some uploads

Started by dudah84, March 08, 2020, 03:40:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dudah84

For a long time I've had this problem where a user is uploading photos, but when they're redirected to the editpics.php page, all of a sudden they're logged out. Nothing in the logs to indicate a problem, only a note saying "Denied privileged access to editpics.php by user Guest at IP 192.168.1.1" (hosted on a local computer). This has persisted througout several different versions of CPG.

Any ideas?

ron4mac

Could you clarify ... it only does this from time to time but not consistently?

dudah84

Not always, which confuses me. There seems to be no order to it.

ron4mac

#3
I assume this is in regard to pressphotos. I believe your config site URL is prefaced with www. If someone accesses the site without the www, logs in and uploads images, the redirect will go to www...., where their login cookie won't be available. Hence they are seen as a guest without privileges.

P.S.: I noticed from past posts that you were looking for something to hide access to your images. You could try this.