WebsiteBaker Support (2.13.x) > General Help & Support

FIX for error in Filepermissions in module SYSINFO

(1/1)

CodeALot:
Check line 157 in /modules/sysinfo/funcs/permissions.php

Original line:

--- Code: ---$str =(array_key_exists(octdec($t),$ts))?$ts[octdec($t)]{0}:'u';
--- End code ---

Corrected line for PHP 8.3.x:

--- Code: ---$str = (array_key_exists(octdec($t), $ts)) ? $ts[octdec($t)][0] : 'u';
--- End code ---

dbs:
This is v0.4.1 right?
Had this fixed for me in
0.4.2 - 02.Apr.2021
  - fixed curly braces message in permission.php

Ruud, its time for an update.   ;D

CodeALot:
You're right. The version on Ruud's page is 0.4.1, and that was this fix is for.
Never mind me, sorry to interrupt :)

sternchen8875:
one more... in modules/sysinfo/funcs/mysqlinfo.php in Ln 23

since PHP 8.1.0:  Calling mysqli_get_client_i nfo() with the mysql argument has been deprecated

Original from v0.4.1

--- Code: ---$client_info = mysqli_get_client_info($database->DbHandle);
--- End code ---

change to

--- Code: ---$client_info = mysqli_get_client_info();
--- End code ---

dbs:
had this done for me in 2023. but not written in the info.php  :(

Seems the WebsiteBaker News tab needs some help:
 
 Failed loading XML
 - Start tag expected, '<' not found

Navigation

[0] Message Index

Go to full version