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: Upgrade issues
#3660
Upgrade issues 14 Years, 9 Months ago Karma: 1
I upgraded before but did not uninstall the patches first. Today I have been trying to UNSHARE k2 component from some new slave sites I built.

I created a test site. After creating the test site, I noticed that nothing shows up when I click "Templates" in the main toolbar.

My site says:
Joomla Multi Sites version: 1.2.22 (Latest available: 1.2.25) Get Latest Version
Patches definition version: 1.2.28 (Latest available: 1.2.31)

In Patches section, Everything says OK except for configuration now says I need to patch it. There is no "uninstall" link in the top right. I don't know how to uninstall the patches so that I can upgrade and install the new patches.

Please help!!
buddyq
Expert Boarder
Posts: 106
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3661
Re: Upgrade issues 14 Years, 9 Months ago Karma: 1
Okay now something has gone really wrong!

I decided to just delete the test slave site I made and hit delete. Upon hitting delete I got
/joomla/jms2winfactory.php on line 418 as an error.

I searched on here for that but got nothing.

I hit refresh to get back to the Joomla administrator and then it goes to the installation folder and looks like it doesn't know about the configuration.php file! What has happened? Why did this happen and more importantly, how can I fix this?

I'm just trying to test how to unshare k2 component without have to undo everything.

Buddy
buddyq
Expert Boarder
Posts: 106
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3664
Re: Upgrade issues 14 Years, 9 Months ago Karma: 54
The "/joomla/jms2winfactory.php on line 418 as an error." mean that the configuration to the DB is not present.
Error that you have after.

I don't know if you have used the FTP Layer in your master or if you are trying to manage slave site from a slave site.
I remember that Jms Multisites should only installed on the master and is not designed to be managed from a slave site. We have disabled some functionalites when trying to used it in a slave site to avoid problem. Perhaps this is what you tried to do.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3665
Re: Upgrade issues 14 Years, 9 Months ago Karma: 1
I did not try that. The only thing I did before I made the test site was:

1) Go to master site
2) Tool > Sharing
3) Uncheck K2
4) Open and close slave site to resave hoping this would stop the sharing of the K2 tables. It did not work.
5) Re-enable sharing for k2 (for testing).
6) Create another test slave site to test on.

Then I got error when trying to delete the new test slave site.

I look inside the master site and I have this inside configuration.php
=============================================
<?php
//_jms2win_begin v1.2.14

if ( !defined( 'MULTISITES_ID')) {

if ( !defined( 'JPATH_MULTISITES')) define( 'JPATH_MULTISITES', (defined( 'JPATH_ROOT') ? JPATH_ROOT : dirname(__FILE__)) .DIRECTORY_SEPARATOR. 'multisites');

if ( !defined( '_EDWIN2WIN_')) define( '_EDWIN2WIN_', true);

@include( (defined( 'JPATH_ROOT') ? JPATH_ROOT : dirname(__FILE__)) .DIRECTORY_SEPARATOR. 'includes' .DIRECTORY_SEPARATOR. 'multisites.php');

if ( class_exists( 'Jms2Win')) Jms2Win::matchSlaveSite();

}

if ( (!isset( $MULTISITES_FORCEMASTER) || !$MULTISITES_FORCEMASTER)

&& defined( 'MULTISITES_ID')

&& file_exists(MULTISITES_CONFIG_PATH .DIRECTORY_SEPARATOR. 'configuration.php')) {

require_once( MULTISITES_CONFIG_PATH .DIRECTORY_SEPARATOR. 'configuration.php');

} else if ( !class_exists( 'JConfig')) {

//_jms2win_end

class JConfig {
var $offline = '0';
var $editor = 'jce';
var $list_limit = '20';
var $helpurl = 'help.joomla.org';
var $debug = '0';
var $debug_lang = '0';
var $sef = '1';
var $sef_rewrite = '1';
var $sef_suffix = '0';
var $feed_limit = '10';
var $feed_email = 'author';
var $secret = 'dZT7ZpPwOrPZb**';
var $gzip = '1';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = '/home/gottesma/public_html/logs';
var $tmp_path = '/home/gottesma/public_html/tmp';
var $live_site = '';
var $force_ssl = '0';
var $offset = '0';
var $caching = '0';
var $cachetime = '1';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '0';
var $ftp_host = '127.0.0.1';
var $ftp_port = '21';
var $ftp_user = '';
var $ftp_pass = '';
var $ftp_root = '';
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'gottesma_buddyq';
var $db = 'gottesma_joomla';
var $dbprefix = 'jos_';
var $mailer = 'mail';
var $mailfrom = 'bquaid@gmail.com';
var $fromname = '311 Addie Roy';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpsecure = 'none';
var $smtpport = '25';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $MetaAuthor = '1';
var $MetaTitle = '1';
var $lifetime = '90';
var $session_handler = 'database';
var $password = '******';
var $sitename = '311 Addie Roy';
var $MetaDesc = 'Austin real estate firm Gottesman Residential, presents a Westlake property for sale at 311 Addie Roy.';
var $MetaKeys = 'Austin Real Estate, Westlake Tx real estate, Austin Tx Addie Roy property, real estate austin tx, homes for sale austin tx';
var $offline_message = 'This site is down for maintenance. Please check back again soon.';
}
//_jms2win_begin
}
//_jms2win_end
?>
====================================
What should I do?
buddyq
Expert Boarder
Posts: 106
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3668
Re: Upgrade issues 14 Years, 9 Months ago Karma: 1
Since i have a configuration.php with the above in it, I am wondering why the url:

www.311addieroy.com goes right to installing when it should be a live site.

I tried replacing the configuration.php with a backup I made a few weeks ago and it still just goes to installation page on master site. Seems something is wrong or got changed in the database. Please help!

Can I give you the login to my site and ftp and cpanel to check stuff? I think it did something to the database! Probably something simple for you.

Buddy
buddyq
Expert Boarder
Posts: 106
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/20 05:40 By buddyq.
The administrator has disabled public write access.
 
#3674
Re: Upgrade issues 14 Years, 9 Months ago Karma: 54
2) What do you mean by "unchecked". Do you use the action = "uninstall" K2 and click execute in the JMS tool.
5) What do you mean by "Re-enable sharing for k2". Does that mean Jms tool, select the slave site, action = "sharing from XXXXX" + execute. If sharing, which one (templates, master) ?

You have as many configuration.php files as you have website.
The one that you provide is the master one.
The other are located in the "deploy folder".
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: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla