AW: [opencms-dev] help with News module - read docs & logfiles, re-install
Daniel Beinlich
u15618 at hs-harz.de
Tue Jan 25 17:23:31 CET 2005
Thank you for your help, but I have no success to use this module. I have
removed the module and I have
installed it again.I have done everything that you wrote.
These are the mistakes in the log files:
Opencms.log:
<opencms_critical> [com.opencms.file.CmsResourceTypePlain.importResource/1]
User mark.miller not found
Mysql.err:
Aborted connection 81 to db: 'opencms' user: 'root' host: `localhost' (Got
an error reading communication packets)
I can insert news entries and everything is wonderful, but when I try to
view the NewsOverview.html in the demo
(http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.ho
mepage.news/demo/NewsOverview.html)
I see this:
]]> tablehead -1 ]]> Headline Description Author Date Link Channel ]]>
id]]>headline ]]>description ]]>author ]]>date ]]>link ]]>channel ]]>
When I try to view a single news entry
(http://localhost:8080/opencms/opencms/system/modules/com.opencms.modules.ho
mepage.news/demo/singleNews.html?id=1)
I see this:
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 ]]>
Where are my mistakes? Please help me again
Sincerely,
Dan
_____
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Paul D. Bain
Gesendet: Dienstag, 25. Januar 2005 01:32
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] help with News module - read docs & logfiles,
re-install
At 10:12 AM 1/24/2005, Daniel Beinlich wrote:
The
news module [that] I [am] us[ing] is written by Mark Miller
Actually, Antonio Reyes and Paolo Brunasti also contributed to that
module. See the file "manifest.xml" that is included in the module "zip"
file.
(http://www.hema.ch/personal/mark.miller/opencms/module_news.html).
[T]he version [of the module is version] 2. I couldnt find
another news module. I have read a lot of
the page
http://opencms.al-arenal.de/
but this page is down. So
I couldnt get any other versions or documentations of the news module.
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.
So, I really need your help and I hope that there is someone who can tell me
what I have to do.
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:
/system/modules/com.opencms.modules.homepage.news/doc
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:
1. opencms.log
By default, this file is here:
<Tomcat_home>/webapps/opencms/WEB-INF/logs/opencms.log
2. catalina.out -- For historical reasons, the primary log file for Tomcat
is _not_ called "tomcat.log".
On Debian, this file is here: /var/log/tomcat4/catalina.out
3. database log files, e.g., for MySQL.
On Debian, this file is here: /var/lib/mysql/<hostname>.log
Finally, on one occasion, I solved a problem with a module by removing it
and then installing it again.
Sincerely,
Paul Bain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050125/69da7a44/attachment.htm>
More information about the opencms-dev
mailing list