Jump to content

WebCompanion & CDML tags showing on Win2000


This topic is 8434 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi there, I am running FileMakerPro 5 on Windows2000 with Web Companion enabled. Instant web publishing works fine. I have my port set to 100. When I try running non-Instant pages either my CDML tags show in the resulting IE output or else I get an error.

This URL: http://24.114.204.188:100/NewSightings/new.htm

gives me the CDML tags showing in my browser output.

This URL: http://24.114.204.188:100/NewSightings/FMPro?-db=Sightings&-lay=web&-format=new.htm-view

gives me Unexpected Error ... Error Number 4. I cannot find it in the FMP help. I've reviewed the Web Publishing Troubleshooting topic. Maybe it has something to do with Win2000 Service Pack 2 which I installed recently? Any other ideas? Anybody else ever see this? Strange that instant publishing will work on port 100... Thanks. shocked.gif" border="0

Link to comment
Share on other sites

Port 100 is strange, but not a factor. The page you get to needs to be a result of a FMP function - that's why the first link doesn't work.

Your second URL string is close, but the path within the web directory (NewSightings) doesn't go before the FMP call (FMPro?) but in the format path. The other problem is that you need an ampersand before the action (-view).

This one works: http://24.114.204.188:100/FMPro?-db=Sightings&-lay=web&-format=NewSightings/new.htm&- view

[ June 01, 2001: Message edited by: dspires ]

Link to comment
Share on other sites

Not quite.

The path to unique project folders (within the Web folder within the FileMaker Pro folder) should be in the -FORMAT tag ***NOT*** in the FleMaker Pro path (http://**your IP**/FMPro?). To do so might work if all you have is a single project, but will get you into problems if you move beyond a single project folder.

Refer to the CDML reference for the format tag:

**Value is Path and name to the format file to use to display the response.**

Link to comment
Share on other sites

dspires

Either path position will work. However, putting the path before the FMPro? action sets the base url for all subsequent browser links, and works better.

An example; I used the path in the format code once, and the actions all worked well, but whenever the web page had links on it, the link was recolved to the root of the server, not the specific directory. Very funny de-bugging that one.

Link to comment
Share on other sites

I run 14 websites using fmpro on my server, if i put the directory in the format link then I would have to remember to do it for every link in the one website. If i put it before the fmpro part i only have to do it the once when i call up the home page then every link knows which folder to use for the format files. I think you will find that this is much more efficient. Please steve use my version I promise. You will also find that all your pictures would then have to be recoded as they will lose all the links to them as well. (I have just tried this on one of my sites).

Anyway I guess you have solved your problem by now. But hope this helps others

Simon

Link to comment
Share on other sites

This topic is 8434 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.