Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-13 Thread Jackie Ng
This function is defined in the MapGuide API PHP extension
(php_MapGuideApi.dll), which should be present in your PHP installation that
is bundled with MapGuide.

Making a request to a PHP script that has this code:



Should show in the rendered PHP information page that this extension is
listed and installed.

Which begs the question, when you say

"I also installed php on the iis"

Did you install PHP via the MapGuide installer and chose IIS / PHP when
prompted in the installer?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5205566.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-12 Thread Jackie Ng
As a general rule, set display_errors = On in php.ini and restart the web
server if you ever want to get anything meaningful than a http 500 server
error and nothing else from your PHP scripts.

Then turn it back off when you've figured out whatever problem it is so your
PHP install does not reveal too much information about your system and
applications in its error messages.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5205384.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-12 Thread Jackie Ng
The Fusion front end is all JavaScript, but it still needs to make AJAX
requests into the backend to tell the MapGuide server to do XYZ. That
CreateSession.php is one of many PHP scripts on the backend.

PHP should work by default out of the box regardless of whether you have IIS
or Apache. If it's not, something serious broke with your particular
installation.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5205358.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-12 Thread Jackie Ng
You MapGuide installation seems broken and may require re-installation. That
CreateSession.php URL should not 404.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5205344.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-08 Thread Jackie Ng
Put your IIS worker process (w3wp.exe) under SysInternals Process Monitor and
take a look at where it is trying to look for this missing
WebUnmanagedApi.dll. Because it should be looking at your web application's
output (bin) directory (that the nuget package should automatically copy to
when you build).

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5204837.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Visual studio 2012/2013 Examples

2015-05-08 Thread Jackie Ng
Here's an ASP.net MVC example I banged up:

https://github.com/jumpinjackie/mapguide-mvc-sample

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Visual-studio-2012-2013-Examples-tp5204601p5204831.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users