Badger Posted May 14, 2006 Report Share Posted May 14, 2006 OK..... I'm in the throws of moving my site from a server in my garage across to SimplyHosting and as a whole not too bad... a few links to re-attach & some name changes to files and space removal (Windows to Linux).I have come across one major problems though with the php page I use for displaying census info.... If I have the file in the root: e.g http://www.dawesgenealogy.co.uk/census.php then all is ok but due to te quantity that I have I have found it easier to have it....... histories>1901 census>1901_name.php It is these that fail ... see here http://www.dawesgenealogy.co.uk/histories/...901_TSDawes.phpPlease help..... :-( Quote Link to comment Share on other sites More sharing options...
waltreams Posted May 14, 2006 Report Share Posted May 14, 2006 It looks like you are losing your css. Have you tried absolute reference to the css file instead of relative - or adding the extra ../ to the relative path? Quote Link to comment Share on other sites More sharing options...
Badger Posted May 14, 2006 Author Report Share Posted May 14, 2006 It looks like you are losing your css. Have you tried absolute reference to the css file instead of relative - or adding the extra ../ to the relative path?For this page I have: http://www.dawesgenealogy.co.uk/histories/...nsus/census.php<?phpinclude("../../begin.php");include($cms[tngpath] . "../../genlib.php");include($cms[tngpath] . "../../getlang.php");include($cms[tngpath] . "../../$mylanguage/text.php");tng_db_connect($database_host,$database_name,$database_username,$database_password) or exit;include($cms[tngpath] . "../../checklogin.php");include($cms[tngpath] . "../../functions.php");Is his what you mean?I worked fine when running on a Windows Server?? Quote Link to comment Share on other sites More sharing options...
waltreams Posted May 14, 2006 Report Share Posted May 14, 2006 Looking at your page source, it is looking for the genstyle.css file in the same directory. Also, it looks like you have spaces in the directory name. Try replacing the spaces with underscores - that may be why the nix server is having indigestion. If that doesn't work, make a copy of genstyle.css in the 1901 Census directory. Quote Link to comment Share on other sites More sharing options...
Badger Posted May 14, 2006 Author Report Share Posted May 14, 2006 As a quick & easy interim solution, I copied over the genstyle.css & this worked.Thanks for all your help Simon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.