Hi,
I have installed OX on OpenSues 11.2 via the repositoiry. There you can select the mobile gui. But if I try to connect I get :
* @author Stefan Preuss * */ session_start(); global $username, $passwd, $device, $available_modules, $module, $view, $webkit_powered_devices; include_once("config.php"); include_once("api/oxapi.php"); include_once("api/misc.php"); include_once("localization.php"); // for i18n // checking device // @todo: this should go into a temp config file which can be modified by users without the need // to modify this file!! $device = "default"; foreach ($webkit_powered_devices as $dev) { if (eregi($dev,$_SERVER['HTTP_USER_AGENT'])){ $device = "iphone"; break; } } //if (eregi('iphone',$_SERVER['HTTP_USER_AGENT']) || eregi('ipod',$_SERVER['HTTP_USER_AGENT'])) { // seems like an iphone or ipod // $device = "iphone"; //} // check login and try to authentificate user if ($_POST['cmd'] == "do_login" || $_GET['cmd'] == "do_login") { checkLogin($ox_server, $use_ssl); } include "device/".$device."/index.tmpl.php"; ?>
I also don't find anything about how to configure it.
Is it possible to use it with the community edition?
If yes, how?
Thank You
Thomas Schneider
I have installed OX on OpenSues 11.2 via the repositoiry. There you can select the mobile gui. But if I try to connect I get :
* @author Stefan Preuss * */ session_start(); global $username, $passwd, $device, $available_modules, $module, $view, $webkit_powered_devices; include_once("config.php"); include_once("api/oxapi.php"); include_once("api/misc.php"); include_once("localization.php"); // for i18n // checking device // @todo: this should go into a temp config file which can be modified by users without the need // to modify this file!! $device = "default"; foreach ($webkit_powered_devices as $dev) { if (eregi($dev,$_SERVER['HTTP_USER_AGENT'])){ $device = "iphone"; break; } } //if (eregi('iphone',$_SERVER['HTTP_USER_AGENT']) || eregi('ipod',$_SERVER['HTTP_USER_AGENT'])) { // seems like an iphone or ipod // $device = "iphone"; //} // check login and try to authentificate user if ($_POST['cmd'] == "do_login" || $_GET['cmd'] == "do_login") { checkLogin($ox_server, $use_ssl); } include "device/".$device."/index.tmpl.php"; ?>
I also don't find anything about how to configure it.
Is it possible to use it with the community edition?
If yes, how?
Thank You
Thomas Schneider
Comment