8: Undefined index: curr_time Error

Started by meemzo, September 16, 2014, 12:42:37 PM

Previous topic - Next topic

meemzo

Where do I find the file that needs to be uploaded here?

Ninja ZX-10RR

On the server that is hosting you, access it via cPanel or either FTP, doesn't matter as long as you access it :P
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

meemzo


Ninja ZX-10RR

Now it's up to some coder since I can't fix it. It will be fixed anyway :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

meemzo

Looks like the bug is in the display user name and time current time line:

// Display user name and time.
   echo '
      <ul id="greeting_section" class="reset titlebg2">
         <li id="time" class="smalltext floatright">
            ', $context['curr_time'], '
            <img id="upshrink" src="', $settings['images_url'], '/upshrink.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
         </li>';

   if ($context['user']['is_logged'])
      echo '
         <li id="name">', $txt['hello_member_ndt'], ' <em>', $context['user']['name'], '</em></li>';
   else
      echo '
         <li id="name">', $txt['hello_guest'], ' <em>', $txt['guest'], '</em></li>';

   echo '
      </ul>';

   if ($context['user']['is_logged'] || !empty($context['show_login_bar']))
      echo '
      <div id="user_section" class="bordercolor"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
         <div class="windowbg2 clearfix">';

   if (!empty($context['user']['avatar']))
      echo '
            <div id="myavatar">', $context['user']['avatar']['image'], '</div>';


Found it but I have no idea what it means.  :P

Ninja ZX-10RR

I have an idea but I can't code a fix for it :/
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Night09

Not 100% sure but Edit:

', $context['curr_time'], '

to say

', $context['current_time'], '

Illori

Quote from: Night09 on September 19, 2014, 05:14:03 PM
Not 100% sure but Edit:

', $context['curr_time'], '

to say

', $context['current_time'], '

according to my files that should fix it.

meemzo

Thank you Ninja ZX-10RR for lighting the fire under my butt to get this fixed.  And also just the overall support the last few days.  My offer for a box of chocolates still stand.  ;)

And thank you Night09 that did the trick.  ;D

Ninja ZX-10RR

Go on with the other problems as there are many others, the database collation will be particularly annoying to explain you how to get rid of that... But it can be done :) and also the other errors, even if I didn't have a look at all of them, I was never asked to do it so I couldn't do it since it is your stuff and I have no rights to touch it unless you say so.

And by the way you're welcome :D how could you send me a box of chocolate anyway? :P Well I would eat that with my gf ^^
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Advertisement: