Unable to load dimension error

3 views
Skip to first unread message

sware

unread,
Aug 21, 2009, 2:36:50 AM8/21/09
to Gamaray
I've added the mime type for .gddf to my web server.
I've uploaded an htm file that points to a test .gddf file.
When I open the htm file with my G1 Phone browser and click on the
link to the .gddf file the gamaray app starts however it fails to load
the dimension with a "Unable to load dimension" error.

My .gddf file is a copy and paste from the first example at www.gamaray.com.
I have tried updating the <refreshUrl> value with an appropriate value
and it still fails.

htm file is: http://www.brookanna.com/ar.htm
Pointing to http://www.brookanna.com/my.gddf

Any advice please?

P.s. The gamary stuff looks very cool. Thanks for offering this.

Clayton Lilly

unread,
Aug 21, 2009, 12:25:49 PM8/21/09
to Gamaray
Thank you for reporting this issue. I think the problem might be with
your web server configuration, although Gamaray should have done a
better job of reporting the error to you. The web server is sending
back an HTTP 405 response. Basically the web server is only allowing
GET requests for the "gddf" extension, and not POST. Gamaray always
does a POST to the URL and sends additional info like longitude and
latitude. Since you have a static Dimension, you can just ignore these
POST parameters.

What type of web server are you running? Are you able to change this
type of configuration?

I might also need to consider falling back to a GET request if the
POST fails, or at least having a good error message, since this issue
could happen a lot. Thank you again for bringing this to my attention.


On Aug 21, 2:36 am, sware <scottjw...@gmail.com> wrote:
> I've added the mime type for .gddf to my web server.
> I've uploaded an htm file that points to a test .gddf file.
> When I open the htm file with my G1 Phone browser and click on the
> link to the .gddf file the gamaray app starts however it fails to load
> the dimension with a "Unable to load dimension" error.
>
> My .gddf file is a copy and paste from the first example atwww.gamaray.com.
> I have tried updating the <refreshUrl> value with an appropriate value
> and it still fails.
>
> htm file is:  http://www.brookanna.com/ar.htm
> Pointing tohttp://www.brookanna.com/my.gddf

sware

unread,
Aug 21, 2009, 7:38:43 PM8/21/09
to Gamaray
The files are served by a godaddy.com hosting account. I'm not sure
if I will be able to alter the hosting config to allow posts. If you
have any suggestions on what to look for I would appreciate it.
Perhaps it's as easy as open the permissions on the my.gddf file?
Although it's possible that my hosting account won't allow me to alter
the permissions.

Clayton Lilly

unread,
Aug 22, 2009, 12:44:22 AM8/22/09
to Gamaray
We decided to solve the problem by modifying the Gamaray client since
there will probably others in the same situation as you. If you
install version 1.0.9 your Dimension should work fine.

Also remember that you need to change the latitude and longitude in
the <location> tag to something near your own location. If you leave
it as is, you won't see much since all the objects will be in Ohio.
You can use something like http://www.findlatitudeandlongitude.com to
find your lat/lon.

Let me know if you need any more help.

sware

unread,
Aug 22, 2009, 1:07:57 AM8/22/09
to Gamaray
Well I just set up another web account (ueuo.com) that allows file
permissions changes and added a .htaccess file in a subdirectory
(important) that included the command:

AddType application/gamaray-gddf gddf

Now it works.

I'll give the new version a try on my original hosting account.

Thanks for the help debugging this. Very excited to have it working.


sware

unread,
Aug 22, 2009, 1:15:39 AM8/22/09
to Gamaray
Yep, my previous setup works now with a .gddf file without write
permission.

Note to godaddy users...

Put a web.config file in your root directory containing this to
configure the mime type:

<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".gddf" mimeType="application/
gamaray-gddf" />
</staticContent>
</system.webServer>
</configuration>

Reply all
Reply to author
Forward
0 new messages