Newbies webed1950 Posted March 16, 2004 Newbies Posted March 16, 2004 I have set up a simple DB and I'm trying to get it online. I've done this before and have not run into this problem before. The relative references within the files keep getting messed up. I can go through the page and all is fine (the Js & CSS files all connect) then after I edit a file, and try to come back to a "browse" page there's an extra folder added to the paths so the format file still loads, but none of the Js or CSS work! Any ideas on what's going on? All the files (DB, html, css, js) are in the Web folder of FMPro, and it connects to the web just fine - then it falls apart. The DB is at mullindesigns.com:591/mason/ Thanks for any suggestions. Ed Mullin Version: v6.x Platform: Mac OS X Panther
Garry Claridge Posted March 16, 2004 Posted March 16, 2004 I see that the URLs are mixing between: mullindesigns.com:591/FMPro?-db=News.fp5&-lay=general&-format=Mason/News.html and mullindesigns.com:591/mason/FMPro?-db=News.fp5&-lay=general&-format=News.html You may need to check where the change is happening. Good Luck. Garry
Newbies webed1950 Posted March 16, 2004 Author Newbies Posted March 16, 2004 Right, I have tried tracking that and I can't see anything. It seems to happen after I edit a record. Is there some variable or tag I need to be passing or something? This thing is driving me nuts! and I can't find a decent reference book on this either! Thanks, Ed
Garry Claridge Posted March 16, 2004 Posted March 16, 2004 We may need to have a look at your "edit" page to see what is happening! What does this line look like: <input type="hidden" name="-format" value="mynextpage.html"> or <input type="hidden" name="-format" value="mason/mynextpage.html"> or <input type="hidden" name="-format" value="/mason/mynextpage.html"> All the best. Garry
Steve T. Posted March 17, 2004 Posted March 17, 2004 Yes, it could also be the FORM tag, too. I didn't check your site, but we used to have similar problems... <FORM ACTION="http://yoursite.com/mason" METHOD="post"> <FORM ACTION="http://yoursite.com" METHOD="post"> We try to use the former now and have each subsite's paths relative to that as though it were the main root Web folder. We got confused when we were putting the directory paths in the -format lines. --ST
Recommended Posts
This topic is 7548 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 accountSign in
Already have an account? Sign in here.
Sign In Now