Bug repport default_login.php

Sep '13 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Jul 12, 2014 12:49 pm
Reply with quote
Report this post
Hello,

After a new installation of this template on Joomla 3.3.1, I got this error on the login form:

Code: Select all
Parse error: syntax error, unexpected $end in /home/myjoom45/public_html/templates/gk_cloudhost/html/com_users/login/default_login.php on line 87


I search in the code and the error come from :

Code: Select all
         <?php if ($this->tfa): ?>
         <?php if (!is_null($tfa) && $tfa != array()): ?>

Simply remove the first test, I presume is a developer mistake the first test gave a notice warning, and you added the second one, without removing the first test...

The result is:
Code: Select all
         <?php if (!is_null($tfa) && $tfa != array()): ?>


;)

Cédric
User avatar
Fresh Boarder

GK User
Sun Jul 13, 2014 10:44 am
Reply with quote
Report this post
Thanks for the report. Ill forward it to our devteam.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.