Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin: Graphic Display Ranks — Error

  • @actorjiml

    Participant

    I’m using this code in my Graphic Display Ranks plugin:

    $path_to_subdirectory= bb_get_option('uri') . "my-plugins/ranks/";

    $get_config = $path_to_subdirectory . "gdr_config.php";

    include($get_config);

    The plugin works just fine on the forum, but on the admin pages I’m getting these warnings:

    Warning: main(my-plugins/ranks/gdr_config.php): failed to open stream: No such file or directory in /home/brightan/public_html/bbPress/my-plugins/display-rank-images.php on line 43

    Warning: main(my-plugins/ranks/gdr_config.php): failed to open stream: No such file or directory in /home/brightan/public_html/bbPress/my-plugins/display-rank-images.php on line 43

    Warning: main(): Failed opening ‘my-plugins/ranks/gdr_config.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/brightan/public_html/bbPress/my-plugins/display-rank-images.php on line 43

    I’m pretty sure it’s something to do with the path, but what am I not seeing?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar