normal installation

More
11 years 8 months ago #2120 by Linh Robert
Replied by Linh Robert on topic Re: installation

erikken wrote: I modified the script as mentioned and now i get

Parse error: syntax error, unexpected $end in /home/ticop/public_html/templates/ot_ante/html/mod_login/default.php on line 38


the issue moved to line 38


How strange! Please make sure you have not "endif" missing.
Or you can paste REPLACE ALL code of file with this:
Code:
<?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <?php if ($type == 'logout') : ?> <form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form"> <?php if ($params->get('greeting')) : ?> <div class="login-greeting"> <?php if($params->get('name') == 0) { echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('name'))); } else { echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('username'))); } ?> </div> <?php endif; ?> <div class="logout-button"> <input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGOUT'); ?>" /> <input type="hidden" name="option" value="com_users" /> <input type="hidden" name="task" value="user.logout" /> <input type="hidden" name="return" value="<?php echo $return; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> <?php else : ?> <?php $usersConfig = &JComponentHelper::getParams( 'com_users' ); if ($usersConfig->get('allowUserRegistration')) : ?> <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=registration' ); ?>"> <?php echo JText::_('REGISTER'); ?> </a> <span>|</span> <?php endif; ?> <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=login' ); ?>"> <?php echo JText::_('LOGIN') ?> </a> <?php endif; ?>

Thanks

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #2123 by Enrique Dixon
Replied by Enrique Dixon on topic Re: installation
Let me tell you, that did the trick, it is now working
thanks a lot

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam