Skip to content

Conversation

@leojonathanoh
Copy link
Member

Resolves #75 (comment)

@leojonathanoh leojonathanoh added this to the v1.12.0 milestone May 12, 2025
@leojonathanoh leojonathanoh self-assigned this May 12, 2025
@leojonathanoh leojonathanoh force-pushed the feature/config-add-modes-restricted-config-option-to-restrict-pages-to-logged-in-users branch from fefab61 to ee3f2c8 Compare May 12, 2025 02:46
@leojonathanoh leojonathanoh force-pushed the feature/config-add-modes-restricted-config-option-to-restrict-pages-to-logged-in-users branch from ee3f2c8 to 70761e9 Compare May 12, 2025 03:00
@fred0r
Copy link

fred0r commented May 12, 2025

first had the problem that it didnt work, since i never overwrite the config.php:

[Mon May 12 20:49:06.530617 2025] [proxy_fcgi:error] [pid 914475:tid 914475] [client x.x.x.x:34184] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "MODES_RESTRICTED" in /web/hlstats.php:229\nStack trace:\n#0 {main}\n  thrown in /web/hlstats.php on line 229'
[Mon May 12 20:49:10.477943 2025] [proxy_fcgi:error] [pid 910699:tid 910699] [client x.x.x.x:34186] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "MODES_RESTRICTED" in /web/hlstats.php:229\nStack trace:\n#0 {main}\n  thrown in /web/hlstats.php on line 229'
[Mon May 12 20:49:11.352191 2025] [proxy_fcgi:error] [pid 908542:tid 908542] [client x.x.x.x:34188] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "MODES_RESTRICTED" in /web/hlstats.php:229\nStack trace:\n#0 {main}\n  thrown in /web/hlstats.php on line 229'
[Mon May 12 20:49:29.254078 2025] [proxy_fcgi:error] [pid 908491:tid 908491] [client x.x.x.x:42434] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "MODES_RESTRICTED" in /web/hlstats.php:229\nStack trace:\n#0 {main}\n  thrown in /web/hlstats.php on line 229'
[Mon May 12 20:49:31.179091 2025] [proxy_fcgi:error] [pid 703648:tid 703648] [client x.x.x.x:42436] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Undefined constant "MODES_RESTRICTED" in /web/hlstats.php:229\nStack trace:\n#0 {main}\n  thrown in /web/hlstats.php on line 229'

after realizing that there also were commits there, it works as intended.
thx!

@fred0r
Copy link

fred0r commented May 12, 2025

also nice that its easy to define other pages via config.pgp

@fred0r
Copy link

fred0r commented May 24, 2025

would be great to have some access level for 'view only' , so that configured users can view MODES_RESTRICTED pages, without being able to alter 'stats related'-options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

amxmodx cstrike: chat isnt logged

2 participants