| Re: Multixoops - With version 2.3.3 - RC |
| by Mazar on 2009/10/27 11:08:09 I have tried all the above changes. still no luck getting it work. it seems to taking the data from subdomain preferences. if i change sudomain preferneces to whatever the main domain also takes the preferences from subdomain it is confusing. maybe something wrong with module queries.
|
| Re: Multixoops - With version 2.3.3 - RC |
| by DicE on 2009/10/11 14:47:32 ok. Got 1.2 with the 1.22 and patches installed. Made the changes suggested here in the thread also. The last part I did was the change in common.php to try and get the change in themes working. And now I got the error that the method isActive() is undefinded. could it be that this is replaced/changed maybe? thanks again. DicE |
| Re: Multixoops - With version 2.3.3 - RC |
| by ghia on 2009/10/10 23:49:55 Quote: could I get some pointers on howe to make this work on localhost please? See this |
| Re: Multixoops - With version 2.3.3 - RC |
| by DicE on 2009/10/10 21:40:45 Hi there, seem to have the same problem as reported a few pages back. v1.2 installs correctly on my fresh v2.3.3b installation, but when installing the v1.22+ patches release I get an error: le="color: #000000"><?php Parse error: syntax error, unexpected '}' in C:wampwwwmodulesmultisiteclassdomain.php on line 613 I have tried installing the module during setup, as well as just after completing a fresh install. Anybody knows why this is happening? Please assist as I could really use this. on a seperate note, how do I define the 2 subdomains in Apache? is that using the virtualserver entries? could I get some pointers on how to make this work on localhost please? thanks in advance for all your help and patience. DicE Quote: Hi, Can someone advise on how to install multisite please? I installed XOOPS 2.3 and then I over wrote the installation with XOOPS 2.3-multi-1.22 patch. And then everything goes blank! Are there any instructions anywhere? Thanks in advance. |
| Re: Multixoops - With version 2.3.3 - RC |
| by wishcraft on 2009/10/7 21:46:28 LadyHacker, sounds like some .htaccess or a .htconf with the provider of your services. Normally unless you have redirector installed there will be no kick to another spot. You will goto your host and there will be the site displayed.. The other thing it could be is the cache file names these need to include XOOPS_URL as they contain static data like link addresses.. If it is using say the cache for: http://www.yoursite.com and you make a subdomain for http://subby.yoursite.com it will then provide only for close of HTML links for the first URL. This has been changed in 2.4.0 (Will need some cleaning processess done for 2.4.1) I suggest to all running multisite there is some changes you need to do first up: In XOOPS Cache you need to make the following changes: le="color: #000000"><?php function write($key, $value, $duration = null) { $key .= '_'.urlencode(XOOPS_URL); .... le="color: #000000"><?php function read($key, $config = null) { $key .= '_'.urlencode(XOOPS_URL); .... le="color: #000000"><?php function delete($key, $config = null) { $key .= '_'.urlencode(XOOPS_URL); .... The delete function will be altered in 2.4.1 to support deletion of all $key with a URL config.. This will not be address for the release of 2.4.0 Then the other place you will have to make a change is in the templating.. in template.php in 2.4.0 the following line 146 needs to look like this in xoops.. or the similar type of code for your version le="color: #000000"><?php // This is in function setCompileId // Line 146 $this->compile_id = urlencode(XOOPS_URL) . '%%' . $module_dirname . '-' . $theme_set . '-' . $template_set; The additional part is :: urlencode(XOOPS_URL) . '%%' . The other thing you have to do is make XOOPS_URL dynamic.. Which means it will detect the URL.. This is done with $_SERVER['HTTP_HOST'] which will always contain the domain remember if you have a path afterward like a http://yousite.com/yourpath/index.php you have include this for http://www.yoursite.com/ this will be as follows in main file. le="color: #000000"><?php define('XOOPS_URL', 'http://'.$_SERVER['HTTP_HOST']); for http://www.yoursite.com/afolder/ this will be as follows in main file. le="color: #000000"><?php define('XOOPS_URL', 'http://'.$_SERVER['HTTP_HOST'].'/afolder');
|