<html>
<body>
At 11:23 AM 1/25/2005, Daniel Beinlich wrote:<br><br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>Thank
you for your help, but I have [had] no success [in] us[ing] this module.
I have removed the module and I have <br>
installed it again. I have done everything that you [suggested in your
prior email].</font></blockquote><br>
Dan,<br><br>
<x-tab> </x-tab>I do not
know what is wrong. In this email, I shall make a few guesses. Please
remember this -- I am merely guessing, and you should not rely too
heavily on my guesses.<br><br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>These
are the mistakes [sic; "errors"] in the log files:<br>
<br>
Opencms.log: <br>
<opencms_critical>
[com.opencms.file.CmsResourceTypePlain.importResource/1] User mark.miller
not found</font></blockquote><br>
<x-tab> </x-tab>Is that
the only relevant line in the file OpenCMS.log? Are there other lines in
that file? Please do not make me prod you for information. Please offer
_all_ relevant information.<br><br>
<x-tab> </x-tab>This error
message may mean that the news module depends on the existence of an
OpenCMS (OC) user whose name is "mark miller." Perhaps you
could try to create a new user (within OC) with that name, and you may
need to give him _full_ administrative privileges. Furthermore, you may
need to be logged in as that user when using the news module.<br><br>
<x-tab> </x-tab>Please
search the OC email archives in order to determine whether anyone else
has posted a message containing this phrase, "User mark
miller".<br><br>
<x-tab> </x-tab>You might
benefit by increasing the amount of information in the OC log file. You
can do this by editing the main OC configuration file, which is named
"opencms.properties." In that file, go to the section whose
heading is "Logging parameters" (usually line 689 or
thereabouts). Read that section and configure your logging so that you
can get more information from OC. Of course, you will have to re-start
your servlet container (e.g., Tomcat) after you edit this file.<br><br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>Mysql.err:<br>
Aborted connection 81 to db: 'opencms' user: 'root' host: `localhost'
(Got an error reading communication packets)</font></blockquote><br>
<x-tab> </x-tab>I do not
know what this means. Again, you could go to the MySQL site and search
the email archives for the phrase that you find in the log in order to
discern the meaning of the phrase.<br><br>
<x-tab> </x-tab>Remember
that the file mysql.err is _different_ from the file mysql.log. In this
case, we are probably more interested in the latter than the
former.<br><br>
<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>I can
insert news entries and everything is wonderful, but when I try to view
the NewsOverview.html in the demo
(<a href="http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.homepage.news/demo/NewsOverview.html" eudora="autourl">http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.homepage.news/demo/NewsOverview.html</a>)<br>
I see this:<br>
]]> tablehead -1 ]]> Headline Description Author Date Link Channel
]]> id]]>headline ]]>description ]]>author ]]>date
]]>link ]]>channel ]]> <br>
<br>
When I try to view a single news entry
(<a href="http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.homepage.news/demo/singleNews.html?id=1" eudora="autourl">http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.homepage.news/demo/singleNews.html?id=1</a>)<br>
I see this:<br>
Das gew?nschte Element existiert nicht! Id: ]]>id Headline:
]]>headline Description: ]]>description Author: ]]>author Date:
]]>date Date Start: ]]>date_start Date End: ]]>date_end Link:
]]>link Linktext: ]]>linkText Text: ]]>text Channel:
]]>channel A_info 1: ]]>a_info1 A_info 2: ]]>a_info2 A_info 3:
]]>a_info3 Abstract: ]]>long_abstract ]]><br>
</font> <br>
<font face="arial" size=2>Where are my mistakes? Please help me
again…</font></blockquote><br><br>
<x-tab> </x-tab>Dan,
henceforth, you may need to rely on the email archives for help. Please
learn how to search them. I am not sure that I can continue to help
you.<br><br>
<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>Sincerely,<br>
<br>
Dan<br>
<hr>
<div align="center"></font></div>
<font face="tahoma" size=2><b>Von:</b> opencms-dev-bounces@opencms.org
[<a href="mailto:opencms-dev-bounces@opencms.org" eudora="autourl">mailto:opencms-dev-bounces@opencms.org</a>]
<b>Im Auftrag von </b>Paul D. Bain<br>
<b>Gesendet:</b> Dienstag, 25. Januar 2005 01:32<br>
<b>An:</b> The OpenCms mailing list<br>
<b>Betreff:</b> Re: [opencms-dev] help with News module - read docs &
logfiles, re-install<br>
</font> <br>
At 10:12 AM 1/24/2005, Daniel Beinlich wrote:<br><br>
<pre><font face="arial" size=2>The</font><font face="arial">
</font><font face="arial" size=2>news module [that] I [am] us[ing] is written by Mark Miller</font></pre><font face="Courier New, Courier"></font><br>
<x-tab> </x-tab>Actually, Antonio Reyes and Paolo Brunasti also contributed to that module. See the file "manifest.xml" that is included in the module "zip" file.<br><br>
<br>
<pre><font face="arial" size=2>(<a href="http://www.hema.ch/personal/mark.miller/opencms/module_news.html">http://www.hema.ch/personal/mark.miller/opencms/module_news.html</a>).</font></pre><font face="Courier New, Courier"></font><br>
<pre><font face="arial" size=2>[T]he version [of the module is version] 2. I couldn’t find</font><font face="arial"> </font></pre><br>
<pre><font face="arial" size=2>another news module. I have read a lot of</font><font face="arial"> </font><font face="arial" size=2>the page</font></pre><font face="Courier New, Courier"><br>
</font><pre><font face="arial" size=2><a href="http://opencms.al-arenal.de/">http://opencms.al-arenal.de/</a> but this page is down. So </font></pre><font face="Courier New, Courier"><br>
</font><pre><font face="arial" size=2>I couldn’t get any other versions or documentations of the news module.</font></pre><font face="Courier New, Courier"></font> <br>
<pre><font face="arial" size=2>I have successfully installed this module and I can insert a news entry and edit an existing entry, but I don´t know how [to] implement the news in my website. The demo inside the module doesn´t work.</font></pre><font face="Courier New, Courier"></font><br>
<pre><font face="arial" size=2>So, I really need your help and I hope that there is someone who can tell me what I have to do.</font></pre><font face="Courier New, Courier"></font><br>
<x-tab> </x-tab>First, have you executed the file "news.sql" that is included in the "zip" file? I suspect that you have done so. Otherwise, you probably would not be able to insert a news entry. It is possible that OpenCMS has already executed the file for you (when you installed the module). Second, read the primary documentation file in the zip file. This file is named "index.html" and, in the zip file, it is located here: <br><br>
<x-tab> </x-tab>/system/modules/com.opencms.modules.homepage.news/doc<br><br>
In the zip file, there are _several_ files named "index.html." If you have installed the news module, then this file is probably already in the OC virtual file system. Third, examine your log files, especially the first of these:<br><br>
1. opencms.log<br><br>
<x-tab> </x-tab>By default, this file is here: <Tomcat_home>/webapps/opencms/WEB-INF/logs/opencms.log<br><br>
2. catalina.out -- For historical reasons, the primary log file for Tomcat is _not_ called "tomcat.log".<br><br>
<x-tab> </x-tab>On Debian, this file is here: /var/log/tomcat4/catalina.out<br><br>
3. database log files, e.g., for MySQL. <br><br>
<x-tab> </x-tab>On Debian, this file is here: /var/lib/mysql/<hostname>.log<br><br>
Finally, on one occasion, I solved a problem with a module by removing it and then installing it again.<br><br>
Sincerely,<br>
Paul Bain</blockquote></body>
</html>