Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

#1487 closed defect (worksforme)

failed to open stream (Changeset 2957)

Reported by: LPH2005 Owned by:
Milestone: 2.0 Priority: normal
Severity: normal Version:
Component: Appearance - Included Themes Keywords: reporter-feedback
Cc:

Description

Upload to server creates server error. PHP Logs shows:

[12-Mar-2011 17:06:36] PHP Warning: include(/path/to/wp-content/themes/twentyten/bbpress/functions.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /path/to/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php on line 526

Replace with earlier changeset gets site back online.

Removal of line 526 did not bring site back online.

Change History (7)

#1 @cnorris23
10 years ago

  • Component changed from Administration to Included Themes
  • Keywords reporter-feedback added

Did you check to make sure that the /path/to/wp-content/themes/twentyten/bbpress/functions.php file actually exists?

#2 @Nightgunner5
10 years ago

What you need to do is deactivate the plugin and the theme, then upload the new version and reactivate it. You will never have to do this again. This is only because the theme went from child to parent.

#3 @GautamGupta
10 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

#4 @LPH2005
10 years ago

Thank you for the suggestions but I'd already checked and followed the same procedures as all the other updating. Functions.php is present and already deactivated plugin prior to upload.

Just tried changeset 2958 with same results - site collapses with error. Prior changesets work fine.

Last edited 10 years ago by LPH2005 (previous) (diff)

#5 @LPH2005
10 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

#6 @cnorris23
10 years ago

@LPH2005 you said you deactivated the plugin, but did you deactivate the theme before you deactivated the plugin and reuploaded? Like Nightgunner5 (comment:2) said, this is from the change of bbp-twentyten from a child theme to a parent theme.Based on this path (/path/to/wp-content/themes/twentyten/bbpress/functions.php) WordPress still thinks that bbp-twentyten is a child theme, so it's looking for the bbpress folder in the WordPress twentyten theme folder, which obviously doesn't exist. Try deactivating bbp-twentyten, then reactivating, and see if you get the issue.

#7 @GautamGupta
10 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed

If the above method doesn't work for you, try nuking the whole site and installing everything again.

Note: See TracTickets for help on using tickets.