Hi,
I’m trying to follow the pace the Code Corner is giving. I’m stuck at day
two trying to get modular approach to work.
My index.php is like this:
/<?php
The leading slash is the problem, (redirect-)header can only be send,
before regular output starts, as the error-message states.
Ralf
$GLOBALS[‘egw_info’] = array
(‘flags’ => array
(‘currentapp’ => ‘testapp’,
‘noheader’ => False,
‘nonavbar’ => False));
include(’…/header.inc.php’);
$GLOBALS[‘egw’]->redirect_link(’/index.php’,
‘menuaction=testapp.testapp_ui.showintererface’);/
When I want to access my app whithin eGroupware I get this error message
displayed:
/egw::redirect(’/egroupware/index.php?menuaction=testapp.testapp_ui.showintererface’)
can NOT redirect, output already started at
/usr/share/egroupware/phpgwapi/inc/class.common.inc.php line 1033!/
If I change the flags ‘noheader’ and ‘nonavbar’ to true I’m stuck on the
home page and nothing will happen.
I hope you can provide me some advice.
Thanks in advance.
Dennie
–
View this message in context: http://egroupware.219119.n3.nabble.com/First-Steps-into-Applications-Development-for-eGroupware-tp3648824p3648824.html
Sent from the egroupware-developers mailing list archive at Nabble.com.
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
Commerzbank BLZ 55040022 | Account 218111300
IBAN DE33 5504 0022 0218 1113 00 | BIC COBADEFFXXX
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers