Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error Log with PHP Fatal Errors

  • @blakicemg

    Participant

    I was looking at my error log and today it started filling up with PHP Fatal errors and the only thing I have changed is the CSS for the admin bar. It appears the BP_PLUGIN_DIR is the problem, here are a few of the lines listed:

    [07-Dec-2009 10:11:07] PHP Fatal error: Call to undefined function plugins_url() in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-core.php on line 12

    Line 12:

    define( ‘BP_PLUGIN_URL’, plugins_url( $path = ‘/buddypress’ ) );

    [07-Dec-2009 10:15:14] PHP Warning: require(BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    Line 7:

    require ( BP_PLUGIN_DIR . ‘/bp-wire/bp-wire-classes.php’ );

    And it goes on… any suggestions?

    //EDIT I am using the latest version of BP and it was installed via the auto plugin interface not a manual upload

Viewing 11 replies - 1 through 11 (of 11 total)
  • @djpaul

    Keymaster

    Did this use to work? What *exactly* did you do/change to your install which caused this problem?

    @blakicemg

    Participant

    I just installed it on Saturday but didn’t get a chance to play with it until today, I copied over the template files to use my current site template. The drop downs didn’t have any styling so I copied over the css for admin menu over from the main template and placed it in my stylesheets and thats it. I havent changed any of the base configurations at all just install and tweeked the css.

    @djpaul

    Keymaster

    Please would you answers these questions so we can see if we can spot something? Thanks.

    https://buddypress.org/forums/topic/when-asking-for-support

    @blakicemg

    Participant

    1. Which version of WPMU are you running?

    2.8.4

    2. Did you install WPMU as a directory or subdomain install?

    Subdomain

    3. If a directory install, is it in root or in a subdirectory?

    n/a

    4. Did you upgraded from a previous version of WPMU? If so, from which version?

    2.8.3

    5. Was WPMU functioning properly before installing/upgrading BuddyPress?

    Yes

    6. Which version of BuddyPress (BP) are you running?

    1.1.3

    7. Did you upgraded from a previous version of BP? If so, from which version?

    no

    8. Do you have any plugins other than BuddyPress installed and activated?

    yes

    9. Are you using the standard BuddyPress themes or customized themes?

    Customised

    10. Have you modified the core files in any way?

    No

    11. Do you have any custom functions in bp-custom.php?

    no

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    Not installed yet

    13. Please provide a list of any errors in your server’s log files.

    There are no errors in the wordpress log

    BP Errors:

    [07-Dec-2009 10:11:07] PHP Fatal error: Call to undefined function plugins_url() in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-core.php on line 12

    [07-Dec-2009 10:15:14] PHP Warning: require(BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 10:15:14] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 10:16:36] PHP Warning: require(BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 10:16:36] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 10:18:02] PHP Warning: require(BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 10:18:02] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 10:19:29] PHP Warning: require(BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 10:19:29] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 10:20:55] PHP Warning: require_once(WP_PLUGIN_DIR/buddypress/bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 10:20:55] PHP Fatal error: require_once() [function.require]: Failed opening required ‘WP_PLUGIN_DIR/buddypress/bp-core.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 10:22:21] PHP Warning: require(BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 10:22:21] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 10:23:48] PHP Warning: require(BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 10:23:48] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 10:25:14] PHP Warning: require(BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 10:25:14] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 10:26:40] PHP Warning: require(BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 10:26:40] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 10:28:06] PHP Warning: require(BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    [07-Dec-2009 10:28:06] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    14. Which company provides your hosting?

    I have a VPS with Servint

    @xevo

    Participant

    All these errors are saying that they can’t find certain files, maybe because you installed it on a subdomain, rather than a subfolder or root?

    Also, disable all your other plugins and your custom theme and see if the problem still exists (don’t think it has anything to do with your current problem, but it’s always best to check).

    @blakicemg

    Participant

    Buddypress should work in both subdomain and subdirectory setups, at least when I first looked at it it did. But thats something to look into.

    @sbrajesh

    Participant

    a far as I see, your problem is the “BP_PLUGIN_DIR” is not getting used correctly.It is output in error log as literal ,which should not happen.

    Please delete the old buddypress, use FTP and upload a fresh copy of buddypress to wp-content/plugins

    Try activating and see if this error occurs again

    @blakicemg

    Participant

    Im trying that out now, thanks for the suggestion. I should have known to just stick to manual uploads and not the auto update.

    @nexia

    Participant

    the buddypress files have to be uploaded in the wp-content/plugins directory, not the root.

    @blakicemg

    Participant

    They are back:

    [07-Dec-2009 19:13:42] PHP Warning: require(BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 19:13:42] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 19:14:36] PHP Fatal error: Call to undefined function plugins_url() in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-core.php on line 12

    [07-Dec-2009 19:15:29] PHP Warning: require(BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 19:15:29] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 19:16:23] PHP Warning: require(BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 19:16:23] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 19:17:16] PHP Warning: require_once(WP_PLUGIN_DIR/buddypress/bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 19:17:16] PHP Fatal error: require_once() [function.require]: Failed opening required ‘WP_PLUGIN_DIR/buddypress/bp-core.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 19:18:10] PHP Warning: require(BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 19:18:10] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 19:19:03] PHP Warning: require(BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 19:19:03] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 19:19:57] PHP Warning: require(BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 19:19:57] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 19:20:50] PHP Warning: require(BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 19:20:50] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 19:21:44] PHP Warning: require(BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 19:21:44] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 19:22:37] PHP Warning: require(BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    [07-Dec-2009 19:22:37] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    @blakicemg

    Participant

    I wonder what would happen if I moved the / from this line or maybe add a trailing /:

    define( ‘BP_PLUGIN_URL’, plugins_url( $path = ‘/buddypress’ ) );

    something is acting wierd because the site appears to work fine

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error Log with PHP Fatal Errors’ is closed to new replies.
Skip to toolbar