1.4.2 RC3 subsubcategories

Please report bugs here!

Moderator: Thorsten

Post Reply
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

1.4.2 RC3 subsubcategories

Post by glue »

I experience problems with the subsubcategories. The page produced when I try to view subsubcategories records doesn't display well under konqueror or safari. The page is not valid XHTML 1.0 Transitional, and gives errors such as:

Code: Select all

end tag for "li" omitted, but OMITTAG NO was specified
and

Code: Select all

end tag for "ul" omitted, but OMITTAG NO was specified
Subcategories have no such problems and are well displayed, with valid xhtml.
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which depth have your subcategories?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

2

Well, let's give an example...
English -> Rating -> Math
"Math", being a subcategory of "Rating",
"Rating" being a subcategory of main "English" category ("English" is displayed in the list like "Home" and "Show all categories").

The display of the "Math" records have the mentionned problems.
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

Hmm, I tried to fight again and again with it. It looks like just having subsubcategories is not enough to produce the problem.

I created new categories, subcategories, copied and pasted the old ones... and the problem seems worse than what I described : sometimes the display is ok, sometimes it is not.

Just moving and renaming categories can fix or... mess things. Well I have no method describing a sure way to reproduce it :-( Any idea about what is going on?
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I will check the code in the category class.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I've done a one hour code check and I cannot reproduce your problem, Sorry. :-(

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

Thanks for your time!
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

when you could reproduce this issue, please post it here and send the html-source code and a screenshot here.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

Hey, I tried to reproduce it, and now it appears in subcategories too...

I just created a new category "tempo-test" and it appeared again.
Here is the html code:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
    <title>KGS FAQ -  Foire Aux Questions -  powered by phpMyFAQ 1.4.2 RC3</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
    <meta name="title" content="KGS FAQ -  Foire Aux Questions -  powered by phpMyFAQ 1.4.2 RC3" />
    <meta name="description" content="Foire Aux Questions de KGS" />
    <meta name="keywords" content="KGS Kiseido Go Server FAQ" />
    <meta name="author" content="glue" />
    <meta name="publisher" content="glue" />
    <meta name="copyright" content="(c) 2001 - 2004 phpMyFAQ Team" />
    <meta name="Content-Language" content="iso-8859-1" />
    <meta name="robots" content="INDEX, NOFOLLOW" />
    <meta name="revisit-after" content="7 days" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <style type="text/css" media="screen">@import "template/style.css";</style>
    <!-- <style type="text/css" media="print">@import "template/print.css";</style> -->
 <script src="inc/functions.js" type="text/javascript"></script>
    <link rel="shortcut icon" href="template/favicon.ico" />
</head>
<body dir="ltr">

<!-- start header -->
<div id="header">
    <h1>KGS FAQ - Foire Aux Questions <a href="http://kgs.kiseido.com"><img
  src="images/kgsIcon.png" alt="Icône KGS"
  class="bt" ></img></a></h1>
    <div id="horizontalnav">
     <ul>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=search">Chercher</a></li>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=add">Ajouter</a></li>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=ask">Poser une question</a></li>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=open">Questions ouvertes</a></li>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=help">Aide</a></li>
      <li><a href="/perso/goweb/kgsfaq/index.php?action=contact">Contact</a></li>
     </ul>
    </div>
</div>
<!-- end header -->

<!-- start categories -->
<div id="categories">
  <div id="mainnav">
    <ul>
        <li><a href="/perso/goweb/kgsfaq/index.php?">Accueil</a></li>
        <li><a href="/perso/goweb/kgsfaq/index.php?action=show">Voir toutes les cat&eacute;gories</a></li>
            <li><a title="Questions générales et n'entrant pas dans les autres catégories" href="/perso/goweb/kgsfaq/index.php?action=show&cat=6">Questions générales</a></li>
 <li><a title="" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307439">KGS Plus</a></li>
 <li><a title="Toutes questions relatives au classement" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307450">Classement <img src="images/more.gif" width="11" height="11" alt="Classement" style="border: none; vertical-align: middle;" /></a></li>
 <li><a title="English questions" href="/perso/goweb/kgsfaq/index.php?action=show&cat=0">English</a>
  <ul>
  <li><a title="Questions about rating" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307451">Rating</a>
   <ul>
   <li><a title="Questions about escapers on KGS" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307444">Escaper</a></li>
   <li><a title="" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307445" class="active">KGS system</a></li>
  </ul>
 </li>
 <li><a title="" href="/perso/goweb/kgsfaq/index.php?action=show&cat=307452">test-tempo</a></li> 
    </ul>
  </div>
  <div id="search">
    <form action="/perso/goweb/kgsfaq/index.php?action=search" method="post">
      <input alt="search..." class="inputfield" type="text" name="suchbegriff" size="18" />
      <input type="submit" name="submit" value="Go" class="submit" />
    </form>
  </div>
  <div id="langform">
    <form action="/perso/goweb/kgsfaq/index.php?action=show&cat=307445" method="post">
     <select class="language" name="language" size="1">
  <option value="ar">Arabic</option>
  <option value="zh">Chinese</option>
  <option value="cs">Czech</option>
  <option value="da">Danish</option>
  <option value="nl">Dutch</option>
  <option value="en">English</option>
  <option value="fi">Finnish</option>
  <option value="fr" selected="selected">French</option>
  <option value="de">German</option>
  <option value="he">Hebrew</option>
  <option value="hu">Hungarian</option>
  <option value="it">Italian</option>
  <option value="ja">Japanese</option>
  <option value="ko">Korean</option>
  <option value="lv">Latvian</option>
  <option value="pl">Polish</option>
  <option value="pt">Portuguese</option>
  <option value="ru">Russian</option>
  <option value="sr">Serbian</option>
  <option value="sl">Slovenian</option>
  <option value="es">Spanish</option>
  <option value="sv">Swedish</option>
  <option value="vi">Vietnamese</option>
</select>
<input type="submit" name="submit" value="Go" class="submit" />
    </form>
  </div>
  <div id="useronline">
    0 Utilisateurs en ligne
  </div>
</div>
<!-- end categories -->

<!-- begin content -->
<div id="content">
        <h2>Entr&eacute;es en KGS system</h2>
 <p>Il n'y a pas encore d'article.</p>
 <a href="/perso/goweb/kgsfaq/index.php?action=show&cat=307443">une cat&eacute;gorie plus haut</a>
        <!-- please do not remove the following line -->
        <p id="copyrightnote">powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a> 1.4.2 RC3</p>
</div>
<!-- end content -->

</body>
</html>
http://validator.w3.org/ says about it:

Code: Select all

This page is not Valid XHTML 1.0 Transitional!
Below are the results of attempting to parse this document with an SGML parser. 

1. Line 60, column 7: end tag for "li" omitted, but OMITTAG NO was specified
 </div>
You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">". 

2. Line 50, column 1: start tag was here
 <li><a title="English questions" href="/perso/goweb/kgsfaq/index.php?sid=72&amp

3. Line 60, column 7: end tag for "ul" omitted, but OMITTAG NO was specified
 </div>

4. Line 44, column 4: start tag was here
 <ul>
And finaly, here is a screenshot... (viewed with konqueror, you see the "Entrées en KGS system..." is way too far from the top) Image
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which date is in your file category.php in the file header? This was a problem in 1.4.0 and 1.4.1 and I thought I fixed this.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

Here it is :

* File: category.php
* Description: category class
* Author: Thorsten Rinne <thorsten@phpmyfaq.de>
* Date: 2004-02-16
* Last Update: 2004-10-02
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

strange, really strange. Could you please send me the sql dump of your faqcategories table?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
glue
Posts: 29
Joined: Fri Oct 29, 2004 2:45 pm

Post by glue »

Code: Select all

-- phpMyAdmin SQL Dump
-- version 2.6.0-rc1
-- http://www.phpmyadmin.net
-- 
-- Serveur: **********
-- Généré le : Dimanche 31 Octobre 2004 à 12:20
-- Version du serveur: 4.0.20
-- Version de PHP: 4.3.9RC2
-- 
-- Base de données: *********
-- 

-- --------------------------------------------------------

-- 
-- Structure de la table `faqcategories`
-- 

CREATE TABLE `faqcategories` (
  `id` int(11) NOT NULL auto_increment,
  `lang` varchar(5) NOT NULL default '',
  `parent_id` int(11) NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `description` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`,`lang`)
) TYPE=MyISAM AUTO_INCREMENT=307453 ;

-- 
-- Contenu de la table `faqcategories`
-- 

INSERT INTO `faqcategories` VALUES (307443, 'en', 307451, 'Rating', 'Questions about rating');
INSERT INTO `faqcategories` VALUES (2, 'fr', 307450, 'Généralités', 'Questions générales sur le classement');
INSERT INTO `faqcategories` VALUES (307444, 'en', 307443, 'Escaper', 'Questions about escapers on KGS');
INSERT INTO `faqcategories` VALUES (4, 'fr', 307450, 'Signes spéciaux ? ~ -', 'Description des signes particuliers apparaissant derrière le classement');
INSERT INTO `faqcategories` VALUES (5, 'fr', 307450, 'Algo', 'Fonctionnement du système de classement de KGS');
INSERT INTO `faqcategories` VALUES (6, 'fr', 0, 'Questions générales', 'Questions générales et n''entrant pas dans les autres catégories');
INSERT INTO `faqcategories` VALUES (307451, 'fr', 0, 'English', 'English questions');
INSERT INTO `faqcategories` VALUES (307450, 'fr', 0, 'Classement', 'Toutes questions relatives au classement');
INSERT INTO `faqcategories` VALUES (307440, 'fr', 307450, 'Escaper', 'Infos sur les escaper et le traitement que le serveur leur réserve');
INSERT INTO `faqcategories` VALUES (307439, 'fr', 0, 'KGS Plus', '');
INSERT INTO `faqcategories` VALUES (307445, 'en', 307443, 'KGS system', '');
INSERT INTO `faqcategories` VALUES (307452, 'fr', 0, 'test-tempo', '');
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this bug is fixed in phpMyFAQ 1.4.3 and phpMyFAQ 1.5.0-CVS.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply