Page 5 of 26 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ... LastLast
Results 61 to 75 of 376
Like Tree7Likes

Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it.

This is a discussion on Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it. within the Member Articles forums, part of the Focus on Members category; you need to close the php tag <?php //code here ?> <--- missing this...

  1. #61
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    you need to close the php tag

    <?php

    //code here

    ?> <--- missing this

  2. #62
    Senior Member sportsmedjosh's Avatar
    Real Name
    Josh
    Join Date
    Jan 2007
    Posts
    404
    Liked
    0 times
    Thanks brian.
    It may be best to not listen to anything I say for advice. :spin:

  3. #63
    Senior Member sportsmedjosh's Avatar
    Real Name
    Josh
    Join Date
    Jan 2007
    Posts
    404
    Liked
    0 times
    done! Thanks guys!
    It may be best to not listen to anything I say for advice. :spin:

  4. #64
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    I keep getting an error...strange, everything is correct, too.

  5. #65
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    What is the error you get?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #66
    Senior Member Citricguy's Avatar
    Real Name
    Josh
    Join Date
    Nov 2006
    Location
    Maui, Hawaii
    Posts
    143
    Liked
    0 times
    Blog Entries
    7
    This works amazingly (I threw in a custom google search box w/ ad's too ) Quick question though, how can I make it say in "Who's Online"

    Viewing Error Page instead of Unknown Location?

  7. #67
    Senior Member MadK's Avatar
    Real Name
    Leo
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    140
    Liked
    0 times
    Blog Entries
    2
    Thank you, works great!

  8. #68
    Member
    Real Name
    Bob
    Join Date
    Jun 2008
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    Ah yes, after looking into the code it may not work. My sites all have CMPS and forum both in the root, so it's not an issue. misc.php attempts to look for global.php in the current directory, so it's not finding it when called from the root of your site.
    I tried adding
    ErrorDocument 404 /forums/404.php
    to my root .htaccess and it still doesn't load the php.

  9. #69
    Senior Member jw00dy's Avatar
    Real Name
    Jonathan
    Join Date
    Dec 2006
    Location
    Tooele, UT
    Posts
    184
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    Ah yes, after looking into the code it may not work. My sites all have CMPS and forum both in the root, so it's not an issue. misc.php attempts to look for global.php in the current directory, so it's not finding it when called from the root of your site.
    Did you ever figure out a work around for this? Actually since it wasn't a problem for you, I'll as it this way... Did anyone that has this problem find a solution?
    allthingsmoto.com & bodynspirit.net vBSEO Optimized

  10. #70
    Member
    Real Name
    Peter
    Join Date
    Jun 2007
    Location
    Planet Earth
    Posts
    58
    Liked
    0 times
    Do I click custom script and then put the code in the box? If so I get this error message....

    Code:
     
    Warning: include(/usr/home/sample/public_html/forum/404.php) [function.include]: failed to open stream: No such file or directory in /home/sample/public_html/forum/vbseo.php on line 1440
    
    Warning: include() [function.include]: Failed opening '/usr/home/sample/public_html/forum/404.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sample/public_html/forum/vbseo.php on line 1440
    I did exactly what was told on the first post. Thanks

  11. #71
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    It appears that you do not have the correct, full, physical path to your 404.php file entered. If you are unsure of the physical path to your site directory, check with your host. They should be able to provide it.

  12. #72
    Member
    Real Name
    Peter
    Join Date
    Jun 2007
    Location
    Planet Earth
    Posts
    58
    Liked
    0 times
    I fixed it but now I only I see a character like this one ਀

  13. #73
    Member
    Real Name
    Bob
    Join Date
    Jun 2008
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by jw00dy View Post
    Did you ever figure out a work around for this? Actually since it wasn't a problem for you, I'll as it this way... Did anyone that has this problem find a solution?
    I placed the 404.php in the forums root and added:
    PHP Code:
    chdir('forums'); 
    to the file. It's not perfect, but it works.

  14. #74
    Senior Member jw00dy's Avatar
    Real Name
    Jonathan
    Join Date
    Dec 2006
    Location
    Tooele, UT
    Posts
    184
    Liked
    0 times
    Yes it does. Thank you!!!
    allthingsmoto.com & bodynspirit.net vBSEO Optimized

  15. #75
    Senior Member jw00dy's Avatar
    Real Name
    Jonathan
    Join Date
    Dec 2006
    Location
    Tooele, UT
    Posts
    184
    Liked
    0 times
    Quote Originally Posted by Tenstones View Post
    I placed the 404.php in the forums root and added:
    PHP Code:
    chdir('forums'); 
    to the file. It's not perfect, but it works.
    Actually, this does fix it for the root, but the forums is now broken. That won't work...
    allthingsmoto.com & bodynspirit.net vBSEO Optimized

Page 5 of 26 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ... LastLast

LinkBacks (?)


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •