Jump to content
TNG Community

Help I've lost the formatting......


Badger

Recommended Posts

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.php

Please help..... :-(

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

<?php

include("../../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??

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...