Welcome, Guest
Username Password: Remember me

Components fails to work with Iphone
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Components fails to work with Iphone

Components fails to work with Iphone 12 years, 8 months ago #8165

  • on4bam
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi,

I had this component working on our club's website (J2.5.3) and got a report from an Iphone user that after filling in his login/pass he's getting a 404 error, component not found. (on6wl.be/index.php?device=iphone)
If I log on in the desktop version (on my PC) and enter the above link, I can use the Iphone version, so it's the registration/login procedure that's not working.
All seems OK on a Windows 6.5 mobile smartphone and also on Android all is well.

When checking this out I found that I had 4 instances of each template with the same ID number in the Templates/styles section in the admin part of the site. Removing 1 of them removed all 4 so I uninstalled MobileJoomla, cleared all cache and reinstalled again. Still the Iphone problem persists.

Any idea where to fix this (all settings are "default" at the moment.

Thanks.
Maurice.

Re: Components fails to work with Iphone 12 years, 8 months ago #8263

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
The issue will be fixed in MJ 1.0.3.
Last Edit: 12 years, 8 months ago by dryabov.

Re: Components fails to work with Iphone 12 years, 8 months ago #8264

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105

Re: Components fails to work with Iphone 12 years, 7 months ago #8910

Hi, the patch partially works as it's possible to login, but... there is an error massage (invalid token) when the user is trying to logout. Any ideas how to fix it?

Re: Components fails to work with Iphone 12 years, 6 months ago #9542

  • tpepernic
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Same problem here. I get invalid token with logout. Anyone with ideas?

Re: Components fails to work with Iphone 12 years, 4 months ago #10424

  • gcomo01
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
hi,
tried it and it work .. you need to add the
<?php echo JHtml::_('form.token'); ?>
line even for the logout part not only login like in the patch .. bottom line the code below (I am using elegance template):


<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')));
endif; ?>
</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>

hope this helps
G

Re: Components fails to work with Iphone 12 years, 4 months ago #10425

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Fixed in repository, thank you very much!
  • Page:
  • 1
Time to create page: 0.10 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.