Quoting Michael M Slusarz <[email protected]>:

Quoting Bruno Marsal <[email protected]>:

On Fri, Jul 18, 2014 at 5:04 AM, Patrick Wolf <[email protected]> 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 [[email protected]]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Yes, we're running CentOS 6.5 with the stock php 5.3.3 . I hesitate to do a non-standard upgrade as I don't know what if anything else might break if I updated the php beyond the RHEL officially sanctioned version.

I wonder if it would be best to roll back to the previous version of Horde where this worked. Thoughts on that?

Thanks

Pat
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to