please change your config files.
also changed 'wselfhtm.css' in all template files to 'forum.css', rename (or copy) your wselfhtm.css in wwwroot/selfaktuell/src/, please
<Scrap id="LINK_ARCHIV"><![CDATA[ <a href="/selfaktuell/forum/forumsarchiv.htm"><b>Forumsarchiv</b></a> ]]></Scrap>
<Scrap id="LINK_SUCHE"><![CDATA[ <a href="/cgi-local/sfasuch.pl"><b>Forumsarchiv-Suche</b></a> ]]></Scrap>
<Scrap id="LINK_ARCHIV"><![CDATA[ <a href="/selfaktuell/forum/forumsarchiv.htm"><b>Forumsarchiv</b></a> ]]></Scrap>
<Scrap id="LINK_SUCHE"><![CDATA[ <a href="/cgi-local/sfasuch.pl"><b>Forumsarchiv-Suche</b></a> ]]></Scrap>
-<Scrap id="_CSS_FILE"><![CDATA[ /selfaktuell/src/wselfhtm.css ]]></Scrap>
+<Scrap id="_CSS_FILE"><![CDATA[ /selfaktuell/src/forum.css ]]></Scrap>
<Config>
<Property name="files">
<Config>
<Property name="files">
- <Variable name="messagePath">/selfaktuell/forum/messages/</Variable>
- <Variable name="forum">/selfaktuell/forum/messages/selfforum.xml</Variable>
- <Variable name="adminDefault">config/fo_admin_default.xml</Variable>
+ <Variable name="messagePath">e:/localhosts/i_selfhtml/htdocs/selfaktuell/forum/messages/</Variable>
+ <Variable name="forum">e:/localhosts/i_selfhtml/htdocs/selfaktuell/forum/messages/selfforum.xml</Variable>
+ <Variable name="adminDefault">e:/localhosts/i_selfhtml/cgi-local/user/config/fo_admin_default.xml</Variable>
</Property>
<Property name="template">
</Property>
<Property name="template">
<Config>
<Property name="show">
<Property name="Posting">
<Config>
<Property name="show">
<Property name="Posting">
- <Variable name="templateFile">config/answer.tmp.xml</Variable>
+ <Variable name="templateFile">e:/localhosts/i_selfhtml/cgi-local/user/config/answer.tmp.xml</Variable>
<Property name="assign">
<Variable name="docNew">DOC_OPENING</Variable>
<Property name="assign">
<Variable name="docNew">DOC_OPENING</Variable>
- <Variable name="templateFile">config/forum.tmp.xml</Variable>
+ <Variable name="templateFile">e:/localhosts/i_selfhtml/cgi-local/user/config/forum.tmp.xml</Variable>
<Property name="assign">
<Variable name="mainDocStart">DOC_FORUM_START</Variable>
<Property name="assign">
<Variable name="mainDocStart">DOC_FORUM_START</Variable>
</Property>
<Property name="Posting">
</Property>
<Property name="Posting">
- <Variable name="templateFile">config/posting.tmp.xml</Variable>
+ <Variable name="templateFile">e:/localhosts/i_selfhtml/cgi-local/user/config/posting.tmp.xml</Variable>
<Property name="assign">
<Variable name="mainDoc">DOC_POSTING</Variable>
<Property name="assign">
<Variable name="mainDoc">DOC_POSTING</Variable>
-<Scrap id="_CSS_FILE"><![CDATA[ /selfaktuell/src/wselfhtm.css ]]></Scrap>
+<Scrap id="_CSS_FILE"><![CDATA[ /selfaktuell/src/forum.css ]]></Scrap>
<Scrap id="LINK_SELFHTML"><![CDATA[ <a href="/selfhtml/"><b>SELFHTML</b></a> ]]></Scrap>
<Scrap id="LINK_SELFAKTUELL"><![CDATA[ <a href="/selfaktuell/"><b>SELFHTML aktuell</b></a> ]]></Scrap>
<Scrap id="LINK_SELFHTML"><![CDATA[ <a href="/selfhtml/"><b>SELFHTML</b></a> ]]></Scrap>
<Scrap id="LINK_SELFAKTUELL"><![CDATA[ <a href="/selfaktuell/"><b>SELFHTML aktuell</b></a> ]]></Scrap>
<Scrap id="LINK_SELFLIVE"><![CDATA[ <a href="../live/"><b>SELFHTML live!</b></a> ]]></Scrap>
<Scrap id="LINK_SELFFORUM"><![CDATA[ <a href="./"><b>SELFHTML Forum</b></a> ]]></Scrap>
<Scrap id="LINK_SELFLIVE"><![CDATA[ <a href="../live/"><b>SELFHTML live!</b></a> ]]></Scrap>
<Scrap id="LINK_SELFFORUM"><![CDATA[ <a href="./"><b>SELFHTML Forum</b></a> ]]></Scrap>
-<Scrap id="_CSS_FILE"><![CDATA[ ../src/wselfhtm.css ]]></Scrap>
+<Scrap id="_CSS_FILE"><![CDATA[ ../src/forum.css ]]></Scrap>
our $formmust = $show_posting -> {form} -> {must};
our $formdata = $show_posting -> {form} -> {data};
our $formact = $show_posting -> {form} -> {action};
our $formmust = $show_posting -> {form} -> {must};
our $formdata = $show_posting -> {form} -> {data};
our $formact = $show_posting -> {form} -> {action};
-our $template = new Template "$Bin/".$show_posting -> {templateFile};
+our $template = new Template $show_posting -> {templateFile};
our $pars = {};
our ($failed, %dparam, $threads, $last_thread, $last_message, $ftid, $fmid, $flocked);
our $pars = {};
our ($failed, %dparam, $threads, $last_thread, $last_message, $ftid, $fmid, $flocked);
-sub forum_filename () {$conf -> {wwwRoot} . $conf -> {files} -> {forum};}
-sub message_path () {$conf -> {wwwRoot} . $conf -> {files} -> {messagePath};}
+sub forum_filename () {$conf -> {files} -> {forum};}
+sub message_path () {$conf -> {files} -> {messagePath};}
################################
################################
my $conf = read_script_conf ($Bin, $Shared, $Script);
my $conf = read_script_conf ($Bin, $Shared, $Script);
-$conf -> {wwwRoot} = 'i:/i_selfhtml/htdocs' unless ($ENV{GATEWAY_INTERFACE} =~ /CGI/);
+#$conf -> {wwwRoot} = 'i:/i_selfhtml/htdocs' unless ($ENV{GATEWAY_INTERFACE} =~ /CGI/);
my $show = $conf -> {show};
my $show_forum = $show -> {Forum};
my $show_posting = $show -> {Posting};
my $cgi = $show -> {assign} -> {cgi};
my $tree = $show -> {assign} -> {thread};
my $show = $conf -> {show};
my $show_forum = $show -> {Forum};
my $show_posting = $show -> {Posting};
my $cgi = $show -> {assign} -> {cgi};
my $tree = $show -> {assign} -> {thread};
-my $adminDefault = read_admin_conf ("$Bin/".$conf -> {files} -> {adminDefault});
+my $adminDefault = read_admin_conf ($conf -> {files} -> {adminDefault});
-my $forum_file = $conf -> {wwwRoot}.$conf -> {files} -> {forum};
-my $message_path = $conf -> {wwwRoot}.$conf -> {files} -> {messagePath};
+my $forum_file = $conf -> {files} -> {forum};
+my $message_path = $conf -> {files} -> {messagePath};
#use Lock qw(:ALL);release_file(forum_file);die;
#use Lock qw(:ALL);release_file(forum_file);die;
if (defined ($tid) and defined ($mid)) {
print_posting_as_HTML ($message_path,
if (defined ($tid) and defined ($mid)) {
print_posting_as_HTML ($message_path,
- "$Bin/".$show_posting -> {templateFile},
+ $show_posting -> {templateFile},
{assign => $show_posting -> {assign},
thread => $tid,
posting => $mid,
{assign => $show_posting -> {assign},
thread => $tid,
posting => $mid,
else {
print_forum_as_HTML ($forum_file,
else {
print_forum_as_HTML ($forum_file,
- "$Bin/".$show_forum -> {templateFile},
+ $show_forum -> {templateFile},
{assign => $show_forum -> {assign},
adminDefault => $adminDefault,
cgi => $cgi,
tree => $tree
});}
{assign => $show_forum -> {assign},
adminDefault => $adminDefault,
cgi => $cgi,
tree => $tree
});}
# eos
\ No newline at end of file
# eos
\ No newline at end of file