Results 1 to 8 of 8

Errors in vbseo.php

This is a discussion on Errors in vbseo.php within the Troubleshooting forums, part of the vBSEO SEO Plugin category; M log has lots of error messages like below, some are different referrers. Any ideas? Thanks! PHP Warning: file_exists(): Unable ...

  1. #1
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times

    Errors in vbseo.php

    M log has lots of error messages like below, some are different referrers. Any ideas? Thanks!

    PHP Warning: file_exists(): Unable to find the wrapper "ttp" - di
    d you forget to enable it when you configured PHP? in /usr/home/xxxx/www/vbseo.php on line 59, referer: http://www.xxxx.com/register.php

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    It looks like you have a bad url somehwere.

    ttp
    should be
    http
    most likely, thus the file_exist call returns the error.

    Check all your settings.

  3. #3
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times
    Thanks, Brain. But I don't know where to look for, I have checked config.xml, no ttp found.

    All errors were generated by line 59 and 62 in vbseo.php (version 3.5.2), if I knew where the URL possible comes from, it might be easier.

    PHP Code:
    global $vbseo_gcache$found_object_ids;
    if (
    VBSEO_RELPATH)
    vbseo_chdir($vbseo_relpath);
    if (
    vbseo_security_check($vbseo_url_))
    vbseo_404();
    59$vbseo_file_exists = (file_exists($vbseo_url_
    || (
    file_exists(basename($vbseo_url_)) && strstr($vbseo_url_'.' VBSEO_VB_EXT))) 
    && (
    $vbseo_url_[strlen($vbseo_url_)-1] != '/');
    62$vbseo_file_exists_deep file_exists($vbseo_url_) && strstr($vbseo_url_'/');
    $vbseo_found false;
    define('VBSEO_PREPROC'1);
    $vbseo_proc VBSEO_ENABLED && !defined('VBSEO_UNREG_EXPIRED'); 

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Check in your vboptions panel.

  5. #5
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times
    Can't find anything wrong there either.

  6. #6
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times
    Logged all error URLs, the error should be generated by this one:

    ttp://www.mydomain.com/register.php
    My wild guess is that some spammer requested this page with spam software. If I request this URL, my browser will refuse it.

    Does this make sense to you?

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    that's not even a valid protocol it would never hit your server to log an error in the first place. It dies at the brower level.

    it has to be an include or require /etc type command with a a url missing the h.

  8. #8
    Junior Member
    Real Name
    Kevin P.
    Join Date
    Nov 2008
    Posts
    15
    Liked
    0 times
    Now I can reproduce the error. Certain wrong URLs will cause this error, for example:
    http://www.mydomain.com/anything://not_important

    The error would be:
    ...Unable to find the wrapper "anything"...
    The reason seems clear now, when a URL contains two "://", vbseo tests the second part as a file thus causes the error. It should be safe to discard it.

Similar Threads

  1. Errors on vbseo!
    By ewebdesigner in forum General Discussion
    Replies: 2
    Last Post: 12-20-2010, 07:46 PM
  2. vBSEO and Errors
    By kau in forum Troubleshooting
    Replies: 3
    Last Post: 08-25-2009, 12:52 PM
  3. vbseo errors
    By Riccardo79 in forum General Discussion
    Replies: 9
    Last Post: 12-12-2008, 06:28 PM
  4. 2 XHTML 1.0 errors on vbseo.com
    By Metro Man in forum Bug Reporting
    Replies: 1
    Last Post: 08-06-2005, 12:31 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
  •