Hi,
I've been making edits from a copy of the default template Login.template.php, however I am getting quite a few errors in my error log that don't seem to be making sense. I was wondering if anyone else experienced any problems like this in the past.
The errors are similar to the following
8: Undefined index: never_expire
File: /webdir/Themes/themedir/Login.template.php
Line: 142
There are also similar errors with default_password and default_username. All of these are used in the $context variable similar to $context['never_expire']
I have tried setting these in the start of the function using
if (!isset($context['never_expire'])
$context['never_expire'] = '';
The above doesn't seem to fix any of the problems.
I appreciate any help.
Thanks,
Brent
Maybe post your file so people can take a look.
I've attached my template file. Any help is appreciated.
Thanks.
Line 142 doesn't have an $context['never_expire'], I'd guess the error appeared before you added/removed some other piece of code. Can you check if you have any new error with the "correct" position?
Otherwise you should attach the file before your changes. ;)
Sorry, yes. The new line numbers are 131 and 127 for never_expire.
Can you attach also the LogInOut.php that you can find in the Sources directory?