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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.