Xoops+Xpress+Buddypress
永らくありがとうございました › フォーラム › インストール › Xoops+Xpress+Buddypress
-
投稿者投稿
-
2012 年 7 月 27 日 6:18 PM #2694
匿名
ゲストHi, greetings from Argentina!
I want to install Xoops 2.55 + Xpressme 2.45 + BuddyPress WP plugin 1.56.
Xoops + Xpressme works fine. Also when I have installed Buddypress + Buddypress theme default all works fine while I´m logged, but when logout, and anonymus try to enter to module Xpressme, I receive a white page with the following message:
“Fatal error: Call to a member function exists() on a non-object in /public_html/modules/xpress/wp-includes/capabilities.php on line 1375”
Line 1375 of this PHP file says:
if ( ! $user->exists() )
return false;
And is in a the function “is_super_admin()
I think the issue is about xoops groups and wordpress roles, but I´m not an expert.
I want to add Buddypress to Xoops+Xpress because to upgrade a Xoops site with multiblogs and socialnetwork addons. The first solved by your excellent Xpresme, but Xoops don´t have a socialnetwork module. Only Yogurt, but dropped since 2009 by the death of the author.
Can you help me? Many thanks!
Roberto
2012 年 7 月 28 日 11:18 AM #3393toemon
キーマスターhi Roberto.
Thank you for the check of XPressME.
I did not confirm the operation of Buddypress plugin.
First, please tell me the version of wordpress you are using.
And give me a little time to check.
thanks.
2012 年 7 月 29 日 1:35 AM #3394匿名
ゲストHi Toemon,
I´m using WP 3.4.1. To fix the BuddyPress problem (version 1.56), reading your forum, I have copied the same change of code that says on the topic “pluggable.php after upgrade to wordpress3.4”, to the file capabilities.php (line 1375):
OLD
if ( ! $user->exists() )
return false;
NEW
if (method_exists($user, ‘exists’)) {
if ( ! $user->exists() ) return false;
} else {
if ( empty( $user->ID ) ) return false;
}
And now, all works fine! Few minutes ago, I have upgraded without problem, from WP Xpressme panel, the Buddypress version 1.56 to 1.57. Really, I´m very happy. The only issue I have tested yesterday, was if I changed on WP Xpressme panel the WP mode to Xoops mode, the Buddypress goes down and I had to reinstall. But my idea is to join with Xpressme Xoops+WP+Buddypres only on WP mode, then no problem by the moment. Greetings, Roberto.
2012 年 7 月 31 日 5:36 PM #3395toemon
キーマスターThank you for the useful information.
I will consider the modification of XpressME, as do not like change the file capabilities.php.
Now, I do build an environment to reproduce the problem.
toemon.
2012 年 8 月 9 日 7:02 AM #3396toemon
キーマスターif I changed on WP Xpressme panel the WP mode to Xoops mode, the Buddypress goes down and I had to reinstall.
fixed(changeset/812) the above bug.
2012 年 8 月 9 日 10:28 AM #3397toemon
キーマスター“Fatal error: Call to a member function exists() on a non-object in /public_html/modules/xpress/wp-includes/capabilities.php on line 1375”
fixed(changeset/813) the above bug.
If applying this fix, you will do not have to change the file capabilities.php.
-
投稿者投稿
- フォーラム「インストール」には新規投稿および返信を追加できません。