[mapguide-users] Authentifcation dialog shows on mapguide-rest request

Alen alen.kelemen at edc.hr
Sat Aug 16 00:34:07 PDT 2014


In 0.9  URL 
http://localhost/mapguide/rest/library/Samples/Sheboygan/Data/Parcels.FeatureSource/features/SHP_Schema/Parcels?maxfeatures=1000

throws error:

Slim Application Error
The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: Cannot modify header information - headers already sent by (output
started at C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php:87)
File: C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php
Line: 94
Trace

#0 [internal function]: Slim\Slim::handleErrors(2, 'Cannot modify h...',
'C:\Program File...', 94, Array)
#1 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(94):
header('Content-Type: t...')
#2 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(171):
MgHttpChunkWriter->StartChunking()
#3 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\util\readerchunkedresult.php(270):
MgReaderChunkedResult->OutputXml(Object(mgfeatureschemacollection))
#4 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\controller\featureservicecontroller.php(801):
MgReaderChunkedResult->Output('xml')
#5 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\app\routes\routes.library.php(506):
MgFeatureServiceController->SelectFeatures(Object(mgresourceidentifier),
'SHP_Schema', 'Parcels', 'xml')
#6 [internal function]: {closure}(Array, 'SHP_Schema', 'Parcels')
#7 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Route.php(462):
call_user_func_array(Object(Closure), Array)
#8 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Slim.php(1326):
Slim\Route->dispatch()
#9 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\Flash.php(85):
Slim\Slim->call()
#10 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\MethodOverride.php(92):
Slim\Middleware\Flash->call()
#11 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67):
Slim\Middleware\MethodOverride->call()
#12 C:\Program Files
(x86)\OSGeo\MapGuide\Web\www\rest\vendor\slim\slim\Slim\Slim.php(1271):
Slim\Middleware\PrettyExceptions->call()
#13 C:\Program Files (x86)\OSGeo\MapGuide\Web\www\rest\index.php(133):
Slim\Slim->run()
#14 {main}



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Authentifcation-dialog-shows-on-mapguide-rest-request-tp5156442p5156687.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list