Posted by:
Newfloridian
(---.16-2.cable.virginm.net)
The error arises (five times) from the Administration section of the Lazarus Guestbook (v 1.24)
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP It then lists gb_admin has a deprecated constructor in \lib\admin.class.php on line 14
and similar errors for gbook_sql; gb_image; gb_template and gb_session
The form PHP seems to be complaining about is
class gb_admin
{
var $db;
var $gbsession;
var $SELF;
var $uid;
var $VARS;
var $table;
var $GBLOGOUT;
var $LANG;
function gb_admin($gbsession,$uid)
{
global $_SERVER;
where class and function have been given the same names.
As mentioned in my initial post this has only started to occur with 7.1.2
The Lazarus GB is very popular amongst our own community. Unfortunately the Lazarus site (and its webmaster) are currently offline and not contactable.
Alan
Edited 1 time(s). Last edit at 11/26/2017 05:30PM by RiggsFolly.