English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

PHP 7.1 errors in Multisites backend
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: PHP 7.1 errors in Multisites backend
#13660
PHP 7.1 errors in Multisites backend 6 Years, 5 Months ago Karma: 0
Hello Edwin,
I am receiving a number of PHP warnings and errors in the backend on my PHP 7.1 environment. I'll try to attach the messages here so you can have a look into them sometimes...

kind regards
Ruediger
schultz
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13661
Re:PHP 7.1 errors in Multisites backend 6 Years, 5 Months ago Karma: 0
attachment is not working, so I copy/paste them here...


#######################manage sites
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Site has a deprecated constructor in xxxxxhttpdocs\administrator\components\com_multisites\classes\site.php on line 35

Deprecated: Non-static method MultisitesController::_getVersion() should not be called statically in xxxxxhttpdocs\administrator\components\com_multisites\patches\joomla\check_jms_vers.php on line 31


#######################templates
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jms2WinTemplate has a deprecated constructor in xxxxxhttpdocs\administrator\components\com_multisites\classes\template.php on line 26


#######################Tools
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jms2WinDBSharing has a deprecated constructor in xxxxxhttpdocs\administrator\components\com_multisites\classes\dbsharing.php on line 28

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jms2WinDBTables has a deprecated constructor in xxxxxhttpdocs\administrator\components\com_multisites\classes\dbtables.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Jms2WinTreeSearch has a deprecated constructor in xxxxxhttpdocs\administrator\components\com_multisites\classes\treesearch.php on line 27

#######################
check patches

Deprecated: Non-static method Edwin2WinModelRegistration::getLatestVersion() should not be called statically in xxxxxhttpdocs\administrator\components\com_multisites\models\patches.php on line 239


#######################
About us
Warning: A non-numeric value encountered in xxxxxhttpdocs\administrator\components\com_multisites\models\registration.php on line 1043


#######################
Maintentance
Crashed

Deprecated: Non-static method JDatabase::getAdapter() should not be called statically in xxxxxhttpdocs\administrator\components\com_multisites\libraries\joomla\database\j2windb.php on line 58

Notice: Undefined variable: j_versdir in xxxxxhttpdocs\administrator\components\com_multisites\classes\site.php on line 522

Notice: Undefined variable: j_versdir in xxxxxhttpdocs\administrator\components\com_multisites\classes\site.php on line 522

Warning: require_once(xxxxxhttpdocs\libraries/cms/schema/changeset.php): failed to open stream: No such file or directory in xxxxxhttpdocs\administrator\components\com_multisites\libraries\cms\schema\changeset.php on line 26

Fatal error: require_once(): Failed opening required 'xxxxxhttpdocs\libraries/cms/schema/changeset.php' (include_path='.;...\pear') in xxxxxhttpdocs\administrator\components\com_multisites\libraries\cms\schema\changeset.php on line 26




#######################
Settings:
Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\controllers\settings.php on line 32

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\controllers\settings.php on line 33

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\view.php on line 36

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\models\settings.php on line 115

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\view.php on line 39

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\view.php on line 41

Warning: A non-numeric value encountered in xxxxxhttpdocs\administrator\components\com_multisites\models\registration.php on line 1043

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\tmpl\show.php on line 24

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\tmpl\show_left.php on line 44

Notice: Only variables should be assigned by reference in xxxxxhttpdocs\administrator\components\com_multisites\views\settings\tmpl\show.php on line 57
schultz
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2017/10/04 12:47 By schultz.Reason: security changement
The administrator has disabled public write access.
 
#13666
Re:PHP 7.1 errors in Multisites backend 6 Years, 5 Months ago Karma: 54
We know that there you can have warnings, deprecated and notices with PHP 7.x and this is normal.
We continue to have JMS compatible with older versions and some warnings and notices can NOT be removed to remain compatible with older joomla version.
JMS is still compatible with Joomla 1.5.

Only the PHP fatal errors are important for the moment and we have just noticed one that is probably due to a test done on windows because we saw a require_once that cause a duplicated include of a file when containing "/" character instead of "\" on windows.

Anyway, thank you for this list of messages that we will review to see if we can remove some of them like the "constructor" deprecated message that was required for PHP 4.3.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13771
Re:PHP 7.1 errors in Multisites backend 6 Years, 5 Months ago Karma: 54
A new JMS 1.3.69 is available and fix some PHP Fatal errors under Joomla 3.8 and also remove several PHP Strict caused by constructor and some PHP Notice.
Therefore, the number of notice and warning should be reduced.
See the FAQ for the download of the latest version.
www.jms2win.com/en/faq/faq-joomla-multi-sites#cat-122
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14352
Re:PHP 7.1 errors in Multisites backend 5 Years, 4 Months ago Karma: 0
Hello Edwin,

this is just to let you know about another (new) PHP error message. Maybe you want to look into this one some time in the future?

Warning: A non-numeric value encountered in XXXXXXX/httpdocs/administrator/components/com_multisites/models/registration.php on line 1095

My environment:
Version 1.3.75 - basic (Latest available: 1.3.75)
Patches definition Version 1.3.68 (Latest available: 1.3.68)

Apache 2.4.37
PHP 7.2.12

Thank you for this valuable instrument,
kind regards
Ruediger
schultz
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14353
Re:PHP 7.1 errors in Multisites backend 5 Years, 4 Months ago Karma: 54
Thank you for having reported this "warning".

We already saw this message and this is a warning present in the RSA encryption/decryption library that is included in our registration.
Sorry, but till today, we didn't tried to debug this library for PHP7.2 compatibility as the registration is not blocking.
This is still the same library for the beginning of JMS in 2008.

In production, normally the website should never display such message upon screen.
This is just a warning present when JMS is called during the management of the sites.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla