News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 21, 2019, 06:57:56 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188927
  • Total Topics: 20755
  • Online Today: 101
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 4
Guests: 62
Total: 66

Author Topic: [Tip] Create a 404 Not Found Page  (Read 20369 times)

0 Members and 1 Guest are viewing this topic.

Offline Mick

  • Sr. Member
  • ****
  • Posts: 318
  • I use SMF 2.0.15
    • idesignSMF.com
Re: [Tip] Create a 404 Not Found Page
« Reply #10 on: April 13, 2010, 06:16:54 PM »
Here's mine, it's very much like yours.  O0

http://www.ourfamilyforum.org/FamilyForum/index.php?page=208

That's great Ken., looks good!

Offline Ken.

  • Support Team
  • *
  • Posts: 4344
    • Our FamilyForum
Re: [Tip] Create a 404 Not Found Page
« Reply #11 on: April 13, 2010, 06:21:58 PM »
I can't stop adding to it... go back in a day or so and it will likely be three pages long.  :o

----------------------------------------------------
" If everything seems under control, you’re not going fast enough." - Mario Andretti  ^-^

Offline Mick

  • Sr. Member
  • ****
  • Posts: 318
  • I use SMF 2.0.15
    • idesignSMF.com
Re: [Tip] Create a 404 Not Found Page
« Reply #12 on: April 13, 2010, 06:37:57 PM »
I can't stop adding to it... go back in a day or so and it will likely be three pages long.  :o

lol..... i hear ya.

btw,  check the div's,.... the footer looks broken,.

Offline Ken.

  • Support Team
  • *
  • Posts: 4344
    • Our FamilyForum
Re: [Tip] Create a 404 Not Found Page
« Reply #13 on: April 13, 2010, 07:24:30 PM »
Umm... not seeing the problem, here's my code:

Code: [Select]
<table cellspacing="1" cellpadding="1" border="0" align="" width="100%" summary="">
    <tbody>
        <tr>
            <td style="text-align: center;"><img src="http://www.ourfamilyforum.org/FamilyForum/MGalleryItem.php?id=7" alt="Page Not Found" /></td>
            <td style="text-align: center;">
<p style="text-align: left"> <br />
            <font size="3"><span style="color: rgb(255, 0, 0); font-weight: bold;">Wow you found our 404 Error Page!!! </span></font><br /><br />

I've been looking for this page ever since i first created it way back in the spring of 2010!  <img src="http://www.ourfamilyforum.org/FamilyForum/Smileys/default/08.gif" alt="Big Grin" /><br />

Sadly, even though you found this page, I seem to have also misplaced the page you were looking for.<br /><br />

You may have stumbled into this 404 "Not found" page on Our FamilyForum for a variety of reasons:<br />

    * A mistyped URL, or a copy-and-paste mistake<br />
    * Broken or truncated links on web pages or in an email message<br />
    * Moved or deleted content<br /><br />
You can click on one of the buttons at the top of this page, or...<br />
Try this link, it should take you to our Home page: <a href="http://www.ourfamilyforum.org/FamilyForum/index.php">www.ourfamilyforum.org</a></td>
        </tr>
    </tbody>
</table>
<script type="text/javascript">
  var GOOG_FIXURL_LANG = 'en';
  var GOOG_FIXURL_SITE = 'http://www.ourfamilyforum.org'
</script> <script type="text/javascript"
  src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script></td>
        </tr>
    </tbody>
</table>

----------------------------------------------------
" If everything seems under control, you’re not going fast enough." - Mario Andretti  ^-^

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: [Tip] Create a 404 Not Found Page
« Reply #14 on: April 13, 2010, 07:34:13 PM »
Ken,

Well, you definitely have one too many closing td tags.  The second one from the bottom is probably the culprit ...
Code: [Select]
Try this link, it should take you to our Home page: <a href="http://www.ourfamilyforum.org/FamilyForum/index.php">www.ourfamilyforum.org</a></td>

ZP

Offline Mick

  • Sr. Member
  • ****
  • Posts: 318
  • I use SMF 2.0.15
    • idesignSMF.com
Re: [Tip] Create a 404 Not Found Page
« Reply #15 on: April 13, 2010, 08:00:05 PM »
Ken, the footer from the 404 page looks different than the forum or front page.

Offline Ken.

  • Support Team
  • *
  • Posts: 4344
    • Our FamilyForum
Re: [Tip] Create a 404 Not Found Page
« Reply #16 on: April 13, 2010, 08:13:12 PM »
Removing the td tag didn't seem to change anything.

----------------------------------------------------
" If everything seems under control, you’re not going fast enough." - Mario Andretti  ^-^

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: [Tip] Create a 404 Not Found Page
« Reply #17 on: April 13, 2010, 08:26:41 PM »
Ken,

The actual code in the article works fine on my site ...
http://talesofthehavenexpanse.com/smf2test/index.php?page=15

I don't see anything like this on your site though.  I only see the header and the footer, nothing in between.

ZP

Offline Mick

  • Sr. Member
  • ****
  • Posts: 318
  • I use SMF 2.0.15
    • idesignSMF.com
Re: [Tip] Create a 404 Not Found Page
« Reply #18 on: April 13, 2010, 08:36:59 PM »
Ken,

The actual code in the article works fine on my site ...
http://talesofthehavenexpanse.com/smf2test/index.php?page=15

I don't see anything like this on your site though.  I only see the header and the footer, nothing in between.

ZP

It looks like it broke your footer too.

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: [Tip] Create a 404 Not Found Page
« Reply #19 on: April 13, 2010, 08:41:15 PM »
Hmmm, yep, you're right, it sure do, don't it. :buck2: Definitely some bad code.  I'll take a look at it here a little later if you guys don't figure it out.

ZP