Results 1 to 7 of 7

Lots of errors... hard to troubleshoot without paths

This is a discussion on Lots of errors... hard to troubleshoot without paths within the Troubleshooting forums, part of the vBSEO SEO Plugin category; [Tue Jan 17 05:53:45 2006] [error] PHP Fatal error: main(): Failed opening required 'showimage.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nzboards/public_html/forums/ vbseo .php on ...

  1. #1
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times

    Lots of errors... hard to troubleshoot without paths

    [Tue Jan 17 05:53:45 2006] [error] PHP Fatal error: main(): Failed opening required 'showimage.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nzboards/public_html/forums/vbseo.php on line 793
    I'm getting lots and lots of these. I don't know what's causing them, because I can't tell what the path that the 'showimage.php' is supposed to be in.

    My Custom Rewrite Rules:
    // showgroup.php as forumleaders.html v.0.1 by the vBSEO Team
    // Remove the comment below to enable.
    //'^showgroups\.php$' => 'forumleaders.html'
    '^quiz\.php\?do=main'=>'quizzes.html'
    'quiz\.php\?do=Take&id=(\d+)'=>'quiz/quiz$1.html'
    'quiz\.php\?do=Cat&id=(\d+)'=>'quiz/cat$1.html'
    '^journal\.php$' => 'nzblogs.html'
    'journal\.php\?do=gotomyjournal$' => 'mynzblog.html'
    'journal\.php\?do=showjournal&j=(\d+)$' => 'shownzblog-$1.html'
    'journal\.php\?do=gotomyjournal&action=addentry$' => 'addnzblogentry.html'
    '^journal\.php\?do=addentry&j=(\d+)$' => 'addnzblogentry-$1.html'
    '^journal\.php\?do=search$' => 'searchnzblogs.html'
    '^journal\.php\?do=topjournals$' => 'topnzblogs.html'
    'journal\.php\?do=showjbuddies$' => 'shownzblogbuddies.html'
    'journal\.php\?do=editjbuddies$' => 'editnzblogbuddies.html'
    'journal\.php\?do=showentry&e=(\d+)$' => 'readnzblogentry-$1.html'
    'vbookie\.php$' => 'nzbookie.html'
    '^vbookie\.php\?do=bets$' => 'mybets.html'
    '^vbookie\.php\?do=stats$' => 'nzbookie-stats.html'
    '^VBGooglemap\.php$' => 'member-map.html'
    '^vbhoroscopes\.php$' => 'newzealand-horoscopes/'
    'index\.php\?page=(.+)$' => 'newzealand-$1.html'
    //Gallery Rewrites
    'index\.php\?c=(\d+).*$' => 'cat$1'
    'browseimages\.php\?c=(\d+).*$' => 'cat$1'
    'browseimages\.php\?do=browseimages&c=(\d+)&page=( \d+)$' => 'cat$1-$2'
    'browseimages\.php\?do=popimages$' => 'top.html'
    'browseimages\.php\?do=popimages&orderby=views' => 'topviews.html'
    'browseimages\.php\?do=popimages&orderby=rating' => 'toprated.html'
    'browseimages\.php\?do=popimages&orderby=posts' => 'toppost.html'
    'showimage\.php\?i=(\d+)&noignore=0&postid=(\d+)$' => 'image$1-$2'
    'showimage\.php\?i=(\d+)&original=1.*$' => 'image$1-big'
    'showimage\.php\?i=(\d+).*$' => 'image$1'
    '/photos/index\.php$' => '/photos/'
    The .htaccess in the (old) /root/gallery/ directory is:
    RewriteEngine on
    RewriteRule ^index.php$ http://www.nzboards.com/photos/ [R]
    RewriteRule ^showgallery.php/cat/([0-9]+)$ http://www.nzboards.com/photos/browseimages.php?c=$1 [R]
    RewriteRule ^showphoto.php/photo/([0-9]+)$ http://www.nzboards.com/photos/showimage.php?i=$1 [R]
    RewriteRule ^showphoto.php/photo/([0-9]+)/cat/([0-9]+)$ http://www.nzboards.com/photos/showimage.php?i=$1&c=$2 [R]
    RewriteRule ^showphoto.php/photo/([0-9]+)/sort/([0-9]+)/cat/([0-9]+)/page/([0-9]+)$ http://www.nzboards.com/photos/showimage.php?i=$1&c=$3 [R]
    root/photos/ has an .htaccess as follows:
    RewriteEngine On
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../photos/&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteRule ^(.*\.php)$ /forums/vbseo.php?vbseourl=$1&vbseorelpath=../photos/&%{QUERY_STRING} [L]
    Now, I *do* have a browseimages.php in my root/photos/ directory, along with the other files mentioned in the .htaccess in that directory.

    What am I doing wrong?

  2. #2
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254
    Liked
    0 times
    showimage.php is part of the Gallery.. are you sure that the file is there? If so try reuploading that file and see if it fixes it.

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hi!

    Mm. do you also have .htaccess file in root?
    Can you check the access_log near the same time where the error occurs ([Tue Jan 17 05:53:45 2006] in your example) to get the requested URL that leads to a problem?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #4
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    I do have .htaccess in root .. but also in both of the directories concerned...

    How do I go about checking the access_log?

    @ADM: It's there..the gallery works as far as I can see. http://www.nzboards.com/photos .. I used to have PP in /gallery/ , changed to vBA Gallery in the same directory, then decided to go to /photos/, hence the redirect-style .htaccess in the /gallery/ directory.

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Usually, you can check your access_log using the hosting Control Panel or via FTP. Where do you see the error quoted in your message, btw?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,999
    Liked
    11 times
    That was from my cPanel - Error Log. Is that what you are talking about?

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You may try the "Raw Access Logs" option in cPanel to get access_log (most likely it will contait entries for the last day only, so you should check the most recent error message of that kind in error log first).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Please Troubleshoot - Errors
    By rob in forum Troubleshooting
    Replies: 3
    Last Post: 12-30-2005, 06:19 AM

Posting Permissions

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