#1408 wikiplugin_category.php error

BRANCH-1-8_(CVS)
closed-fixed
teedog
PHP Error (166)
5
2014-07-12
2004-03-28
Lee L Bell
No

I have not used this plugin before, so I don't know how
long it has been broken - but - I tried to use it to
create an Wiki Index page. I also made sure that there
were pages for the plugin to find.

I receive 5 of these errors every time the page is
displayed.
Notice: Undefined index: forum in
/hsphere/local/home/starrrid/solidwizards.com/lib/wiki-plugins/wikiplugin_category.php
on line 175

There are 2 things cute about this:
* wikiplugin_category.php is called 6 times from this page
* notice the forum

The code for the page is as follows:
-=::Welcome to the Wiki::=-
::__This page will automatically update - but only if
Categories are applied to each page.__::
---
{SPLIT()} {CATEGORY(id=>6, types=>wiki)} {CATEGORY}
--- {CATEGORY(id=>7, types=>wiki)} {CATEGORY}
--- {CATEGORY(id=>5, types=>wiki)} {CATEGORY} {SPLIT}
{CATEGORY(id=>2, types=>wiki)} {CATEGORY}
{SPLIT()} {CATEGORY(id=>3, types=>wiki)} {CATEGORY}
---
{CATEGORY(id=>4, types=>wiki)} {CATEGORY} {SPLIT}
^ {CATEGORY(id=>1, types=>wiki)} {CATEGORY} ^
------------------- That's all -------------------
The URL for the page is:
http://solidwizards.com/tiki-index.php?page=Wiki+Index

Discussion

  • Lee L Bell

    Lee L Bell - 2004-04-07

    Logged In: YES
    user_id=898606

    I found solving this interesting
    a single line with
    {CATEGORY(id=>1, types=>wiki)} {CATEGORY} created 2 error
    messages
    {CATEGORY(id=>2, types=>wiki)} {CATEGORY} through
    {CATEGORY(id=>4, types=>wiki)} {CATEGORY} created 1 error
    message / while
    {CATEGORY(id=>5, types=>wiki)} {CATEGORY} through
    {CATEGORY(id=>7, types=>wiki)} {CATEGORY} do NOT create an
    error message. The category structure is:
    TOP
    | |- 1 = Site Related <-- 2 errors = 2 Forums
    | |- 2 = SolidWorks <-- 1 error = 1 Forum
    | | |- 5 = Drawings <-- NO errors = NO Forums
    | | |- 6 = Models <-- NO errors = NO Forums
    | | |- 7 = Assemblies <-- NO errors = NO Forums
    | |- 3 = SolidWorks API <-- 1 error = 1 Forum
    | |- 4 = FeatureWorks <-- 1 error = 1 Forum

    I have removed the Forums from the categories / my problem
    is solved - but it never should have existed

    For phpinfo - please see
    http://www.solidwizards.com/tiki-phpinfo.php

    For any other information - please feel free to contact me at
    starrider@solidwizards.com

    Lee

     
  • Lee L Bell

    Lee L Bell - 2004-04-07
    • labels: 544454 --> PHP Error
     
  • teedog

    teedog - 2004-06-24

    Logged In: YES
    user_id=807810

    This bug has been resolved in the latest CVS code and will
    be in the upcoming 1.8.4 and 1.9 releases. Thanks for your
    report.

     
  • teedog

    teedog - 2004-06-24
    • assigned_to: nobody --> teedog
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks