TinyPortal

Development => Support => Topic started by: PHXMaximus on October 18, 2009, 06:39:43 AM

Title: wap2
Post by: PHXMaximus on October 18, 2009, 06:39:43 AM
Hello friends,

I did a search, but was unsuccessful in finding an answer to my questions about mobile access.

When I access my site using my mobile device, my forums work fine. However, if I hit LOGOUT, I get the following error;

"Unable to verify referring url. Please go back and try again."

Second, when I click "up one level," all that comes up is a blank page with the tiny portal copy right.

Any help you can provide, will be greatly appreciated.

I am using smf 1.1.10 and TP 1.0 beta 4 and the default theme.

Here is my mobile site so you can see for yourself.

I wouldn't mind if the "up one level" just went back to the forum index.

Thanks!

Justin
Title: Re: wap2
Post by: IchBin on October 18, 2009, 03:31:27 PM
Looks like you left the link out of your post?
Title: Re: wap2
Post by: Erwin- on October 18, 2009, 04:40:37 PM
My first impression is that you have a wrong in your coding for the logout.
Unable to verify referring url means that the link is wrong and isn't recognized.
If you hover over the logout link, what website-link does it give?

Original logout (default theme):

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Title: Re: wap2
Post by: PHXMaximus on October 18, 2009, 04:54:51 PM
Oh I am so sorry about that! Here is the WAP2 link to my site;

http://www.clan-phx.com/index.php?action=forum;wap2.

Here is what it gives for logout;

http://clan-phx.com/index.php?action=logout;sesc=b17e2d5fe03984a69d559a88f3e973d0;wap2
Title: Re: wap2
Post by: ZarPrime on October 18, 2009, 05:38:33 PM
PHXMaximus,

OK, seems like this might be a bug in TP 1.0 beta 4.  It is also happening in beta 5 so I will place this into the bugtracker.  You will have to wait until Bloc has a chance to look at it and come up with a fix.

Let me ask you this.  When you logout on your site, in regular mode, does that take you to the Forum or to the Front Page?

ZarPrime
Title: Re: wap2
Post by: PHXMaximus on October 18, 2009, 05:44:00 PM
Ok thank you for the info. :)
Title: Re: wap2
Post by: ZarPrime on October 18, 2009, 05:57:54 PM
Read my edit in my last post.

ZP
Title: Re: wap2
Post by: PHXMaximus on October 18, 2009, 07:38:42 PM
It takes me to the forum.
Title: Re: wap2
Post by: ZarPrime on October 19, 2009, 02:37:16 AM
OK, thanks.  I'm going to test this on a couple more Forums just to be sure and then I;ll put it in the bugtracker.

ZarPrime
Title: Re: wap2
Post by: PHXMaximus on October 19, 2009, 03:08:03 AM
Awesome thanks! More important to me than the log out, is the "up one level" going to a blank page. The logout isn't necessarily something needed, but being able to get back to the forum index would be cool. Thanks for all your help!