TinyPortal

Development => Support => Topic started by: Ray on July 16, 2005, 08:28:55 AM

Title: What does this mean
Post by: Ray on July 16, 2005, 08:28:55 AM
What does this mean

8: Undefined variable: icon
File: D:\RRAnderson\DVD\Sources\TPortal.php
Line: 244

And how to fix it--Please
Title: Re: What does this mean
Post by: Bjørn on July 16, 2005, 10:24:48 AM
Do you notice when it arrives? is it on all pages?
Title: Re: What does this mean
Post by: Ray on July 16, 2005, 08:02:56 PM
Yes on everypage you go to --I went to TPortal.php and did a // on that line and the errors stoped but I do not know what else it may effect!

         $context['TPortal']['menu'][] = array(
                                'id' => $row['id'],
                                'name' => $row['value1'],
                                'pos' => $row['value2'],
                                'type' => $mtype,
                                'IDtype' => $idtype,
                                'off' => '0',
                                'sub' => $row['value4'],
//                                'icon' => $icon,
Title: Re: What does this mean
Post by: Bjørn on July 16, 2005, 10:54:52 PM
It won't break anything. :) Just not show any chosen icons.
Title: Re: What does this mean
Post by: Ray on July 17, 2005, 07:18:54 PM
oK thanks Bloc