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?

Fatal error - multisitesdb.php on line 479
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Fatal error - multisitesdb.php on line 479
#11721
Fatal error - multisitesdb.php on line 479 11 Years, 1 Month ago Karma: 0
After installing the second slave site I received this:

Extensions - plugin manager - User partial user sharing

Basic Options:
Sites selection: Selected only
sites: Fatal error: Call to a member function setQuery() on a non-object in /home/soft/public_html/registrace.mimino.cz/administrator/components/com_multisites/classes/multisitesdb.php on line 479

Any hints?
Thanks, Zdenka
zdenka
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Female zd.kvalitne.cz Location: Czech Republic
The administrator has disabled public write access.
 
#11728
Re: Fatal error - multisitesdb.php on line 479 11 Years ago Karma: 54
As you didn't provided any version number of JMS and partial user sharing, it is difficult to retreive this line.

What I suspect is that you try to access and DB that does not exists anymore or for which you have changed the password (and thereofre on which you don't have anymore access).

The DB connection has failed and therefore subsequent queries may crash.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11738
Re: Fatal error - multisitesdb.php on line 479 11 Years ago Karma: 0
Hi,

thanks for the answer.
Actually problem was solved with writing:

$db=JFactory::getDBO();

before command on line 479 - that was:

$db->setQuery( $query );

screenshot here


regards,
Zdenka
zdenka
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Female zd.kvalitne.cz Location: Czech Republic
Last Edit: 2013/11/11 22:13 By zdenka.
The administrator has disabled public write access.
 
#11751
Re: Fatal error - multisitesdb.php on line 479 11 Years ago Karma: 54
You still didn't provided the JMS version.
So we can not cross-check the code for sure.
We did the hypothesis that you are using the JMS 1.3.24 full.

I can just tell you that it is not recommended to always using yhr JFactory::getDBO() because this will access the current DB (probably the master) and NOT the slave site DB.
So the result will be unpredictable.

To fix the issue, it would be better to identify the slave site that has a wrong DB connection information.
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