1

Topic: All formating lost

I'm sorry if this has been posted here. I searched through pages of this troubleshooting forum and couldnt find anything. Onto the problem:

All formatting on my forums and frontpage have been lost.

http://valormadereal.info/forum.php

it doesn't matter what style i'm using. I have already re-uploaded the styles directory and all style sheets. The install is a standard package of PunBB with frontpage, we havn't done any modding to it yet. Any ideas would be appreciated.

Re: All formating lost

I can't load the site at all

3

Re: All formating lost

odd, maybe the isp is having issues. will update later

Re: All formating lost

It loads now
Did you edit your main.tpl? It looks like you're missing a whole bit of the header, including the part that loads the stylesheet

5

Re: All formating lost

Correct. Most of the bits of the page that are really needed just aren't there. It looks to me as if header.php simply isn't getting included.

6

Re: All formating lost

re-uploaded header.php and main.tpl

nothing

Re: All formating lost

Can we see your main.tpl?

8 (edited by Asmo 2006-08-31 17:21)

Re: All formating lost

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="<pun_content_direction>">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
    <pun_head>
    <style type="text/css">
        #left {
            width: 140px;
            float: left;
        }
        #main {
            margin-left: 150px;
        }
        #container {
            width: 100%;
            float: right;
            margin-left: -140px;
        }
    </style>
</head>

<body>
    <div id="punwrap">
    <div id="pun<pun_page>" class="pun">
    
    <div id="brdheader" class="block">
        <div class="box">
            <div id="brdtitle" class="inbox">
                <pun_title>
                <pun_desc>
            </div>
            <pun_navlinks>
        </div>
    </div>
    
    <div id="container">
        <div id="main">
            <pun_status>
            <pun_announcement>
            <pun_advertisement>
            <pun_information>
            <pun_guest_information>
            <pun_main>
        </div>
    </div>
    
    <div id="left">
        <pun_sidelinks>
        <pun_artcatbox>
        <pun_userbox>
        <pun_toppost>
        <pun_online>
    </div>
    
    <div class="clearer"></div>
    
    <pun_footer>
    
    </div>
    </div>
</body>
</html>

I appreciate the help

9 (edited by Asmo 2006-08-31 18:37)

Re: All formating lost

oddly enough the screen that re-directs you after you post has proper formatting.

Re: All formating lost

I bet you somewhere in all your modding (header.php or footer.php most likely) you put in an extra line for $tpl_main = when you really wanted $tpl_main .=

Re: All formating lost

Smartys wrote:

I bet you somewhere in all your modding (header.php or footer.php most likely) you put in an extra line for $tpl_main = when you really wanted $tpl_main .=

That's the most likely answer indeed. I'd say check if your host supports CSS, but since the redirect page works fine, that can't be it.

12

Re: All formating lost

gentlmen, thank you. It was footer.php

I uploaded the default and it was 2 bytes off when it asked for the over-write. so that means the file had changed. Thing was, i never touched any file for modding. Oh well, perhaps it got currupted somehow. Thanks for the help.