Logging out when updating UCP

I prefer you place questions in the phpBB.com topic, but you can also ask them here.

Re: Logging out when updating UCP

Postby Shawn » Fri Apr 16, 2010

I put // directly before 'U_ACTION'.

If I don't, the URL I am directed to is /phpBB3/ucp.php?i=205. This is the login screen.
If I do, the URL -- I am directed to is /phpBB3/ucp.php?i=digests&sid=0a766b6d71c1846c7b0dfdc4df26ec2f&mode=basics
Shawn
 
Posts: 2
Joined: Thu Apr 15, 2010

Re: Logging out when updating UCP

Postby Mark D Hamill » Fri Apr 16, 2010

Interesting. I appreciate the feedback.
Mark D Hamill
Site Admin
 
Posts: 199
Joined: Wed Jun 11, 2008

Re: Logging out when updating UCP

Postby johncox » Wed Jun 23, 2010

Hi, I was having this problem too - logging out on save.

Was already down the U_ACTION path when I came across this post.

I made the following change to includes\ucp\ucp-digests.php

Code: Select all
218: //     'U_ACTION'           => $user->page['page'],
219:        'U_ACTION'           => $this->u_action,


This now places the sid in the form action URL and the changes are saved without throwing back to a login screen.

All good - and great mod BTW
johncox
 
Posts: 1
Joined: Wed Jun 23, 2010

Re: Logging out when updating UCP

Postby pacolino » Thu Jun 24, 2010

Hi, I have the same problem.

But I have :

RedHat Enterprise 5
Apache 2.2
PHP5.3
Mysql

But the lines that say are not the same on my ucp_digests.php

Help me Please to fix the bug.

I import the PHPBB from another server,......

Tanks a Lot
pacolino
 
Posts: 1
Joined: Thu Jun 24, 2010

Re: Logging out when updating UCP

Postby Mark D Hamill » Thu Jun 24, 2010

Unfortunately, there is no way I can remotely troubleshoot this problem. For most people it works fine but for a few people it has issues. Did you try the last suggestion?

I assume you can see arguments on the command line. One user did not see any, because they were in POST variables and that was the problem.
Mark D Hamill
Site Admin
 
Posts: 199
Joined: Wed Jun 11, 2008

Re: Logging out when updating UCP

Postby ClareSusan » Wed Jul 28, 2010

I have also been having the same problem, both with 2.2.6 (retrieved from phpbb.com) and 2.2.9.

I went very carefully through the instructions using brand new installations of phpBB3 with the only mod being digests (and automod, of course).

I have resolved the issue for me by making a change in ucp_digests.php to the

Code: Select all
$template->assign_vars(array(

block of code (about line 211) by replacing

Code: Select all
'U_ACTION'           => $user->page['page']

with

Code: Select all
'U_ACTION'              => $this->u_action


The difference is that the original code does not include the sid=<sidvalue> (for my installations) whereas using $this->u_action does.

I have not yet discovered any negative side effects from this but I will post again if I do.


EDIT

Of course if I had seen the post from johncox above I would have saved myself a bit of time. One day I will learn to read. ;)
ClareSusan
 
Posts: 1
Joined: Wed Jul 28, 2010
Location: Auckland, New Zealand

Re: Logging out when updating UCP

Postby Mark D Hamill » Wed Jul 28, 2010

I tested it in my development board and I see no problems. It will show up in the next version and I will post this in the bug log. Thank you for all your debugging. Unfortunately, I cannot simulate every environment out there.
Mark D Hamill
Site Admin
 
Posts: 199
Joined: Wed Jun 11, 2008

Previous

Return to Digests for phpBB 3.x Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron