<div dir="ltr"><div>Hi,<br><br></div>Issue get fixed when I added error reporting in config file<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>Regards,<br>Lajeesh<br></div></div>
<br><div class="gmail_quote">On Wed, Apr 8, 2015 at 2:56 PM, lajeesh k <span dir="ltr"><<a href="mailto:lajeeshk@gmail.com" target="_blank">lajeeshk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Hi,<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">I have a vtiger instance which is upgraded from 5.4 to 6.2 . I have upgraded time control too. <br><br>


        
        
        
        


</span><pre><span style="font-family:arial,helvetica,sans-serif"> created missing table columns in time control
module – fields created are relatednum,relatedname table is
vtiger_timecontrol 
</span></pre><span style="font-family:arial,helvetica,sans-serif"><br></span><pre><span style="font-family:arial,helvetica,sans-serif">I gets fatal error when I clicks </span>right side links in detail view. <br>when clicking timecontrol summery, timecontrol details, invoiced on links.<br><br></pre><pre><b>Fatal error</b>:  Call to a member function getRecord() on a non-object <br>in <b>/var/www/html/2015/andrew_v62/modules/Timecontrol/views/Detail.php</b> on line <b>23<br><br></b></pre><pre>and the code which is throwing this error is <br><br>          $recordModel = $this->record->getRecord();<br>              if ($recordModel->get('date_end')=='') {<br>             $date = $recordModel->get('date_start');<br>           $time = $recordModel->get('time_start');<br>           list($year, $month, $day) = split('-', $date);<br>                list($hour, $minute) = split(':', $time);<br>             $starttime = mktime($hour, $minute, 0, $month, $day, $year);<br><br><br></pre><pre>here the first line  gives the error.<br>$recordModel = $this->record->getRecord();</pre><pre>Can anyone give me any clue for this bug<br></pre>

<br clear="all"><div><div><div><div><br>Regards,<br>Lajeesh<br></div></div>
</div></div></div>
</blockquote></div><br></div>