MyBB Community Forums

Full Version: Blank Pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok i only recently joined and began using this software which i must say is the best ever considering it's free, has that vBulletin feel.

anyway my problem Sad

i set my forum up and all went well. Then i made a simple HTML edit in the header template
 <li><a href="{$mybb->settings['bburl']}/portal.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_home}</a></li>
                                        <li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_forums}</a></li>

also edited the global.lang.php file to include $lang->toplinks_forums & $lang->toplinks_home.

when i returned to my index.php it was blank. Which i rally can't understand as everything i did was fine imo.

This is where it get's wierd though. Cos at work today i tried to visit the forum and it's fine. Also tried it on my mobile fine and still it's fine. Yet here at home it's all blank and when i ask some friends online to check it they all say it's blank too

any idea's?

cheers Smile

oh the link www.dava02.f2s.com/ffooty/index.php
Hi please attach (don't copy and paste!) your global.lang.php file here
sorry my bad
i must have edited my original copy of global.lang.php by mistake so when i've been uploading it i still get same problem
i re-downloaded the package and uploaded the now fresh global.lang.php and all is fine

thnx anyway sorry for the trouble
still strange how that small edit messed things up. I'll look into it some more Smile
You probably made a php syntax error, so I was just going to fix it for you. What did you change in the file?
all i did was add

$l['toplinks_home'] = "Home";
$l['toplinks_forums'] = "Forums";

below
$l['toplinks_help'] = "Help";

as i was just creating some links in the header.
Although my editor for some reason created some spaces at bottom of file which resulted in an error. Somehow i overwrote my original file too. So when i was reverting everything back i actually wasn't. Had me stumped too
What program did you use to edit the files?
just notepad i think
i just hit edit via flashfxp which i think then opens the files in notepad.
Never had any problems doing it this way with vBulletin which is why i found it strange

oh well you learn by making mistakes Smile
Ah yes, usually notepad creates these problems. They add blank spaces before <?php which in turn creates a whole array of problems. Next time I recommend using wordpad or another editor
Dreamweaver's a good one too
Dishin Nutrition Wrote:Dreamweaver's a good one too

Of course if you shell out money to buy it. Crimson Editor, Notepad++ are free Smile