Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Craig Jensen on March 22, 2003, 02:46:26 AM
-
Someone with some experience in the twiggi config files may know the answer here.
On three separate SME 5.6 U2 boxes an install of Darrell Mays implimentation of the package produces the following:
after having set the correct settings as indicated for SME 5.6 in the server-manager panel post-install a login from an existing user is successful... then, when navigating any links from the initial user page, I am returned to the login form rather than the respective link.
Any ideas... I am currently searching through the config files.
BTW, on my 5.5 U3 box, there is no such behavior and all works well.
Craig
-
dont know what the problem is - twiggi runs fine on my 5.6 install. have you updated to sp2 for 5.6? I havent installed that yet on my server. are there any error messages in the messages log file?
-
Here are a few I notice today:
Mar 17 15:34:34 lfdfa-server e-smith[2360]: WARNING in /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf: Use of uninitialized value in split at /usr/lib/perl5/site_perl/esmith/nn_groupware_twiggi.pm line 159.
Mar 21 09:14:28 lfdfa-server e-smith[16275]: WARNING in /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf: Use of uninitialized value in split at /usr/lib/perl5/site_perl/esmith/nn_groupware_twiggi.pm line 159.
Mar 21 09:14:28 lfdfa-server e-smith[16275]: WARNING in /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf line 7.
Mar 21 09:14:28 lfdfa-server e-smith[16275]: WARNING in /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf line 8.
Mar 21 09:14:28 lfdfa-server e-smith[16275]: WARNING in /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf: Use of uninitialized value in split at /usr/lib/perl5/site_perl/esmith/nn_groupware_twiggi.pm line 291.
Mar 21 09:14:28 lfdfa-server e-smith[16275]: WARNING: Template processing succeeded for //opt/groupware/twiggi/config/custom.inc.php: 4 fragments generated warnings
Mar 21 09:14:28 lfdfa-server e-smith[16275]: at /etc/e-smith/events/twiggi-update/S20conf-twiggi line 34
I am currently looking through these fragments.
Craig
-
Here are the config files in question:
From the perl mod...
/usr/lib/perl5/site_perl/esmith/nn_groupware_twiggi.pm lines 159 and 291
-------------------------------------------line 159-----------------------------------------
# Eintraege von nicht mehr vorhandenen Usern loeschen
foreach my $t (sort keys %twiggi_users)
{
if( ( db_get_type(\%accounts, $t)||'') ne "user" )
{
db_delete( \%twiggi_users, $t );
}
}
my @demo_members=split (",", db_get_prop (\%accounts, "twiggidemo", "Members"));
foreach my $u (sort keys %accounts)
{
my @y=grep { $_ eq $u } @demo_members; # ohne Demouser
if ( db_get_type(\%accounts, $u) eq "user" && !@y && $u ne "twiggiadmin" )
-------------------------------------------line 159-----------------------------------------
-------------------------------------------line 291-----------------------------------------
my @demo_members=split (",", db_get_prop (\%accounts, "twiggidemo", "Members"));
my $showdemousers=(db_get_prop( \%gwconf, "TWIGGI", "showdemousers") eq "enabled");
my $prefslock=(db_get_prop( \%gwconf, "TWIGGIDEMO", "prefslock") ne "disabled");
my $OUT="";
-------------------------------------------line 291-----------------------------------------
Template contents of /etc/e-smith/templates//opt/groupware/twiggi/config/custom.inc.php/10conf:
----------------------------------------10conf----------------------------------------------
{
use esmith::nn_groupware_twiggi;
use strict;
init_twiggi_db();
$OUT=twiggi_base_config();
$OUT.=twiggi_custom_config("TWIGGIconfig");
$OUT.=twiggi_custom_config("TWIGGIdisabled");
$OUT.=twiggi_custom_config("TWIGGIdbconfig");
$OUT.=twiggi_esmith_users();
}
----------------------------------------10conf----------------------------------------------
There are the references... I am trying to figure out what they mean and whether they are the cause of my issue.
Craig
-
Have you been to Darrrell May's site myezserver.com? I seem to recall seeing a post by him on a tweak needed for SME 5.6. Good luck.
Jean
-
Thank you Jean.
I DID check out the myezserver forum and indeed found the answer. My time setting was not synched with that of my BIOS time. This is one I will remember.
Thank you again Jean/Bob
Craig