Individual posts per page

Undefined index: u_ - Individual posts per page

Undefined index: u_

by leschek » Fri May 29, 2015 9:16 pm

Thanks for this extension. When I enable it on my testing board (on localhost and installed with Quick Install) I get following notices in ACP:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: Undefined index: u_

by RMcGirr83 » Sat May 30, 2015 10:29 am

Just installed it locally under same and can not reproduce this issue.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
User avatar
RMcGirr83
Former Team Member
Posts: 21684
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Undefined index: u_

by leschek » Sat May 30, 2015 11:05 am

Interesting. I can see it also outside of ACP, when I change permission "Can set topic specific posts per page settings". But after refreshing the page it disappears.
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: Undefined index: u_

by Lady_G » Sun Jan 13, 2019 6:24 pm

This is an old topic, but I have the same problem.

I am testing this extension with phpBB 3.2.5 and the latest GitHub 3.2.x release Release Individual posts per page - v1.1.1.

I can reproduce the problem by clearing the cache in the ACP (General --> Purge the cache), then navigating to any other tab in the ACP, such as ACP --> Posting.

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 479: Undefined index: u_
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/auth/auth.php on line 481: Undefined index: u_
Database: postgreSQL
PHP: 7.1.17
Board Version: 3.2.5
Environment: localhost
leschek wrote: Interesting. I can see it also outside of ACP, when I change permission "Can set topic specific posts per page settings". But after refreshing the page it disappears.
I do not see the error outside of the ACP when I change permission "Can set topic specific posts per page settings". I see the error inside the ACP.

Permissions --> User roles --> Standard Features --> User permissions --> Post --> Can set topic specific posts per page settings --> Submit --> Back to previous page (the error is displayed).

I disabled the extension, but the error remained. I then deleted the extension data and the error no longer appeared.

==================
Based on the file where the error (PHP Notice) occurs, this appears to a broken permission during the authentication process. I do not wish to utilize an extension with any possibility of incorrect authentication - the error may not be contained inside the ACP.

Is there any possibility to validate this extension for 3.2.5?
Lady_G
Registered User
Posts: 261
Joined: Fri Jun 08, 2012 12:38 pm
Location: US
Contact: