Login     Sign up
BUG in Jcow 2.1.02
kenulu (@kenulu)
Join date: Mar 31st 2010
Community posts: 33
View Profile
Send Message

1 - When you change the privacy option under MANAGE NETWORK->Site Options to "Privat - only memebers can visit your site", the RewriteRules do not apply and no links aviable. Only when you manually type "index.php?p=login" into the browser and log to the community on again works the rules.

2 - MANAGE NETWORK->Members, thre is nothing displayed to to.

179 months ago
stan (@stan)
Join date: Mar 17th 2010
Community posts: 127
View Profile
Send Message
  1. I tested on our test server bug cannot find the bug. whats your network url? I will make a check on it.

  2. This bug will be fixed in the next release.

Thanks for the reporting.

179 months ago
kenulu (@kenulu)
Join date: Mar 31st 2010
Community posts: 33
View Profile
Send Message

http://ohbee.net

i have change in apps.inc.php this
[code]
/*
//$smarty->assign('app',$current_app);
// do app

if ($parr[0] != 'login' && $parr[0] != 'jcow' && $parr[0] != 'language' && $parr[0] != 'signup' && get_gvar('private_network') && !$client['id']) {
if ($parr[0] == 'home') {
$menuon = 'home';
set_title(get_gvar('site_slogan'));
}
else {
sys_notice(url('login',t('You need to login to do this')));
}
c(get_text('welcome_msg'));
load_tpl();
}
[/code]

to
[code]
*/
// $smarty->assign('app',$current_app);
// do app
if ($parr[0] != 'login' && $parr[0] != 'jcow' && $parr[0] != 'language' && $parr[0] != 'signup' && get_gvar('private_network') && !$client['id']) {
redirect('login');
}[/code]

And see its works now

179 months ago
stan (@stan)
Join date: Mar 17th 2010
Community posts: 127
View Profile
Send Message

you got the error because you changed the core codes uncorrectly.

179 months ago
kenulu (@kenulu)
Join date: Mar 31st 2010
Community posts: 33
View Profile
Send Message

Hi stan,

since version 2.01 yu have implement the funtion load_tpl(); in apps.inc.php, but this function is not defined in any script. Because of this, when you set the network to privat network you get an error and the network is not aviable.

179 months ago
stan (@stan)
Join date: Mar 17th 2010
Community posts: 127
View Profile
Send Message

got it. and fixed.
Thanks!

179 months ago