Question
- TWiki version:Dec 2001
- Web server:Apache
- Server OS:Solaris8
- Web browser: IE 5.1
- Client OS: Solaris8
I am getting Topic Save error whenever I try to save the
file using TWIki.
Error:
%HTTP_EQUIV_ON_VIEW% TWiki . Main .
WebHome (oops)
Attention
Topic save error
During save of file
Main an error was found by the version control system. Please notify your TWiki administrator.
/usr/local/bin/ci -q -l -m'none' -t-none -w'guest' /export/home/twiki/data/Main/WebHome.txt 2>&1 1>/dev/null
ci: /export/home/twiki/data/Main/RCS/WebHome.txt,v: Permission denied
Go back in your browser and save your changes locally.
I have changed the user/group to nobody all all files under
twiki/data (permission 666) and cgi-bin (permisiion 755).
Tested rcs.
RCS works correctly. I create a file under
twiki/data/Main and checked it out/in using co and ci.
It worked fine but as soon as the GUI is used everything fails.
When trying to attach a file, Software Error is returned:
Software error:
Can't call method "findOne" without a package or object reference at /usr/local/apache/cgi-bin/attach line 112.
For help, please send mail to the webmaster
Thanks in advance for the help!
http://server:port#/cgi-bin/oops
give this error:
TWiki Installation Error
Template file oops.tmpl not found or template directory /export/home/trapti/twiki/templates not found.
Check the $templateDir variable in TWiki.cfg.
The folder templates exists with proper permission but
there is no file in it named "oops.tmpl"
-- Main.TP - 10 Apr 2002
Answer
- It looks like you have a mismatch of TWiki versions since
%HTTP_EQUIV_ON_VIEW% is not expanded. Make sure that the template files and cgi scripts are of the same TWiki version.
- What does testenv report for the user? The data files need to be writable by that user. Get the latest testenv script from CVS:bin/testenv
.
- Make sure that the settings in TWiki.cfg are correct.
--
PeterThoeny - 11 Apr 2002
Thanks for the response. I reinstalled TWIKI and it works somewhat
but not completely.
How do I check whether the templetes and cgi-scripts are of
the same version?
By re-installing TWiki the variable WEBHOME gets expanded and
I can edit, attach, more on these links but the variable
HTTP_EQUIV_ON_VIEW, WIKIWEBLIST, WEBTOPICLIST are not expanded at all.
Compare your
WebPreferences and
TWikiPreferences with the ones here on TWiki.org - if some variables look different, edit the pages locally to see if there are some variables not set. See
VariablesNotEvaluating for a similar problem, and check your TWiki.cfg against
CVSget:lib/TWiki.cfg
(particularly the bits that set the names of webs).
--
RichardDonkin - 13 Apr 2002
Thanks. I checked the TWiki.cfg file and seems OK.
The TWikipreference and
WebPrefernce also seems to be OK.
When I try this:
http://server:8888/cgi-bin/view/TWiki/TWikiPrefernce
,
I don't see the contents as I can see when I try:
http://twiki.org/cgi-bin/view/TWiki/TWikipreference
No matter what URL I provide ..../Webprefernce or any name xyz
in front of the above URL
http://.../.../view/
..
the output looks the same only the file names changes to what I
have at the end of the URL.
Does chaning the perl version will really help. I am using Solaris
8 and perl 5.00503.
I was able to correct the mistakes myself. I just removed the
data/TWiki and data/Main files. Copied again and everything
seems to work fine. I did not upgrade to perl 5.6.