Wikka : WikkaBugs

HomePage :: Categories :: Index :: Changes :: Comments :: Documentation :: Blog :: Login/Register
Most recent edit on 2008-06-24 13:31:26 by NilsLindenberg [overlooked bug -> trac]

Additions:
Ticket:783

Deletions:
in version 1.1.6.2
using a code tag like this (A)
#include <iostream>
int main() {
 std::cout <<"Hello World\n";
 return 0;
and then one like this (B)
some rubish
in situation A
grab button will return you a file called test.cpp.txt (small issue here with the extra-extension)
solution: in file **handlers/page/grabcode.php**
(php;20)
defaults
define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
define('FILE_EXTENSION', '.txt'); # extension appended to code block name
should be changed to
%%(php;20)
defaults
define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
define('FILE_EXTENSION', ); # extension appended to code block name
in situation B
when you click grab you will get the same name for the file like in situation A (test.cpp.txt or test.cpp, if corrected) instead of what you would expect (some default name eg codeblock.txt)




Edited on 2008-06-24 10:15:58 by DarTar [removing outdated text and links]

Additions:
How do I report a bug?

Wikka has a dedicated issue tracker.

If you have something to report:

  • If not: please use the issue tracker to report your new bug or issue. Again, search first to make sure your issue has not been reported yet.

  • Read this first
     


    Deletions:
    New Wikka Tracker available

    We are happy to announce that Wikka has just opened a dedicated issue tracker. We are currently migrating open issues, bugs and feature requests from this site to the new server but this migration isn't complete yet.

    Meanwhile, if you have something to report:

  • If not: please use the issue tracker to report your new bug or issue.
  • Thanks for your understanding.


    Read this first:
    • check resolved bugs/issues (in released or to-be-released code) in WikkaBugsResolved first
    • for issues related to Wikka layout refer to WikkaCSS
    • for feature suggestions go to the SuggestionBox
    Note:
    For problems with foreach in PHP version 4.3.10:
    See WikkaBugsResolved
     




    Edited on 2008-06-24 02:10:43 by NilsLindenberg [removing trac references for fixed bugs]

    Deletions:

    Spaces in uploaded files

    Ticket:46

    history bug

    Ticket:75

    usersettings.php

    Ticket:76

    WantedPages problem

    Ticket:49

    Retrieving user-information (Session Leakage)

    Multiple wikka installations on one host: Login security hole?

    Ticket:81

    Reuse of Username when multiple wikkas on single server

    Ticket:81

    Safari and WikiEdit

    Ticket:83

    Windows Paths With {{files}} Action

    Ticket:89

    GetEnv is not a good idea!

    Ticket:98
    Ticket:48

    Category name matching

    Ticket:233




    Edited on 2008-01-28 00:16:00 by JavaWoman [Modified links pointing to docs server]

    Additions:


    Deletions:




    Edited on 2007-12-12 11:23:03 by JavaWoman [prevent function references looking as page links]

    Additions:

    GetEnv is not a good idea!



    Deletions:

    GetEnv is not a good idea!





    Edited on 2007-12-12 10:58:19 by JavaWoman [prevent Apache directives looking as page links]

    Additions:
    I've found that the .htaccess file (i think) prevents me from accessing a wikka folder using MacOS X's in built webdav client. I imagine that if the Rewrite stuff was less catch-all it might not have this effect, letting me edit wikka templates with ease rather than the terminal... thanks tom RewriteEngine on
    # RewriteCond %{REQUEST_FILENAME} -d
    # RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]
    RewriteCond %{REQUEST_URI} !/(Wikka/css|/Wikka/files|actions|dav|handlers|pages)
    RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]


    Deletions:
    I've found that the .htaccess file (i think) prevents me from accessing a wikka folder using MacOS X's in built webdav client. I imagine that if the ReWrite stuff was less catch-all it might not have this effect, letting me edit wikka templates with ease rather than the terminal... thanks tom
    RewriteEngine on
    # RewriteCond %{REQUEST_FILENAME} -d
    # RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]
    RewriteCond %{REQUEST_URI} !/(Wikka/css|/Wikka/files|actions|dav|handlers|pages)




    Edited on 2007-08-03 16:31:01 by JavaWoman

    Additions:
    %%(cpp;;test.cpp)

    Deletions:
    %%(cpp;test.cpp)



    Edited on 2007-04-19 17:40:29 by DarTar [let's stop kidding-ACL changed]

    Additions:

    remote (or local) won't load Wikka

    I just installed Wikka and it works fine on the localhost.
    But if I want to access it from another machine, being it on the LAN or internet, I got an error message saying "connection refused when attempting to contact localhost."
    my config setting is
    "base_url" => "http://localhost/wikka/wikka.php?wakka=",
    "rewrite_mode" => "0",
    If I change the localhost to mydomain.com, I can access it from internet, but I can't load it on my localhost.
    It's one or the other. Is there anything I did wrong? The following is a solution copied from comments of WikkaInstallation that I think resolves this issue (have not tested it though) --GiorgosKontopoulos 16/03/2006

    The following solution will allow Wikka to work for a site that can be reached by multiple domain names (for example, a server that has one address when accessed via an intranet and a different address when accessed from the Internet):
    Edit wikka.php.
    //After
    $wakkaConfig = array_merge($wakkaDefaultConfig, $wakkaConfig);)
    //add the following line:
    $wakkaConfig[base_url] = "http://".$_SERVER["SERVER_NAME"].($_SERVER["SERVER_PORT"] != 80 ? ":".$_SERVER["SERVER_PORT"] : "").$wakkaConfig[base_url];

    Then, edit wikka.config.php and set base_url to contain just the path of your Wikki instead of the full URL
    "base_url" = "/wikka/",

    I may be reinventing the wheel here. It would be good if Wikka actually had a config option to autodetect the domain or require it in base_url. --Vincent -- 65.242.114.226 (2006-02-06 18:52:54)

    Wikka and WebDAV

    I've found that the .htaccess file (i think) prevents me from accessing a wikka folder using MacOS X's in built webdav client. I imagine that if the ReWrite stuff was less catch-all it might not have this effect, letting me edit wikka templates with ease rather than the terminal... thanks tom
    Now.. and I don't get this... THIS has fixed it.. and it doesn't even seem to make sense (my install is in a folder called Wikka)... but when I try and change it ... it stops working again... My .htaccess file looks like this...
    RewriteEngine on
    # RewriteCond %{REQUEST_FILENAME} -d
    # RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]
    RewriteCond %{REQUEST_URI} !/(Wikka/css|/Wikka/files|actions|dav|handlers|pages)
    RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    ..... I don't get this... but hey, if it works...
    I get Links like
    http://localhost/~ckl/Wikka/wikkaHomePage
    http://localhost/~ckl/Wikka/wikkaCategoryCategory
    and so on, instead of
    http://localhost/~ckl/Wikka/wikka/HomePage
    http://localhost/~ckl/Wikka/wikka/CategoryCategory

    Logout fails silently or takes long time on SourceForge hosted site

    Here are the symptoms :
    When you click on the logout button, it returns to UserSettings page but does nothing.
    You can browse other pages, it keeps saying 'You are XXXX' even after logging out.
    IMHO, I think it may be a problem with the SourceForge hosting space as I've tried logout/login on different Wikka sites already hosted by SourceForge -> same issue.
    On my local LAMP, it works fine so I suggest there are some PHP, MOD_PHP, APACHE issues on SourceForge.
    --PhilippeVincent 10 Aug 2005

    .htaccess settings yields consistent error 403 on Apache

    Original issue: running Apache 2.0.54, with the presence of .htaccess file I kept getting error 403. Originally I moved .htaccess and set the base page in the conf to using the long url. After looking around I realized that the fix, in some instances (see requirements below) is to set the option FollowSymLinks to on in your .htaccess file.
    Problem: your Apache configuration files don't have FollowSymLinks on
    Solution: use the .htaccess below IFF (if, and only if) you have the following options set in the configuration file for the directory: AllowOverride Options or AllowOverride All, because you're going to need to override the settings in your local .htaccess file.
    ### STOP REFERRER SPAM
    SetEnvIfNoCase Referer ".*(adultsite|picturesplace|learnthebiz|pi-o|erotica|ghettoinc|port5|bulk-email|camgirls|paris-hilton|modelos|kredit|handyflirt24|versicherung|wwww|erotower|krank|x-1000|flirtnet|blowjob|agedwife|in-the-vip|boysfirsttime|milf|captain-stabbin|tranny|Kontakt|erotik|fetish|frauen|hardcore|fick|krankenversicherung|jinnan-cross|8thstreet|xxx|XXX|ficken|fuck).*" BadReferrer
    order deny,allow
    deny from env=BadReferrer
    <IfModule mod_rewrite.c>
     Options +FollowSymLinks
     RewriteEngine on
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule ^(.*/[^\./]*[^/])$ $1/
     RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    </IfModule>

    The + is optional, but I chose to put it in since I'm overriding default settings.
    --KoG

    Messages delayed

    copied from #wikka
    - well, some slight weirdness where i seem to get logged out without asking to
    - and some other weirdness where i make a change, such as claiming ownership of a page, but then get a javascript notification several pages later
    - cookie related problem? (firefox 1.0.1 on OSX).

    Extreme extreme slowness

    Not being registered makes no difference. There are users reporting Wikka pages taking several minutes to load!
    The guys on the Puppy Linux Forum (SimpleForumPro, a Perl script on the same host, runs real fast), have been analysing the problem, discussion here (look further down the page):
    http://www.goosee.com/puppy/sforum/simpleforum_pro.cgi?fid=07&topic_id=1111215715&page=2
    ...anyone got any thought what the cause could be?

    Email forgotten password action

    I tried with 2 different emails on this site (jsnx.com) to have a temporary password sent to me ('Forgot password?' etc.), and I never received anything. I have the same problem with other wikkas on several servers. Am I crazy, or does this action actually send something which... nobody ever receives? :-( --YanB

    Using compression

    Moved here from a comment so it won't get "lost". --JavaWoman
    Wikka doesn't work with zlib.output.compression = On, it would be nice if it did.
    -- 81-178-214-34.dsl.pipex.com (2005-01-06 22:31:13)

    PHP5 + GESHI

    Using PHP5 with the 1.1.6.0 release and the included GeSHI doesn't work. Once I updated GeSHI to the latest version, everything worked fine. --BrendonB

    Wiki Edit causes lockup

    The new version of wikiedit here causes a lockup if I use either ctrl-B or click on the B link after highlighting text. I can go to earlier versions of wikka on my servers and it works fine. Back to wikka and it causes a lockup (no asterisks are inserted, no other formatting works either, so I have to close the window...which generates an MS window crash notification popup). I'm running XPPro with current updates for both XP & IE. -- GmBowen

    $_REQUEST problem

    If this does not fit in this bug section as such, my apologies... I'd like to hear some comments on this though..
    I initially noticed this after having a problem with the {{files}} action. When trying to download a (previously succesfully uploaded) I received this result: Unknown method "page/files.xml?action=download.php"
    Digging through the code and printing out some variables I noticed the $_REQUEST (and $_GET) variable still contained part of the query string. See the example code below. I inserted a quick workaround in wikka.php but I'm interested in figuring out how and where this is caused.
    My setup:
    Apache/1.3.28
    php (module) 4.3.7
    wikka 1.1.5.3
    url: /wakka/wikka.php/FileActionExample/files.xml?action=download&file=file.txt
    <?php
    print_r($_REQUEST);
    /* print_r result
    Array
    (
        [wakka] => FileActionExample/files.xml?action=download
        [file] => file.txt
    )
    */

    //work-around $_REQUEST problem
    if( preg_match( "/(^[^?]*?)\?([^=]*?)=(.*)/" ,$_REQUEST['wakka'],$matches) ){
         list(,$_REQUEST['wakka'],,$_REQUEST[$matches[2]]) = $matches;
        list(,$_GET['wakka'],,$_GET[$matches[2]]) = $matches;
        unset($matches);
    }
    print_r($_REQUEST);
    /*
    print_r result after work-around
    Array
    (
        [wakka] => FileActionExample/files.xml
        [file] => file.txt
        [action] => download
    )
    */

    ?>

    thanks, JoshJohn
    This problem has been cropping up off and on in wikka for me recently (only at this site as far as I can tell...so beta code maybe??). Anyways, I noticed it today on the BannerMaker page. The follow three screen captures were done after multiple reloads of the page (the images didn't move with every reload). The weird part to me is that the "spacing" between them stays the same, but the images move up and down the screen. http://gmbowen.educ.unb.ca/wikitest/bug.jpg http://gmbowen.educ.unb.ca/wikitest/bug2.jpg http://gmbowen.educ.unb.ca/wikitest/bug3.jpg

    Login Problem

    I have several users that have trouble staying logged in using ie 6.0.XX.
    --GregorLindner

    User search - should be case-sensitive

    I was going through user pages, and looked at the homepage by user DaN; clicking on the name does the TextSearch thing: http://wikka.jsnx.com/TextSearch?phrase=DaN which brings up a surprising number of pages, none of which have actually been touched by DaN, it seems (at least non of the ones I checked). Using the browser to search in some of the listed pages (and their revision history) I found hits on words like "dangerous" - and nothing else. This way, the user search feature isn't all that useful, I'm afraid. A whole-word search may be difficult, but could we at least make it (optionally) case-sensitive so that a search for a user name or page name doesn't bring up a host of spurious results?

    Code tag % % ... % % problems

    in version 1.1.6.2
    using a code tag like this (A)
    #include <iostream>
    int main() {
     std::cout <<"Hello World\n";
     return 0;
    }

    and then one like this (B)
    some rubish

    in situation A
    grab button will return you a file called test.cpp.txt (small issue here with the extra-extension)
    solution: in file handlers/page/grabcode.php
    1. // defaults
    2. define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
    3. define('FILE_EXTENSION', '.txt'); # extension appended to code block name
    4.  

    should be changed to
    1. // defaults
    2. define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
    3. define('FILE_EXTENSION', ''); # extension appended to code block name
    4.  

    in situation B
    when you click grab you will get the same name for the file like in situation A (test.cpp.txt or test.cpp, if corrected) instead of what you would expect (some default name eg codeblock.txt)
    CategoryDevelopmentSuggestions

    Deletions:




    Edited on 2007-04-19 16:46:00 by 200.118.2.164

    Additions:


    Deletions:

    remote (or local) won't load Wikka

    I just installed Wikka and it works fine on the localhost.
    But if I want to access it from another machine, being it on the LAN or internet, I got an error message saying "connection refused when attempting to contact localhost."
    my config setting is
    "base_url" => "http://localhost/wikka/wikka.php?wakka=",
    "rewrite_mode" => "0",
    If I change the localhost to mydomain.com, I can access it from internet, but I can't load it on my localhost.
    It's one or the other. Is there anything I did wrong? The following is a solution copied from comments of WikkaInstallation that I think resolves this issue (have not tested it though) --GiorgosKontopoulos 16/03/2006

    The following solution will allow Wikka to work for a site that can be reached by multiple domain names (for example, a server that has one address when accessed via an intranet and a different address when accessed from the Internet):
    Edit wikka.php.
    //After
    $wakkaConfig = array_merge($wakkaDefaultConfig, $wakkaConfig);)
    //add the following line:
    $wakkaConfig[base_url] = "http://".$_SERVER["SERVER_NAME"].($_SERVER["SERVER_PORT"] != 80 ? ":".$_SERVER["SERVER_PORT"] : "").$wakkaConfig[base_url];

    Then, edit wikka.config.php and set base_url to contain just the path of your Wikki instead of the full URL
    "base_url" = "/wikka/",

    I may be reinventing the wheel here. It would be good if Wikka actually had a config option to autodetect the domain or require it in base_url. --Vincent -- 65.242.114.226 (2006-02-06 18:52:54)

    Wikka and WebDAV

    I've found that the .htaccess file (i think) prevents me from accessing a wikka folder using MacOS X's in built webdav client. I imagine that if the ReWrite stuff was less catch-all it might not have this effect, letting me edit wikka templates with ease rather than the terminal... thanks tom
    Now.. and I don't get this... THIS has fixed it.. and it doesn't even seem to make sense (my install is in a folder called Wikka)... but when I try and change it ... it stops working again... My .htaccess file looks like this...
    RewriteEngine on
    # RewriteCond %{REQUEST_FILENAME} -d
    # RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]
    RewriteCond %{REQUEST_URI} !/(Wikka/css|/Wikka/files|actions|dav|handlers|pages)
    RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    ..... I don't get this... but hey, if it works...
    I get Links like
    http://localhost/~ckl/Wikka/wikkaHomePage
    http://localhost/~ckl/Wikka/wikkaCategoryCategory
    and so on, instead of
    http://localhost/~ckl/Wikka/wikka/HomePage
    http://localhost/~ckl/Wikka/wikka/CategoryCategory

    Logout fails silently or takes long time on SourceForge hosted site

    Here are the symptoms :
    When you click on the logout button, it returns to UserSettings page but does nothing.
    You can browse other pages, it keeps saying 'You are XXXX' even after logging out.
    IMHO, I think it may be a problem with the SourceForge hosting space as I've tried logout/login on different Wikka sites already hosted by SourceForge -> same issue.
    On my local LAMP, it works fine so I suggest there are some PHP, MOD_PHP, APACHE issues on SourceForge.
    --PhilippeVincent 10 Aug 2005

    .htaccess settings yields consistent error 403 on Apache

    Original issue: running Apache 2.0.54, with the presence of .htaccess file I kept getting error 403. Originally I moved .htaccess and set the base page in the conf to using the long url. After looking around I realized that the fix, in some instances (see requirements below) is to set the option FollowSymLinks to on in your .htaccess file.
    Problem: your Apache configuration files don't have FollowSymLinks on
    Solution: use the .htaccess below IFF (if, and only if) you have the following options set in the configuration file for the directory: AllowOverride Options or AllowOverride All, because you're going to need to override the settings in your local .htaccess file.
    ### STOP REFERRER SPAM
    SetEnvIfNoCase Referer ".*(adultsite|picturesplace|learnthebiz|pi-o|erotica|ghettoinc|port5|bulk-email|camgirls|paris-hilton|modelos|kredit|handyflirt24|versicherung|wwww|erotower|krank|x-1000|flirtnet|blowjob|agedwife|in-the-vip|boysfirsttime|milf|captain-stabbin|tranny|Kontakt|erotik|fetish|frauen|hardcore|fick|krankenversicherung|jinnan-cross|8thstreet|xxx|XXX|ficken|fuck).*" BadReferrer
    order deny,allow
    deny from env=BadReferrer
    <IfModule mod_rewrite.c>
     Options +FollowSymLinks
     RewriteEngine on
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule ^(.*/[^\./]*[^/])$ $1/
     RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    </IfModule>

    The + is optional, but I chose to put it in since I'm overriding default settings.
    --KoG

    Messages delayed

    copied from #wikka
    - well, some slight weirdness where i seem to get logged out without asking to
    - and some other weirdness where i make a change, such as claiming ownership of a page, but then get a javascript notification several pages later
    - cookie related problem? (firefox 1.0.1 on OSX).

    Extreme extreme slowness

    Not being registered makes no difference. There are users reporting Wikka pages taking several minutes to load!
    The guys on the Puppy Linux Forum (SimpleForumPro, a Perl script on the same host, runs real fast), have been analysing the problem, discussion here (look further down the page):
    http://www.goosee.com/puppy/sforum/simpleforum_pro.cgi?fid=07&topic_id=1111215715&page=2
    ...anyone got any thought what the cause could be?

    Email forgotten password action

    I tried with 2 different emails on this site (jsnx.com) to have a temporary password sent to me ('Forgot password?' etc.), and I never received anything. I have the same problem with other wikkas on several servers. Am I crazy, or does this action actually send something which... nobody ever receives? :-( --YanB

    Using compression

    Moved here from a comment so it won't get "lost". --JavaWoman
    Wikka doesn't work with zlib.output.compression = On, it would be nice if it did.
    -- 81-178-214-34.dsl.pipex.com (2005-01-06 22:31:13)

    PHP5 + GESHI

    Using PHP5 with the 1.1.6.0 release and the included GeSHI doesn't work. Once I updated GeSHI to the latest version, everything worked fine. --BrendonB

    Wiki Edit causes lockup

    The new version of wikiedit here causes a lockup if I use either ctrl-B or click on the B link after highlighting text. I can go to earlier versions of wikka on my servers and it works fine. Back to wikka and it causes a lockup (no asterisks are inserted, no other formatting works either, so I have to close the window...which generates an MS window crash notification popup). I'm running XPPro with current updates for both XP & IE. -- GmBowen

    $_REQUEST problem

    If this does not fit in this bug section as such, my apologies... I'd like to hear some comments on this though..
    I initially noticed this after having a problem with the {{files}} action. When trying to download a (previously succesfully uploaded) I received this result: Unknown method "page/files.xml?action=download.php"
    Digging through the code and printing out some variables I noticed the $_REQUEST (and $_GET) variable still contained part of the query string. See the example code below. I inserted a quick workaround in wikka.php but I'm interested in figuring out how and where this is caused.
    My setup:
    Apache/1.3.28
    php (module) 4.3.7
    wikka 1.1.5.3
    url: /wakka/wikka.php/FileActionExample/files.xml?action=download&file=file.txt
    <?php
    print_r($_REQUEST);
    /* print_r result
    Array
    (
        [wakka] => FileActionExample/files.xml?action=download
        [file] => file.txt
    )
    */

    //work-around $_REQUEST problem
    if( preg_match( "/(^[^?]*?)\?([^=]*?)=(.*)/" ,$_REQUEST['wakka'],$matches) ){
         list(,$_REQUEST['wakka'],,$_REQUEST[$matches[2]]) = $matches;
        list(,$_GET['wakka'],,$_GET[$matches[2]]) = $matches;
        unset($matches);
    }
    print_r($_REQUEST);
    /*
    print_r result after work-around
    Array
    (
        [wakka] => FileActionExample/files.xml
        [file] => file.txt
        [action] => download
    )
    */

    ?>

    thanks, JoshJohn
    This problem has been cropping up off and on in wikka for me recently (only at this site as far as I can tell...so beta code maybe??). Anyways, I noticed it today on the BannerMaker page. The follow three screen captures were done after multiple reloads of the page (the images didn't move with every reload). The weird part to me is that the "spacing" between them stays the same, but the images move up and down the screen. http://gmbowen.educ.unb.ca/wikitest/bug.jpg http://gmbowen.educ.unb.ca/wikitest/bug2.jpg http://gmbowen.educ.unb.ca/wikitest/bug3.jpg

    Login Problem

    I have several users that have trouble staying logged in using ie 6.0.XX.
    --GregorLindner

    User search - should be case-sensitive

    I was going through user pages, and looked at the homepage by user DaN; clicking on the name does the TextSearch thing: http://wikka.jsnx.com/TextSearch?phrase=DaN which brings up a surprising number of pages, none of which have actually been touched by DaN, it seems (at least non of the ones I checked). Using the browser to search in some of the listed pages (and their revision history) I found hits on words like "dangerous" - and nothing else. This way, the user search feature isn't all that useful, I'm afraid. A whole-word search may be difficult, but could we at least make it (optionally) case-sensitive so that a search for a user name or page name doesn't bring up a host of spurious results?

    Code tag % % ... % % problems

    in version 1.1.6.2
    using a code tag like this (A)
    #include <iostream>
    int main() {
     std::cout <<"Hello World\n";
     return 0;
    }

    and then one like this (B)
    some rubish

    in situation A
    grab button will return you a file called test.cpp.txt (small issue here with the extra-extension)
    solution: in file handlers/page/grabcode.php
    1. // defaults
    2. define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
    3. define('FILE_EXTENSION', '.txt'); # extension appended to code block name
    4.  

    should be changed to
    1. // defaults
    2. define('DEFAULT_FILENAME', 'codeblock.txt'); # default name for code blocks
    3. define('FILE_EXTENSION', ''); # extension appended to code block name
    4.  

    in situation B
    when you click grab you will get the same name for the file like in situation A (test.cpp.txt or test.cpp, if corrected) instead of what you would expect (some default name eg codeblock.txt)
    CategoryDevelopmentSuggestions



    Edited on 2007-04-19 15:58:26 by BrianKoontz [Restored]

    Additions:

    remote (or local) won't load Wikka

    I just installed Wikka and it works fine on the localhost.
    But if I want to access it from another machine, being it on the LAN or internet, I got an error message saying "connection refused when attempting to contact localhost."
    my config setting is
    "base_url" => "http://localhost/wikka/wikka.php?wakka=",
    "rewrite_mode" => "0",
    If I change the localhost to mydomain.com, I can access it from internet, but I can't load it on my localhost.
    It's one or the other. Is there anything I did wrong? The following is a solution copied from comments of WikkaInstallation that I think resolves this issue (have not tested it though) --GiorgosKontopoulos 16/03/2006

    The following solution will allow Wikka to work for a site that can be reached by multiple domain names (for example, a server that has one address when accessed via an intranet and a different address when accessed from the Internet):
    Edit wikka.php.
    //After
    $wakkaConfig = array_merge($wakkaDefaultConfig, $wakkaConfig);)
    //add the following line:
    $wakkaConfig[base_url] = "http://".$_SERVER["SERVER_NAME"].($_SERVER["SERVER_PORT"] != 80 ? ":".$_SERVER["SERVER_PORT"] : "").$wakkaConfig[base_url];

    Then, edit wikka.config.php and set base_url to contain just the path of your Wikki instead of the full URL
    "base_url" = "/wikka/",

    I may be reinventing the wheel here. It would be good if Wikka actually had a config option to autodetect the domain or require it in base_url. --Vincent -- 65.242.114.226 (2006-02-06 18:52:54)

    Wikka and WebDAV

    I've found that the .htaccess file (i think) prevents me from accessing a wikka folder using MacOS X's in built webdav client. I imagine that if the ReWrite stuff was less catch-all it might not have this effect, letting me edit wikka templates with ease rather than the terminal... thanks tom
    Now.. and I don't get this... THIS has fixed it.. and it doesn't even seem to make sense (my install is in a folder called Wikka)... but when I try and change it ... it stops working again... My .htaccess file looks like this...
    RewriteEngine on
    # RewriteCond %{REQUEST_FILENAME} -d
    # RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]
    RewriteCond %{REQUEST_URI} !/(Wikka/css|/Wikka/files|actions|dav|handlers|pages)
    RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    ..... I don't get this... but hey, if it works...
    I get Links like
    http://localhost/~ckl/Wikka/wikkaHomePage
    http://localhost/~ckl/Wikka/wikkaCategoryCategory
    and so on, instead of
    http://localhost/~ckl/Wikka/wikka/HomePage
    http://localhost/~ckl/Wikka/wikka/CategoryCategory

    Logout fails silently or takes long time on SourceForge hosted site

    Here are the symptoms :
    When you click on the logout button, it returns to UserSettings page but does nothing.
    You can browse other pages, it keeps saying 'You are XXXX' even after logging out.
    IMHO, I think it may be a problem with the SourceForge hosting space as I've tried logout/login on different Wikka sites already hosted by SourceForge -> same issue.
    On my local LAMP, it works fine so I suggest there are some PHP, MOD_PHP, APACHE issues on SourceForge.
    --PhilippeVincent 10 Aug 2005

    .htaccess settings yields consistent error 403 on Apache

    Original issue: running Apache 2.0.54, with the presence of .htaccess file I kept getting error 403. Originally I moved .htaccess and set the base page in the conf to using the long url. After looking around I realized that the fix, in some instances (see requirements below) is to set the option FollowSymLinks to on in your .htaccess file.
    Problem: your Apache configuration files don't have FollowSymLinks on
    Solution: use the .htaccess below IFF (if, and only if) you have the following options set in the configuration file for the directory: AllowOverride Options or AllowOverride All, because you're going to need to override the settings in your local .htaccess file.
    ### STOP REFERRER SPAM
    SetEnvIfNoCase Referer ".*(adultsite|picturesplace|learnthebiz|pi-o|erotica|ghettoinc|port5|bulk-email|camgirls|paris-hilton|modelos|kredit|handyflirt24|versicherung|wwww|erotower|krank|x-1000|flirtnet|blowjob|agedwife|in-the-vip|boysfirsttime|milf|captain-stabbin|tranny|Kontakt|erotik|fetish|frauen|hardcore|fick|krankenversicherung|jinnan-cross|8thstreet|xxx|XXX|ficken|fuck).*" BadReferrer
    order deny,allow
    deny from env=BadReferrer
    <IfModule mod_rewrite.c>
     Options +FollowSymLinks
     RewriteEngine on
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule ^(.*/[^\./]*[^/])$ $1/
     RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
    </IfModule>

    The + is optional, but I chose to put it in since I'm overriding default settings.
    --KoG

    Messages delayed

    copied from #wikka
    - well, some slight weirdness where i seem to get logged out without asking to
    - and some other weirdness where i make a change, such as claiming ownership of a page, but then get a javascript notification several pages later
    - cookie related problem? (firefox 1.0.1 on OSX).

    Extreme extreme slowness

    Not being registered makes no difference. There are users reporting Wikka pages taking several minutes to load!
    The guys on the Puppy Linux Forum (SimpleForumPro, a Perl script on the same host, runs real fast), have been analysing the problem, discussion here (look further down the page):
    http://www.goosee.com/puppy/sforum/simpleforum_pro.cgi?fid=07&topic_id=1111215715&page=2
    ...anyone got any thought what the cause could be?

    Email forgotten password action

    I tried with 2 different emails on this site (jsnx.com) to have a temporary password sent to me ('Forgot password?' etc.), and I never received anything. I have the same problem with other wikkas on several servers. Am I crazy, or does this action actually send something which... nobody ever receives? :-( --YanB