Re: Pieces won't move online [oops]

[ Follow Ups ] [ Post Followup ] [ Palview Developers Forum ]
Posted by James Garner on November 14, 19102 at 13:30:30:

In Reply to: Re: Pieces won't move online [oops] posted by Rob on November 14, 19102 at 10:22:21:

The error is consistent with a failure to load the javascript file with the source line:

When I tried to load the javascript directly through the browser, the file was not found.

Check the case of the characters in the file name to see that they match the source code... Most servers are case sensitive.

Another note.
The javascript files generated for each game are identical. Since you are using a different javascript files for each game, you are unnecessarily using storage space. It would be possible to have all games pages link to the same javascript file. (i.e. pv3code.js or whatever) After loading the common script file, the only change to existing files is to modify the source above to link to the common javascript file.
(for an example, check out my site: webpages.charter.net/garner/wlcl/)

When you are comfortable with PalView and PalMate, you can use the ini file to have palview generate the file with the common script file directly. This was discussed on the forum a while back. See Eric Bentzen's post http://www.enpassant.dk/board/messages/640.htm for using an ini file with palmate.

Good Luck.


Follow Ups:
Post a Followup

Name:   
Subject:

Comments:

Optional Link URL:

Link Title:

[ Follow Ups ] [ Post Followup ] [ Palview Developers Forum ]