Opened 17 years ago
Closed 17 years ago
#260 closed defect (fixed)
WebStudio Login: Unknown Error
Reported by: | adjones | Owned by: | zjames |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Web Studio | Version: | 1.2.0 |
Severity: | major | Keywords: | web studio login |
Cc: | External ID: |
Description
I checked for this error in the Users Mailing list and found one other person with this issue but it was unresolved.
When I attempt to log in to Web Studio using v1.2 I receive a LONG Javascript error, which fist reports 'Unknown error occurred with status 0 and message' and then follows a large bit of code. I have posted a screenshot in the user mailing list so here is the link to the image...
http://www.nabble.com/file/p12656267/WebStudioLoginError.JPG
I have seen the previous tickets on web studio login issues and have tried both the localhost and 127.0.0.1 site addresses.
I have had this error on two of our machines, one running Windows XP SP2 (development machine) and the other Windows Server 2003 R2 (test staging server). The I am currently running MapGuide Server (Version 1.2.0.1801) and I can access the Site Administrator and use the ajaxviewer example fine. I have the same issue whether using IE6 or Firefox. I have also tried it both on an off networks but I can't see how this would make a different.
Change History (9)
comment:1 by , 17 years ago
Summary: | WebStudio Login: Unknown JavaScript Error → WebStudio Login: Unknown Error |
---|
comment:2 by , 17 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 17 years ago
Hmm... I am using IIS. I ran the .Net installation of the WebserverExtensions.
comment:4 by , 17 years ago
Can you try adding the PHP API to your installation alongside .Net? I believe the installer allows you to do that.
comment:6 by , 17 years ago
I'm not sure of the details of setting up PHP support in IIS. If you place a text file with the content
<?php phpinfo(); ?>
at c:\Program Files\MapGuideOpenSource\WebServerExtensions\www\phpinfo.php
and then access localhost:<IIS port>/mapguide/phpinfo.php you can test whether php is being interpreted or just served as text.
comment:8 by , 17 years ago
Following is a posting on the users list. Does this solve your problem? I had success solving this problem by changing my url structure to load Webstudio.
When I first started using MGOS I would navigate in Windows Explorer to...
C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\webstudio\ and click on either index.html or launch.html. However I would always get the long nasty looking PHP error you see when I tried to log in. I solved this by using the URL to get to this.
http://localhost:8008/mapguide/webstudio/
and I could log on successfully. I hope that helps.
- Trent
comment:9 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks you very much for this Trent. I was not aware that I had to access it through IIS too! Is there any documentation on Web Studio that mentions this?
Webstudio is dependent on php being configured on the web server. For the web previews to work, you also need the php version of the viewer. Are you using IIS or Apache?