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: 1234
TOPIC: Configure slave site
*
#1182
Re:Configure slave site 14 Years, 10 Months ago Karma: 54
I don't know.

In the directory
/var/www/joomla/multisites/slave1/installation
total 32
-rw-r--r-- 1 ftpuser www-data 8597 2009-07-05 18:37 hello.php
-rw-r--r-- 1 ftpuser www-data 11 2009-07-05 18:36 hello.txt
drwxrwxrwx 2 ftpuser www-data 4096 2009-06-26 13:47 includes
-rwxrwxrwx 1 ftpuser www-data 2157 2009-06-26 13:59 index.php
drwxrwxrwx 2 ftpuser www-data 4096 2009-06-26 13:47 installer


You told me that you can execute the hello.php and when you rename it into the index.php, it works.
So try to debug the index.php to try identify the permission reason if you can not execute the index.php
Perhaps that the standard joomla index.php call another files somewhere that have another permission.
I don't know with a full debugging of the standard joomla code.

I told you to rename hello.php into index.php and you replied that it works.
After that I have told you to try copy the PHP code that was present in the original index.php into the "hello.php" (renamed into index.php) to try identify if this is a problem with the code.
You have never replied.
If this is the code, you have to debug the PHP and add traces, comment part to try identify the peace of code that call a files that has the wrong permission.

If you want that I debug and try identify the permission problem on your server, this is possible with billable support.
You can order such support on www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/07/07 13:07 By edwin2win.
The administrator has disabled public write access.
 
#1192
Re:Configure slave site 14 Years, 10 Months ago Karma: 0
Hello again,

I am really getting frustrated with this installation and I really do need and appreciate your help.

I have changed the permissions for all the folders and files to 777 starting from the master site and all sub folders. I still get the "No configuration file found and no installation code available" error.

1. "configuration_multisites.php" file is present in /var/www/joomla/multisites/slave1/ and config.php in the master site /var/www/joomla

2. The installation directory is present in the master website

3. Symbolic Link is allowed but does not work when we test with hello.php on the slave site we get the error "The directory [http://vannwebtest/joomla/multisites/test] does NOT exists"

4. The slave site is /var/www/joomla/multisites/slave1

5. The installation directory is defined with a Symbolic Link

6. There is no access to the installation directory from the internet

I have attached the configuration and index files from both the master site and the slave site for you to have a look.
File Attachment:
File Name: config_multisites_php.txt
File Size: 364


If we have to open up the firewall for you to access our server, we will need your IP address and which protocol you use and this also means that we will have to communucate outside the forum for security reasons.

I am really looking forward to solving this problem. It seems that there is something else we are not doing. We are new to joomla and we would like to use the multisites rather than many single sites.

Kindly assist.Many thanks.

=======================
=====Index.php on slave1======
<?php
// Don't use a Symbolic Link because that crash the website.
// Just include the original file to redirect the processing.
//include( '/var/www/joomla/index.php');
// Evaluate the original include file to redirect to keep the __FILE__ value.
$filename = '/var/www/joomla/index.php';
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
unset($handle);
eval("?>" . $contents);

=====index.php on master site======
<?php
/**
* @version $Id: index.php 11407 2009-01-09 17:23:42Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');

/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();

// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);

// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();

// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));

=================================
======configuration.php on master site=======
<?php
if ( !defined( 'MULTISITES_ID')) {
if ( !defined( 'JPATH_MULTISITES')) define( 'JPATH_MULTISITES', dirname(__FILE__) .DIRECTORY_SEPARATOR. 'multisites');
if ( !defined( '_EDWIN2WIN_')) define( '_EDWIN2WIN_', true);
@include( 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')) {
class JConfig {
var $offline = '0';
var $editor = 'tinymce';
var $list_limit = '20';
var $helpurl = 'help.joomla.org';
var $debug = '1';
var $debug_lang = '1';
var $sef = '0';
var $sef_rewrite = '0';
var $sef_suffix = '0';
var $feed_limit = '10';
var $feed_email = 'author';
var $secret = 'FADkBF2C1A1GHm2i';
var $gzip = '0';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = '/var/www/joomla/logs';
var $tmp_path = '/var/www/joomla/tmp';
var $live_site = '';
var $force_ssl = '0';
var $offset = '0';
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '1';
var $ftp_host = '127.0.0.1';
var $ftp_port = '21';
var $ftp_user = 'ftpuser';
var $ftp_pass = 'sksk2009';
var $ftp_root = 'www/joomla';
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'joomla';
var $db = 'joomladb';
var $dbprefix = 'jos_';
var $mailer = 'mail';
var $mailfrom = 'osttor@statkart.no';
var $fromname = 'nyvannstand';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $MetaAuthor = '1';
var $MetaTitle = '1';
var $lifetime = '40';
var $session_handler = 'database';
var $password = 'sksk2009';
var $sitename = 'nyvannstand';
var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
var $MetaKeys = 'joomla, Joomla';
var $offline_message = 'This site is down for maintenance. Please check back again soon.';
}
}
?>


mbjorge
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/07/08 10:46 By mbjorge.Reason: I pressed the submit button by mistake
The administrator has disabled public write access.
 
#1193
Re:Configure slave site 14 Years, 10 Months ago Karma: 54
If you want that I have a look on your server, you can sent me an email.
You can order such support on www.jms2win.com/download?page=shop.produ...35&category_id=1

I use dynamic IP address so I can not give you an IP for your firewall.

The index files are correct.
You say "The directory [http://vannwebtest/joomla/multisites/test] does NOT exists"

So check this URL and path on your server.
Either the path is wrong or you don't have the permission to access this directory.

For me, the URL is wrong because you write vannwebtest
Very strange domain name.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/07/08 11:47 By edwin2win.
The administrator has disabled public write access.
 
#1427
Re:Configure slave site 14 Years, 9 Months ago Karma: 0
URGENT HELP.

ARE THERE ANY USERS IN NORWAY THAT HAVE HAD PROBLEMS WITH CONFIGURATION OF SLAVE SITES? WOULD YOU KINDLY ALLOW ME TO CALL OR EMAIL YOU?

I AM NOT GETTING MUCH HELP FROM THE MODERATOR, I AM SO FRUSTRATED AND URGENTLY SEEKING FOR HELP.

KINDLY RESPOND PLEASE.
mbjorge
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1430
Re:Configure slave site 14 Years, 9 Months ago Karma: 54
As I told you in a previous post, if you want that we configure your server, this is possible with billable support.
We are working with dynamic IP address and that I can not give you an IP to configure your firewall.

I have already told you that if you are not able to install the JMS patches then you can try using the STANDARD Joomla FTP Layer as presented in the tutorial step 15.
If you give for exemple the "root" adminstrator login to the FTP layer, this should allow you install JMS.
If you give the root login, this mean that the files will be own by the root and could cause later other problem to access those file.

Concerning the permission you have to contact the administrator of your server.
If you want that we do such administration task for you, this is possible with billable support.
www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/07/31 13:12 By edwin2win.
The administrator has disabled public write access.
 
Go to topPage: 1234
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla