Results 1 to 8 of 8

vBSEO/Photopost weird error...

This is a discussion on vBSEO/Photopost weird error... within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Receiving the following error when accessing photos or categories from within PhotoPost Pro 5.5 PHP Code: Warning :  main (./ ...

  1. #1
    Junior Member jgommel's Avatar
    Real Name
    James Gommel
    Join Date
    Aug 2006
    Location
    Cleveland, OH
    Posts
    24
    Liked
    0 times

    Question vBSEO/Photopost weird error...

    Receiving the following error when accessing photos or categories from within PhotoPost Pro 5.5

    PHP Code:
    Warningmain(./includes/functions_showthread.php) [function.main]: failed to open streamNo such file or directory in /home/neosmutc/public_html/pp/header-inc.php on line 115

    Fatal error
    main() [function.require]: Failed opening required './includes/functions_showthread.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/neosmutc/public_html/pp/header-inc.php on line 115 
    This doesn't happen all the time. It appears to be completly random. The error started showing up after I installed vBSEO 3.0.0 RC5.

    Even if I disable vBSEO, I still occasionally get the error. If I completly uninstall vBSEO, I don't get the error anymore. I tried for 30 minutes to see if I would get the error...none. I reinstalled vBSEO and within 5 minutes, I started to periodically getting the error again.

    I contacted Photopost support, and told them that I just installed vBSEO. I asked them if vBSEO could be causing the issue? This is what they told me:

    "your using 3.62 vbulletin we never call the file meantioned only in vb 3.0 series do we call that file"

    "...that file should never be called since your running 3.62 as we load the class_postbit.php file"

    Never mentioned vBSEO once... Not really much help.

    --------------------------------
    Host/Website Stats:
    --------------------------------
    http://www.neosmut.com
    --------------------------------
    vBulletin 3.6.2
    vBadvanced CMPS 2.2.0
    vBSEO 3.0.0 RC5
    vBSEO Sitemap 1.7
    PhotoPost Pro 5.5
    ReviewPost 3.32

    Apache 1.3.37
    PHP 4.4.4
    MySQL 4.1.21
    --------------------------------

    Thanks,
    James Gommel
    www.neosmut.com

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello James,

    please try to modify your header-inc.php file
    FIND:
    PHP Code:
        if ( isset($bbuserinfo['userid']) ) { 
    REPLACE WITH:
    PHP Code:
        if ( && isset($bbuserinfo['userid']) ) { 
    this is the code of vBulletin version detection, as a result it will always detect vB3.5+ in your case. Probably that will allow to avoid the issue with functions_showthread.php inclusion.

  3. #3
    Junior Member jgommel's Avatar
    Real Name
    James Gommel
    Join Date
    Aug 2006
    Location
    Cleveland, OH
    Posts
    24
    Liked
    0 times
    Thanks for trying to help me out. I tried your suggestion, but after replacing the code within the header-inc.php file, I get the following parse error...

    PHP Code:
    Parse errorsyntax errorunexpected T_STRING in /home/neosmutc/public_html/pp/header-inc.php on line 68 
    Last edited by jgommel; 10-15-2006 at 06:37 PM.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Does the line looks exactly the same as I posted above in your case?

  5. #5
    Junior Member jgommel's Avatar
    Real Name
    James Gommel
    Join Date
    Aug 2006
    Location
    Cleveland, OH
    Posts
    24
    Liked
    0 times
    Yes; all I did was copy and paste the line over the existing and compared the results to what you suggested. I'll try it again -- and let you know.

  6. #6
    Junior Member jgommel's Avatar
    Real Name
    James Gommel
    Join Date
    Aug 2006
    Location
    Cleveland, OH
    Posts
    24
    Liked
    0 times
    Okay, I think I found the problem... for some reason or another, if I manually type in the modification, save, and access the PhotoPost portion of my site - all's good. If I copy/paste the code into the header-inc.php file - I get the error. Apparently BBEDIT is reformatting the text when I copy/paste the code. As long as I open the file in BBEDIT and manually key the changes... it's okay.

    So for now, I guess I have to wait and see if that fixed it.

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Ok, great. Let me know if that resolved the issue.

  8. #8
    Junior Member jgommel's Avatar
    Real Name
    James Gommel
    Join Date
    Aug 2006
    Location
    Cleveland, OH
    Posts
    24
    Liked
    0 times

    18 hours and no error...

    Well, I think that did it... It's been 18 hours since I applied you fix, and everything is running just fine. I just need to remember this fix when and if I upgrade PhotoPost in the future... I know I'm going to forget and overwrite that file!

Similar Threads

  1. Internal Server Error
    By Ricky in forum Troubleshooting
    Replies: 1
    Last Post: 09-10-2006, 11:59 AM
  2. Weird error.
    By ryan in forum Troubleshooting
    Replies: 2
    Last Post: 02-09-2006, 09:10 AM
  3. apache error logs
    By MentaL in forum Troubleshooting
    Replies: 2
    Last Post: 01-20-2006, 09:45 PM

Posting Permissions

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