WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • FIX for error in Filepermissions in module SYSINFO
  • Print
Pages: [1]   Go Down

Author Topic: FIX for error in Filepermissions in module SYSINFO  (Read 3473 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
FIX for error in Filepermissions in module SYSINFO
« on: January 17, 2025, 10:02:34 AM »
Check line 157 in /modules/sysinfo/funcs/permissions.php

Original line:
Code: [Select]
$str =(array_key_exists(octdec($t),$ts))?$ts[octdec($t)]{0}:'u';
Corrected line for PHP 8.3.x:
Code: [Select]
$str = (array_key_exists(octdec($t), $ts)) ? $ts[octdec($t)][0] : 'u';
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: FIX for error in Filepermissions in module SYSINFO
« Reply #1 on: January 17, 2025, 10:21:32 AM »
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
Logged
https://onkel-franky.de

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: FIX for error in Filepermissions in module SYSINFO
« Reply #2 on: January 17, 2025, 10:24:52 AM »
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 :)
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: FIX for error in Filepermissions in module SYSINFO
« Reply #3 on: January 17, 2025, 05:11:24 PM »
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: [Select]
$client_info = mysqli_get_client_info($database->DbHandle);
change to
Code: [Select]
$client_info = mysqli_get_client_info();
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: FIX for error in Filepermissions in module SYSINFO
« Reply #4 on: January 17, 2025, 05:56:19 PM »
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
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • FIX for error in Filepermissions in module SYSINFO
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2