Results 1 to 3 of 3

functions_vbseo.php error include_once

This is a discussion on functions_vbseo.php error include_once within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi Guys I created a plugin where I recall the file functions_vbseo, for using following instruction $threadurl = vbseo_thread_url_row($threadrow); The ...

  1. #1
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times

    functions_vbseo.php error include_once

    Hi Guys

    I created a plugin where I recall the file functions_vbseo, for using following instruction
    $threadurl = vbseo_thread_url_row($threadrow);

    The recall is executed with the code here below

    Code:
    if(defined('VBSEO_ENABLED') && VBSEO_ENABLED) 
                { 
                    include_once 'includes/functions_vbseo.php';

    The strange thing is that in some sites, mine included, i works fine, in some other sites following error appears:



    Code:
     Warning: include_once(includes/functions_vbseo.php)  [function.include-once]: failed to open stream: No such file or  directory in [path]/includes/class_postbit.php(340) : eval()'d code on  line 429
    
    Warning: include_once() [function.include]: Failed opening  'includes/functions_vbseo.php' for inclusion  (include_path='.:/usr/lib/php:/usr/local/lib/php') in  [path]/includes/class_postbit.php(340) : eval()'d code on line 429

    In the sites living the a.m. error I tried to reach the file using the browser site /vbseo/includes/functions_vbse.php

    And the result is

    Page not found

    regards

  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
    This call needs to be relative to your file's path and your file system for vbseo 3.6 (the article reflects the 3.3.x and lower location)

    Try

    include_once 'vbseo/includes/functions_vbseo.php';

  3. #3
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times
    Thanks

    I will try

    :bai

Similar Threads

  1. functions_vbseo.php - causing 404 error
    By karma in forum Troubleshooting
    Replies: 1
    Last Post: 06-29-2009, 08:15 AM
  2. functions_vbseo.php - causing 404 error
    By karma in forum Troubleshooting
    Replies: 1
    Last Post: 06-29-2009, 08:02 AM
  3. Error on test-system (functions_vbseo.php on line 4681)
    By visio in forum Pre-Sales Questions
    Replies: 1
    Last Post: 07-07-2007, 10:42 AM
  4. php 5.2.1, functions_vbseo.php error
    By curriertech in forum Troubleshooting
    Replies: 4
    Last Post: 05-25-2007, 03:12 PM
  5. functions_vbseo.php - error
    By SpaceStar in forum Troubleshooting
    Replies: 6
    Last Post: 09-26-2006, 04:52 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
  •