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?
Go to bottomPage: 12
TOPIC: JMS MultiSite/PHP 7 Error
#13926
JMS MultiSite/PHP 7 Error 7 Years ago Karma: 0
I've seen a couple other forum threads about PHP7 issues but they do not seems to address the error that I am having. I have recently upgraded to Joomla 3.8.2 and JMS to 1.3.70 from 1.3.63 and it appears that I can no longer access a couple links in the Component menu. Everything else in Joomla appears to be working fine but if I try to click on

"Components - Multi Sites - Manage Sites" or
"Components - Multi Sites - Maintenance"

I receive the error: "This driver is unsupported in PHP 7, please use the MySQLi or PDO MySQL driver instead.

If I check in my global configuration I am currently using MySQLi.

Any ideas on how to fix this?
Protective
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13932
Re: JMS MultiSite/PHP 7 Error 7 Years ago Karma: 54
If it replies that you have a problem with MySQLi or PDO that means that you have at least one website that has a wrong configuration.

If this is due to one of the slave site, you can disable in the JMS Settings the "refresh icon" to avoid connecting on each slave site DB that can raise this error message that is due to PHP 7.
Under PHP 7, they have removed the MySQL drive and kept only the MySQLi drive.
Reason of this message.

Try enabling the Joomla Debug mode to get more info but for sure, you have configuration.php file somewhere that still using MySQL instead of MySQLi.

I hope this will help you fix this error.

If you have a SSH access and can use the command "locate", try executing the command
> locate configuration.php
that will give you all the places where this file exists.
This should help you verifying the "driver" of all the files and ensure that you use "mysqli" everywhere.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2017/12/01 15:00 By edwin2win.
The administrator has disabled public write access.
 
#13933
Re: JMS MultiSite/PHP 7 Error 7 Years ago Karma: 0
Ok, I was able to go into the configuration files for the sub sites and make the change to MySQLi and on the main site I can now login and click the "Manage Sites" or "Maintenance" sections without a problem. Thanks!

Can you point me in the right direction on another issue. I implemented Lets Encrypt SSL certificates for my main site and all the sub sites but when I navigate to the sub websites I see the main website's content. If I change from https to http I see the sub website as I'm supposed to.

Thanks again!
Protective
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13934
Re: JMS MultiSite/PHP 7 Error 7 Years ago Karma: 54
Lets Encrypt SSL is a protocol to have free SSL certificate.
If you are using WHM/cPanel and have a root access then you can enable the AutoSSL on your cPanel account to have valid SSL certificate.
On other server administration tool, see your hosting company to ask them how you can benefit of that on your server.

In JMS, concerning the slave sites definition, you just have to add, as synonym of the domains that match the slave, as many lines with "httpS://....." as you wish beside the "http:// ..." that you already have wrote.
If you want to force the redirection to the https then you can also set the first line with the https:// .... and select YES on "redirect to the first".
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2017/12/02 10:25 By edwin2win.
The administrator has disabled public write access.
 
#14126
Re: JMS MultiSite/PHP 7 Error 6 Years, 9 Months ago Karma: 0
edwin2win wrote:
Lets Encrypt SSL is a protocol to have free SSL certificate.
If you are using WHM/cPanel and have a root access then you can enable the AutoSSL on your cPanel account to have valid SSL certificate.
On other server administration tool, see your hosting company to ask them how you can benefit of that on your server.

In JMS, concerning the slave sites definition, you just have to add, as synonym of the domains that match the slave, as many lines with "httpS://....." as you wish beside the "http:// ..." that you already have wrote.
If you want to force the redirection to the https then you can also set the first line with the https:// .... and select YES on "redirect to the first".


I am having the same issue. Applying "https:" to a domain displays the Master site content. I have tried listing both http: and https: in the "List of Domain Names" field. Running cpanel on APache/unix server.

Thanks!
jimgrove
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14128
Re: JMS MultiSite/PHP 7 Error 6 Years, 9 Months ago Karma: 54
Verify again.
JMS perform an exact matching concerning the domain listed.
If you have forgotten the variant with and without www, this might be the issue.

In general you need to have a minimum of 4 synonyms.
www.domain.com
domain.com
www.domain.com
domain.com

Sometimes, for some RS Feed, you may also have to add the port number
www.domain.com:80
domain.com:80
www.domain.com:443
domain.com:443

that would make a total of 8 variants.

Also verify that you don't have any redirection before reaching the website because the redirection change the domain name and you will not have any matching.

See also the "hello.php" described in the tutorial video 7 that may help you view the domain received.
www.jms2win.com/en/tutorial/75
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2018/02/28 10:17 By edwin2win.
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla