With php 8.3 I cannot save the global setups (siteprefs.php). Getting a 403 error. "Forbidden You don't have permission to access this resource"
Cmsms 2.2.21
ModSecurity is disabled. In php 7.3 I can save siteprefs.php.
Is one of these functions blocking it?:
disable_functions: exec system passthru shell_exec proc_close proc_open dl popen show_source posix_kill posix_mkfifo posix_getpwuid posix_setpgid posix_setsid posix_setuid posix_setgid posix_seteuid posix_setegid posix_uname
----------------------------------------------
Cms Version: 2.2.21
Installed Modules:
AdminSearch: 1.0.6
CGExtensions: 1.65.2
CGSimpleSmarty: 2.2.1
CMSContentManager: 1.1.13
Captcha: 1.0.1
CmsJobManager: 1.0.0
DesignManager: 1.1.11
FCKeditorX: 1.1.0
FileManager: 1.6.16
FilePicker: 1.0.8
MicroTiny: 2.2.5
ModuleManager: 2.1.9
Navigator: 1.0.11
News: 2.51.13
Search: 1.53
ThemeManager: 1.1.8
UserGuide: 1.0.0
Config Information:
php_memory_limit:
max_upload_size: 16000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Berlin
permissive_smarty: false
Php Information:
phpversion: 8.3.8
md5_function: Aan (Waar)
json_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_ALL: 22527
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: Geen tijdsverschillen gevonden
test_db_timedifference: Geen tijdsverschillen gevonden
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Uit (Onwaar)
output_buffering: 4096
disable_functions: exec, system, passthru, shell_exec, proc_close, proc_open, dl, popen, show_source, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname
open_basedir:
test_remote_url: Succes
file_uploads: Aan (Waar)
post_max_size: 32M
upload_max_filesize: 16M
session_save_path: /opt/alt/php83/var/lib/php/session (0700)
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)
check_ini_set: Uit (Onwaar)
curl: Aan
Performance Information:
allow_browser_cache: Aan (Waar)
browser_cache_expiry: 60
php_opcache: Aan (Waar)
smarty_cache: Aan (Waar)
smarty_compilecheck: Uit (Onwaar)
auto_clear_cache_age: Aan (Waar)
Server Information:
Server Software: Apache/2
Server Api: litespeed
Server Os: Linux 4.18.0-553.5.1.lve.1.el8.x86_64 Aan x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.6.18
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
cannot save siteprefs.php
Re: cannot save siteprefs.php
I don't think any of those functions would cause it, a 403 has historically always been mod_security, but if you're sure that's disabled I'd look at other security or firewall features.
Not getting the answer you need? CMSMS support options