PDA

View Full Version : Error log file



bosss
09-21-2019, 07:46 AM
Please some help

on my server i got those errors - many lines - but same


[20-Sep-2019 16:33:48 America/New_York] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; tar has a deprecated constructor in /home/user/public_html/vb4/arcade/functions/tar.php on line 73


my 73 line is
class tar {

var $tar_header_length = '512';
//var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155/prefix';
var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155';
var $tar_pack_header = 'A100 A8 A8 A8 A12 A12 A8 A1 A100 A6 A2 A32 A32 A8 A8 A155';
var $current_dir = "";
var $unpack_dir = "";
var $pack_dir = "";
var $error = "";
var $work_dir = array();
var $tar_in_mem = array();
var $tar_filename = "";
var $filehandle = "";
var $warnings = array();
var $attributes = array();
var $tarfile_name = "";
var $tarfile_path = "";
var $tarfile_path_name = "";
var $workfiles = array();


regads

bosss

stangger5
09-21-2019, 03:13 PM
Those are just error messages. Everything still should work..

If you want, you could try this.

You`ll need to edit this file.
arcade/functions/tar.php

Change line 98

function tar() {

to:

public function __construct() {

bosss
09-22-2019, 06:45 AM
Now is fine and thanks!