Revision [19895]
This is an old revision of ChrisH made by ChrisH on 2008-05-05 00:54:16.
Chris Heismann
4 May 08Two things:
1. Before I try and write one, I'm looking for an action. I need a simple action I can add to pages to tag them for clean up. Ssomething that puts up a little box on any page it's added to saying "This page needs to be cleaned up and gives me a page similar to the WantedPages output, showing me all the pages tagged. 2. Speaking of Wanted pages, are there any known issues with it in 1.1.6.4? On the installation here, it looks like I would expect: DomBonj (7) FireFox (6) WazoO (6) SansSerif (6) etc, etc But on my installation, it looks like this: Andega (264) It shows a single page - in this case, there is only one other page calling for that non-existant page, while there probably are 200-some references to pages I need to create. **14 Apr 08** Looking for a little 1.1.6.4 help. I tried some searches to find a more appropriate place to put this, but didnt' find anything that seemed 'right', so posting it on my page. I just upgraded one of my installs from 1.1.6.1 to 1.1.6.4. Everything is working fine (love some of the new features), however, I'm having a little difficulty getting the [[http://docs.wikkawiki.org/UserRegistrationValidationFramework User Registration Module]] working. Anytime I add the lines listed in the docs to my config file, wikka apparently "loses" my config file, and launches into the installer script. Not sure what I'm doing wrong. Either I'm making some sort of real basic editing mistake, or I'm not clear on what the docs page is trying to tell me. ~&You just have added the second line? Made no error with ' (happens to be a misake I sometimes make)? Can you post your config here (without the mysl-data of course)? --Nils ~~&I haven't had a chance to get back to this. I decided to wait until I got a bunch of info I wanted in, and cleaned up before I opened it to any users anyway. If I have problems then, I'll be back. Thanks **23 Jan 08** Ok, I'm running into a problem that I'm pretty sure Wikka is causing, and I'm pretty sure can be solved by reconfiguring some things, probably my htaccess files. For some time now, I've had three subdomains within my domain that have had copies of Wikka running. I also had four other subdomains there as well - one running Gallery, and the other three just your run of the mill html webpages. Last night I installed Wikka in my root directory, so that it could handle the main domain. Now, the three subdomains that have their own Wikka installations running work fine, as does the sub-domain that has Gallery, however, the three that are straight html files do not. Any ideas? ~& Copy the .htaccess from the images directory (http://wush.net/trac/wikka/browser/trunk/images/.htaccess) and tell us if that helps. --NilsLindenberg ~~& I didn't get a chance to look at this again until today, and I'm not sure what you mean. I found the three lines of code you linked to, but I don't know where they should go in my htaccess file. I also learned something else. My sub-domain running Gallery is not working fine either, all the photos that were there before are accessable, no new photos are. Attempts to access my sub-domains give a 404 error. ~~~& I'm certainly not an .htaccess expert, but won't processing stop at the first [L] rule? I'm curious how you determined this is a problem caused by Wikka... --BrianKoontz ~~~~& I know nothing about .htaccess files, other than cut/pasting some code in to create my subdomains in the first place. The excerpts from my .htaccess file aren't necessarily in order - I just cut and pasted the portions that looked like they were for one of my sub-domains and the Wikka installation. The reason I know Wikka caused the problem is that all of my subdomains were accessible BEFORE I installed Wikka into the root directory, and not afterwards - immediately afterwards. Prior to installing Wikka, all my root directory, main homepage had in it was an index.html file that simply pointed to the other subdomains. Here's the order I did everything - 1. take a quick check on a random sampling of pages on the various subdomains to ensure that there were no problems I needed to fix before I began. 2. Used my hosts automated tools to create backups of all the subdirectories, and then mySQL databases. 3. Install Wikka, run through it's install routines. 4. Edit the Wikka config file to customize the top/bottom menus to my preferences. 5. Edit the Wikka HomePage to restore my "old" links to the various subdomain sites. 6. Discover that some of those links were no longer working. ~~~~&Over the years, my webhost had provided two different methods to create sub-domains. I think that's the reason that some are working, and some aren't. I don't beleive this is actually Wikka's fault (at least not as far as a bug or glitch with the program), only that it's a result of the changes Wikka made to the htaccess files, and I don't have enough knowledge of them to undo those changes AND keep Wikka working. I'm coming here for help first not because I truly beleive that it's Wikka's fault, only because I don't know where to go to help, and knowing my webhost, they'll send me here for help first anyway since I know for sure that it was caused during the Wikka installation. ~~~~~& Is this site live/publicly accessible? Also, I'd be glad to take a look at your .htaccess file if you'd like to e-mail it to me (brian at wikkawiki.org). My first instinct would be to comment out *all* Wikka-related lines in your .htaccess file, disable mod_rewrite in wikka.config.php, and then see if everything works. --BrianKoontz ~~~~~~& Ok, I finally, with my web-hosts help, finally fixed this. I was partially right, but it was also partly the fault of the webhost, and the changes they made to their subdomain allocation. According to the tech I spoke to, my subdomains shouldn't have been working at all prior to installing Wikka, as they aren't supposed to be defined in the htaccess file I was defining them in. So whatever changes installing Wikka caused, it highlighted those "errors" I had.
<?php
/*
"logo" action
Parameters:
there are no parameters for this action
created by Chris Heismann, December 2005, for use with Wikka Wiki, ver 1.1.6.0
released under the GPL
WARNING: This action was created as a programming exercise by a beginning programmer. Use at your own risk
*/
$output = "<img alt=\"logo\" src=\"images/logo.gif\" />";
print($output);
?>
/*
"logo" action
Parameters:
there are no parameters for this action
created by Chris Heismann, December 2005, for use with Wikka Wiki, ver 1.1.6.0
released under the GPL
WARNING: This action was created as a programming exercise by a beginning programmer. Use at your own risk
*/
$output = "<img alt=\"logo\" src=\"images/logo.gif\" />";
print($output);
?>
Place this code in your actions folder as a file named logo.php.
Feedback on this would be much appreciated!
20 Dec 05
So I went and picked up a book on php. Wow. I had been looking at it as if it were some sort of alien language. But its actually not that bad - different syntax than BASIC, and probably far more flexible and extendable, but I got enough of a grasp that I think I write few things in it.
I wrote my first action, a little snippet that just prints a greeting on the page. Next up is a Logo action - one that will take a predetermined image file and display it. Yeah, I know I can do that with the image action, but this is a programming exercise.
When I've got it done, I'll post it here for review.
15 Dec 05
I've just recently began to use Wikka as a central website for my Dungeons & Dragons campaign. This was my second attempt at trying to install a Wiki - the first one was well over a year ago, and I got majorly frustrated trying to figure out everything that I needed to do on my web hosts computers, and related to the wiki itself.
But recently, my web host began providing Instant Installers for a variety open source tools like shopping carts, wikis etc. They offered four different Wiki's and I chose Wikka because of the four it seemed to have the best blend of power combined with ease of use.
I've got my Wiki up and running, and even some decent content. If you want to look, it's here: yrazul.heismann.net/wiki/ Yrazul Wiki. I have some issues that are more mine than Wikka's - that is, I know enough about programming and style sheets to be dangerous - very dangerous. I know how to modify the php and css files, but I have no clue as to what I'm modifying.
I hope to change that - I've done some lite programming before - I used to program quite a bit in Amiga Basic (ah, those were the days), but since that computer went away, my programming has been limited to Excel and a proprietary menu driven language specific to my company's car wash controllers. If it's not too hard to learn, I'm hoping to learn a bit of php - at least enough to write an action or two for my wiki. Unless there are some other D&D players out there who happen to know php and use Wikka who want to write them for me?
CategoryUsers