There are multiple ways to get support regarding 'Tavi. Some of these are local to this web site, (or even to this page) and some are external through the support mechanism available at http://sourceforge.net/. The simplest way is to look/add something to the bottom of this page.
If you have a question regarding Tavi, we suggest looking through/changing the TaviFAQ. Or you might add your question on the bottom of this page if you don't feel that it's a TaviFAQ. For additional reading, which might solve your questions, we suggest reading TaviBugs, TaviInstructions and/or TaviDocumentation. Lastly, somebody else might have experienced the same problem and have already described it or provided a solution, which then would have been posted at either TaviBugs, TaviPatches or TaviSuggestions.
The following list links to the support areas which we currently try to use besides this web-site. All of these can also be found directly from the [project page].
TaviSupport also doubles as an InterWiki for referencing single requests, like TaviSupport:802753. And you could [add a request] at SourceForge directly, but please check the [list first].
Add requests here if you don't like the other options. When answered, the answer will be found at TaviFAQ. That is if it's not an ongoing answer, which will be commented on this page. Please feel free to add answers or questions either here or in TaviFAQ.
Q: I just intalled version 0.26 and am having a problem with the Captch anti-spam feature. I don't get nice-looking characters for the save code like I see on this site. Mine come out all jumbled and are unrecognizable. I had to turn off that feature so that I could get the wiki started. Any ideas on how to get them to display correctly?
Q: I have just installed 'Tavi 0.24', created a wiki user for mysql using the instructions but that doesn't seem to work. When I try to connect to the wiki from my browser, I get the following error message :
Error executing database query. Please contact the administrator for assistance. LOCK TABLES localrate WRITE
A: This sound like it could be one out of two problems. Either you created the databases with a prefix, and your configurations says that you didn't use a prefix. (Check config.php for a line similar to $DBTablePrefix = 'local';. If the local-part is missing, add it. ) Or you might have in some mysterious way actually not created the databases, so please do the installation of the databases again.
A: The problem comes from the first possibility ! I simply set $DBTablePrefix = '' and now that work great! Thank you :-)
Q: I installed Tavi 0.24 but I can't make it work, I always get the message: Fatal error: Failed opening required 'lib/init.php' (include_path='.:/usr/lib/php') in /usr/local/lib/tavi/lib/main.php on line 72. What's this?
A: The .htaccess file (which you were supposed to create in your web path -- see installation instructions) is being ignored. Make sure your web server allows .htaccess files (in the Apache config, you need to make sure the directory is configured with "AllowOverride? All").
Q: Logo floating disabled by CSS. I use Tavi 0.24 and recognise that the line after the page header is drawn below the top right logo even with the style "float: right". In version 0.22 the page was floating around the logo. I figured out that by disabling the definition div#header hr { clear: both; } in the style sheet I got the same behaviour as previous versions. What is this definition for? Do I get problems without it?
A: The definition you've commented out has one purpose and that is to make the hr-line go below the logo. If you want the logo to cross the line, and extend into the text this line should be removed, as you've done.
Q: I get "Error Selecting Database." I have double checked the config.php but everything is okay. Is there something else I should adjust?
A: This happens either when $DBName is misspelled (see config.php), or when the databases haven't been created yet. Are you sure you have the right name, and that you've created that database?
*I realized what I did wrong! My DBname was off. Cheers!
Q: My TAVI runs far too slowly once too many users get online. I've installed the GZIP mod, but I didn't notice much difference in the speed. We're talking 3-5 minute load times for individual wiki pages. I know it's not the server, because my PHPBB runs like a dream. ANyone else having this problem?
Q I can use "View document history" and "Compute difference" on WIn32 now ( a cmd/command-line-window will pop up when pressing either of the buttons ) , however, there is no green box and yellow box appear on the "Computer difference" page even though the2 pages are not the same. What should I do for getting the diff really up? (I think the problem is that the computed result of the program diff is not return/import to/into Tavi, am I wrong?)
A: Win32 does not come with a diff program built-in. See the question above, "Do there exist a php-script to do the diff's on windows?" and the associated answers. --Qualidafial
A: Under Win32 checkout Windiff(freeware) for file comparisons and look into <a href="http://www.cygwin.com">Cygwin</a> for *nix diff.
Q: I am getting the error like the person above:
Error executing database query. Please contact the administrator for assistance. LOCK TABLES wiki_rate WRITE
I've quadruple-checked my $DBTablePrefix? settings and they are correct. I created the database using the RickVanLieshout/InitDatabasePHPScript, in case that means anything.
Any ideas?
A: I had the same difficulty, and I never figured out why. You should try installing phpMyAdmin and verify the database and tables really did get created. If not, try extracting the sql queries from the php init script, and running them manually in phpMyAdmin. --Qualidafial
A: I too had the same problem. For some reason, 'tavi didn't create the prefix (wiki_*) for the tables. so just load up phpMyAdmin or [MySQL-Front] and rename the tables -- zer0fill
A: ''I had the same problem, too! Try log in mysql with phpmyadmin. Then anlysis the "wiki_rate" table. You will get a message like this "This table is crashed, using repair tool to fix it!" And the problem will be fix if you using the repair tool to repair this table in phpmyadmin. That's how I fix this problem. I hope my experience will help more people.
Q: How to easy include a page in my mydomain.com? I try to understand the script for take from mysql-db the text of a page created with mydomain.com/taviwiki can give more details about it? thanks :
Q: I do not have command line access to my web server and hacked the script to create the tables which seemed to work. The config.php file creation is a bit of a puzzle. I think I got but I get a browser window with: LIB_ErrorDatabaseSelect?
What did I screw up?
Q: How do I set the default comparison when clicking on "View document history"? Right now, it just shows what the last person wrote; no comparison
A: I think I found it in action/history.php ($previous_ver = 0;) but it is not too logical how it is displayed. It looks like it counts from the bottom up than top to bottom - zer0fill
Q: My Web Host just upgraded to mySQL 4.0, and now I cannot save changes to pages. I get this error message:
Error executing database query. Please contact the administrator for assistance. UPDATE tavi_pages SET time=2004-02-19 19:47:55, supercede=NULL WHERE title='WebLinks?' AND version=60"
I received this reply from my web host: "I'm pretty certain that the SQL query [you gave] is invalid, as the time being set isn't quoted correctly. If this worked in previous versions of MySQL, I'm not sure why. My bet is that if you can find the line of code that is failing and change it to something like this instead:
UPDATE tavi_pages SET time='2004-02-19 19:47:55', supercede=NULL WHERE title='WebLinks?' AND version=60.
So it seems as if the difference is a pair of single quotes? Any ideas?
-- bhhenry
The solution to your problem is detailed here:
http://www.moztips.com/wiki/index.pcgi?page=MySQL
Are you using Dreamhost too ? - JayS
Cannot update database, aka TaviSupport:918537. Not a very descriptive title, I know, but I don't know what else to call it; basically any operations that involving writing to a 'Tavi table fails. Exact error messages and scenarios in the SF tracker. -- RichardBerg
Ok, guess I should paste in some more info to help you guys help me. I've been running 'Tavi for a long time; now at v0.25. Recently, people started getting strange errors when trying to access the wiki, as if it was unable to write to mywiki_rate. I then disabled rate limiting, which allowed the site to be browsed normally.
However, it seems the underlying problem didn't go away. Other attempts to write to the DB still create errors, e.g. "LOCK TABLES avisynth_pages WRITE, avisynth_interwiki WRITE, avisynth_sisterwiki WRITE, avisynth_links WRITE" when editing a page.
Any ideas? I run several other mysql-intensive apps off this web account but they all seem to be doing fine.
Followup, 3/30 -- Further notes: downgrading to 0.22 changes the error message but doesn't help. Copying the tables and pointing Tavi to the new copies doesn't help. My ISP (HostRocket?) insists they have done DB tests with no errors and I'm inclined to agree.
RichardBerg buckles down and learns some PHP/SQL -- while playing with the queries Tavi sends to the DB, I discovered that phpMyAdmin threw privilege errors whenever using the LOCK command. Some Googling revealed that the permissions necessary to run this command changed as of MySQL 4.xx. The jury's out on whether an ISP upgrade was my problem, but once I hear back for them we'll know for sure. Meantime, commenting out the lock queries seems to work ok without noticeable performance or corruption issues.
Wrap-up: my ISP won't actually confirm that they upgraded behind my back, but when I asked them whether they could give me the newly required LOCK permission, they said they could not. So, I'm left with those lines commented out. (EvenHolen recommended the same, after the fact, but confirmed that this may introduce errors.)
Q: I just installed Tavi. Followed everything through and I get
When I go to the index.php page. I've dug around a bit, but I don't see where the problem is.
A: It's likely your php distribution does not have the mysql libraries properly installed. Make sure you have a recent version of PHP that includes MySQL support. --Qualidafial
Q: a person, who worked before me on my wiki template, disabled the "view document history" link in... how to reget it ? at least, where is located the displaying function? --Hadita
A: The link comes from template/common.php at the bottom. The best is probably to download a clean version and compare it to your template.
Q: well, when clicking on history links (as well in RecentChanges page as on view document history link) i got an error... Thus i would like ideas how to fix that... it was after setting french as Tavi language using this method. thus i guess i made a mistake somewhere but where? (0.25 version), this error is template independant
I completelly reinstalled tavi and still have same problem thus create [973260] on sourcefourge about it (see details there)
A:
i don't kown if it's the right place for it but the Ð which is in ascii latin basic set appears as Đ or Ð, here (in fact only once for Đ), when typed directly in page, and systematically as Đ in my new Tavi (0.25 version)
i used (but not as webmaster only as wiki user) Tavi in 0.24 version and didn't get this problem, anybody has an idea about how to get it clearly systematically? Hadita
Q: Somehow, I seem to have broken my RecentChanges link.. Insted of the normal recentchanges link that shows the actual changes, I have a "RecentChanges?" and it wants me to edit that page.. I'm using Simen Brekken's URL Rewriting code, and I managed to break it after I installed it.. Im still getting used to being wiki-fied, but I like it.. Can someone help me? --Spin
A: RecentChanges is a normal page that just contains a macro to generate the changes list. Perhaps your page really is plain empty. Try adding [[! *]] to the page text and save it.
Q: Is there a way to add a link to the previously viewed page? I would like to allow my users the option to go back to the page that referenced them to the current page.
A: It's called the "back button" and can be found in most modern browsers. Why should you have an additional link on the page itself?
?: Here's a scenario where the "back button" sucks. I navigate through many wiki links to a page. I edit the page. I click save. I want to go back through the path I came, not go back to the edit page. The "back button" goes back to the edit page. This may seem like an easy "just click back a couple of times" issue. But, what if I repeatedly edit a page?
Q: I just installed Tavi and got everything to work, except for the diff on the history page. Instead of a history, I get the message, "No diff available. $DiffCmd points to /usr/bin/diff which doesn't exist or isn't readable." When I log into my shell account, though, I can run 'usr/bin/diff' just fine. Any ideas? DanR
A: Maybe the webserver is setup such that it's not allowed to run external programs, or the php safemode is on, or the webserv runs in a chroot or jail and does not have its own diff binary?
Q: Can I use Wikki with postgresql?
A: Yes, look at TaviPatches/PostgreSQLSupport
Q: I have installed the Wiki, but when i call the index I get the error: Error executing database query, LOCK TABLES
A: You don't have the right previleges to use the LOCK/UNLOCK command.
Solution: You have to set "Lock_Tables_Priv" true for the database you use for the wiki. If you have hosted space then you have to ask your hoster.
Q: Is there a way of getting sitemap-like information from wiki? We're using wiki for knowledge management and the democracy principle is starting to result in an unstructured chaos. Having a sitemap might help us keep track of where info goes. (Should we dictate a structure on our wiki?)
A: Have a look at the pages TitleSearch and LinkTable and their page source if they do the right thing for you. But yes, you should also try to educate your users such that they will begin to see themselves what structure makes sense and how to refactor intelligently.
Q: Can you give me an example of how to use Categories?
A: Sure.
Create a new page called Movies.
This will be your main category
Create a new page called Movies/Action
This will be your subcategory
Create a new page called Movies/Action/Terminator
This will be your content entry
Now put the following in the page Movies:
[[TitleSearch Action/(*)]]
That's it!
Q: I've setup a wiki at say www.mysite.com/wikiengine and would now like to setup a so called Wikifarm.
That's one Wiki engine running several wikis if I understand correctly.
So basically I want www.mysite.com/wikiengine to run (for example) www.mysite.com/sports and www.mysite.com/projects.
Ok, I know my webserver supports php & mysql and I upload content via ftp but I haven't seen anything called symbolic link? (as mentioned here VirtualHosts) - how do I practically setup the above?
A:: You can also upload the files as normal files, as long as you follow the rest of the instructions. You do lose the benefit of easy upgradability, though: you'll need to update those files manually if you upgrade tavi. I don't know of a way to create symlinks through ftp.
Q: The 0.26 gz file won't open (using either of the PKZip, ZipGenious?, or WinZip? utilities) - not really a newbie on this stuff so am wondering if others having any similar experience.
-TomHenry?
A: No problem over here. Perhaps try gunzip and tar from the [unxutils].
Q: We are trying to migrate from MediaWiki? to TikkiTavi?. Is there some easy way to import the XML-export from MediaWiki?? -- MartinSchuster?
It is probably easy to convert the markup using XSLT or some Perl. But there is no import facility to create the pages all at once. I guess you'd have to write them to the database directly. --HermannSchwarting
Q: I updated my Tavi from 0.25 to 0.27, but I feel no need for the Captch Anti-Spam feature. So how can I disable the Captch thing?
A: Add a line $UseCaptcha = 0; to the config.php.
Q: After editing the html-code of the database entry in the wiki_pages-table, the wiki text is displayed as raw HTML Code, when visiting the wiki's site. What have I forgotten? --SteffenDiehl?