----- Message from Michael M Slusarz <slus...@horde.org> --------- Date: Sun, 20 Jul 2014 13:06:33 -0600 From: Michael M Slusarz <slus...@horde.org> Subject: Re: [imp] trouble using IMP in "Mobile (Smartphone/Tablet) mode after upgrade to horde 5.2.0 and imp 6.2.0 To: imp@lists.horde.org
Quoting Bruno Marsal <br...@marsal.biz>:On Fri, Jul 18, 2014 at 5:04 AM, Patrick Wolf <pw...@socorro.com> wrote:When trying to open the "Mail" link on the interface the address bar changes from https://ourservername/horde/services/portal/smartmobile.php to https://ourservername/horde/services/portal/smartmobile. php#mailbox?mbox=SU5CT1g but the browser appears to just reload the screen that shows up after login. The user isn't actually taken to the mobile version of imp.I assume you are running some PHP 5.3 which has issues parsing URLs with # and ? in this specific order. Either you upgrade your PHP version or try to use this fix which worked for me... diff --git a/horde/index.php b/horde/index.php index ad2d01b..dad45f8 100644 --- a/horde/index.php +++ b/horde/index.php @@ -62,7 +62,14 @@ if ($main_page) { } elseif (($initial_app = $prefs->getValue('initial_application')) && ($initial_app != 'horde') && $registry->hasPermission($initial_app)) { - $main_page = Horde::url($registry->getInitialPage($initial_app), true); + $main_page = Horde::url(rtrim($initial_app, '/') . '/', true); } elseif ($registry->getView() == Horde_Registry::VIEW_SMARTMOBILE) { $main_page = $registry->getServiceLink('portal'); } elseif (($initial_page = $registry->getInitialPage('horde')) && This doesn't work, since the anchor information in the URL is needed to redirect to the correct mailbox. michael ___________________________________ Michael Slusarz [slus...@horde.org]
There are ways that you can run newer php without breaking things or making your server difficult to manage... on my CentOS box I updated to 5.3.28 using the ius repo, and everything works fine - still within 5.3 so no major changes to worry about. For Ubuntu there are repos like dotdeb that will help with this. Simon. -- Simon Wilson M: 0400 12 11 16
binQAU_Plgpsx.bin
Description: PGP Public Key
pgpSUHOVF8Hx4.pgp
Description: PGP Digital Signature
-- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org