Dear TP friends and supporters,
I hope I am not to bothersome with all my questions and "problems".
Currently I started to build up a category (article) tree like this.
Level 0
- Level 1
- - Level 2
- - - Level 3
- - - - Level 4
In each category the "Display any child categories?" is on "yes"
Now when I like to display the category at Level 0, 1 or Level 2, it would not show the child catehories (only article if there are some). But if I go direct to level 3 or level 4, everything is perfect displayed.
I had delete them again, build up from beginning once again, and the same "problem". Furthermore I get an error message each time when trying to open the cat Level 0, 1 or Level 2:
8: Undefined index: 212
File: /var/www/vhosts/.../.../Sources/TPortal.php
Line: 1205 (line 1201 -1205 var)
{
$parents[] = array(
'id' => $allcats[$parent],
'name' => $allcats[$parent]['value1'],
'shortname' => !empty($allcats[$parent]['value8']) ? $allcats[$parent]['value8'] : $allcats[$parent]['id'],
);
$parent = $allcats[$parent]['value2'];
}
Sometimes this error comes up:
8: Undefined index: layout
Datei: /var/www/vhosts/../../Themes/default/TPortal.template.php
Zeile: 174
{
echo '
<li' , $coun<count($what) ? '' : ' style="border: none; margin-bottom: 0;padding-bottom: 0;"' , '>
<a href="' . $w['href'] . '" title="' . $w['subject'] . '">' . $w['short_subject'] . '</a>
', $txt['by'], ' <b>', $w['poster']['link'],'</b> ';
if(!$w['new'])
echo ' <a href="'.$w['href'].'"><img src="'. $settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';
echo '<br /><span class="smalltext">['.$w['time'].']</span>
</li>';
$coun++;
}
And it would not show up the category buttons even enable in the CAT LIST
Interesting is that this does not happen if there is a tree with only one level like:
Level 0
- Level 1
Here everything is fine.
Do anybody have an idea?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)
I had tried every possible variant the whole day yesterday.
I just like to tell, that this errors do no more arise if any category has min. 1 Article inside. So it seems that an "empty" category is not possible without causing an error.
As soon as all categories have content inside, those errors do no more arise. So maybe these are useful hints for others as and future releases well.
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)
Thanks for reporting Johann. I'll try to add this to fix for the future if possible. Time is limited...
Dear IchBin,
I totally understand this. Please never feel stressed and I hope such is useful anyway.
The world really does not come to an end and there are always creative ways to solve this or that.
Thanks for your care and sorry again. It's really never a "claim" and we are more than grateful to can use this great tool like it already is. Just know from my own experiences that people often just give feedback, if it is in the sphere of a personal need.
I hope that some naive reports are useful, if not, it's good to just put them away.
Thanks a lot!!
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fsangham.net%2FSmileys%2Fsadhu_sangham_sw.gif&hash=e3299fe21483bdca6cf59bd25a8c6109b379e840)