41
mondarse
Bug in newBB Recet Topics' Block
  • 2003/11/28 13:06

  • mondarse

  • Just popping in

  • Posts: 96

  • Since: 2003/2/3 1


Hi,
I have found a bug in newBB Recet Topics' Block.
It only hapens when you set "Display in full size" to 0, so short display is used.
The template shows 3 colums:

<{$topic.title}> <{$topic.replies}> <{$topic.time}>

but newbb_new.php don't sends any data if "Display in full size" is set to 0.
Quote:

while ($tmpdb=$db->fetchArray($lastpostername)) {
$tmpuser = XoopsUser::getUnameFromId($tmpdb['uid']);
if ( $options[1] != 0 ) {
$topic['time'] = formatTimestamp($arr['topic_time'],'m')." $tmpuser";
}
}


I have commented the condition (if) and it works all right.

May be this code whas intended for "Most Viewed Topics" and "Most Active Topics" (haven't tried it), so we have to add and other condition checking $options[2] parameter.



42
mondarse
SESSION BUG
  • 2003/11/27 11:59

  • mondarse

  • Just popping in

  • Posts: 96

  • Since: 2003/2/3 1


Hi, I think I have found a bug in XOOPS 2.0.5 session handling, (may be in other 2.0.x versions too)

I have noticed that my session table is too big, in fact I shows 721 registers, and there has been only 1 user today. I have searched in XOOPS files how old sessions are deleted. I have found that there is Garbage Colletor function in \kernel\session.php, but it is never called in all XOOPS engine, so old session are never deleted.

I also have found that online information is properly handled, old data deleted in \modules\system\blocks\system_blocks.php randomly 10% of times.

I have no skil with XOOPS core, so I can't send a patch, but I think that you guys could patch it quickly, don't you?.

Thanks, MonDarSE



43
mondarse
Re: HeadLine Bug with spanish language feed
  • 2003/11/3 12:00

  • mondarse

  • Just popping in

  • Posts: 96

  • Since: 2003/2/3 1


Hi,
I have set the iso-8859-1 encoding, al also all the other cobinations and I get the same result, nothing.
I have instaled on my site MYHeadLines_XPS202_424, and with this module syndication works allright, so I think www.deportesoriano.com has no error in its backend.php.

Any idea?, Do yo need any more feedback?.

Thanks, MonDarSE.




44
mondarse
HeadLine Bug with spanish language feed
  • 2003/10/30 9:58

  • mondarse

  • Just popping in

  • Posts: 96

  • Since: 2003/2/3 1


Hi, I traying to sindicate several spanish (php-nuke powered), but I get simply nothing. I have edited cached rss-xml code in the database, and noticed that if I remove spanish special characters, I works all right.

Here is an example of rss/xml:
http://www.deportesoriano.com
http://www.deportesoriano.com/backend.php

(I have marked some words with spacial chars)

Quote:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"
"http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">

<channel>
<title>Deporte en Soria</title>
<link>http://www.deportesoriano.com</link>
<description>DEPORTE SORIANO</description>
<language>es-es</language>

<item>
<title>La ilusión preside el estreno oficial del Sporting C.V.</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=485</link>
</item>

<item>
<title>COMIENZA LA LIGA SENIOR MASCULINA</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=484</link>
</item>

<item>
<title>NUEVA VICTORIA DEL NUMANCIA CAJA DUERO</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=483</link>
</item>

<item>
<title> DIVISIÓN GRUPO VIII: ALMAZÁN 0 - PROM. PONFERRADA 0</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=482</link>
</item>

<item>
<title>EXCELENTE RESULTADO EN EL AUTONOMICO SUB-23</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=481</link>
</item>

<item>
<title>PROXIMA JORNADA DE LA LIGA PROVINCIAL</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=479</link>
</item>

<item>
<title>Campeonato Autonómico.com/modules.php?name=News&file=article&sid=478</link>
</item>

<item>
<title>Vuelta a Soria en Paramotor</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=477</link>
</item>

<item>
<title>VIII SUBIDA AL CASTILLO</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=476</link>
</item>

<item>
<title>3ª DIVISIÓN GRUPO VIII: SALAMANCA B 1- ALMAZÁN 0</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=475</link>
</item>

</channel>
</rss>



45
mondarse
HeadLine Bug with spanish language feed
  • 2003/10/24 11:20

  • mondarse

  • Just popping in

  • Posts: 96

  • Since: 2003/2/3 1


Hi, I traying to sindicate several spanish (php-nuke powered), but I get simply nothing. I have edited cached rss-xml code in the database, and noticed that if I remove spanish special characters, I works all right.

Here is an example of rss/xml:
http://www.deportesoriano.com
http://www.deportesoriano.com/backend.php

(I have marked some words with spacial chars)

Quote:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"
"http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">

<channel>
<title>Deporte en Soria</title>
<link>http://www.deportesoriano.com</link>
<description>DEPORTE SORIANO</description>
<language>es-es</language>

<item>
<title>La ilusión preside el estreno oficial del Sporting C.V.</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=485</link>
</item>

<item>
<title>COMIENZA LA LIGA SENIOR MASCULINA</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=484</link>
</item>

<item>
<title>NUEVA VICTORIA DEL NUMANCIA CAJA DUERO</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=483</link>
</item>

<item>
<title> DIVISIÓN GRUPO VIII: ALMAZÁN 0 - PROM. PONFERRADA 0</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=482</link>
</item>

<item>
<title>EXCELENTE RESULTADO EN EL AUTONOMICO SUB-23</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=481</link>
</item>

<item>
<title>PROXIMA JORNADA DE LA LIGA PROVINCIAL</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=479</link>
</item>

<item>
<title>Campeonato Autonómico.com/modules.php?name=News&file=article&sid=478</link>
</item>

<item>
<title>Vuelta a Soria en Paramotor</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=477</link>
</item>

<item>
<title>VIII SUBIDA AL CASTILLO</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=476</link>
</item>

<item>
<title>3ª DIVISIÓN GRUPO VIII: SALAMANCA B 1- ALMAZÁN 0</title>
<link>http://www.deportesoriano.com/modules ... icle&sid=475</link>
</item>

</channel>
</rss>




TopTop
« 1 2 3 4 (5)



Login

Username:
Password:

Lost Password? Register now!

Who's Online

84 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 84


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits