Error on phpbbConnector Control Panel

17 years 5 months ago #24901 by banquer
Error on phpbbConnector Control Panel was created by banquer
Hello From Spain.
After been about 3 hours reading post about the famous

"Warning: main(/phpBB2/extension.inc): failed to open stream: No such file or directory in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbgui.php on line 116

Warning: main(): Failed opening '/phpBB2/extension.inc' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbgui.php on line 116

Warning: main(/phpBB2/common.): failed to open stream: No such file or directory in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbgui.php on line 117

Warning: main(): Failed opening '/phpBB2/common.' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbgui.php on line 117
SQL errorDB function failed with error number 1146
Table 'rc-gojar-z-1.users' doesn't exist SQL=SELECT count( * ) as total_record FROM users WHERE user_active = '1'
SQL =

SELECT count( * ) as total_record FROM users WHERE user_active = '1'"

and upload patched phpbbgui.php file from sourceforge site and "yes", my site is under a Windows NT hosting, I don't now where to look.
I tried to change REG_EMULATION=on and then run control panel and get the same error.

My site is www.rc-gojar-z.net and the forum is on
www.rc-gojar-z.net/phpBB2

Can you help me?

Please Log in to join the conversation.

17 years 5 months ago #24904 by geeffland
Replied by geeffland on topic Re:Error on phpbbConnector Control Panel
My guess is that your server does not have a $_SERVER variable...

v1.0.2 does not have an alternate method for finding phpbb...

Here are 2 options (until v2.0.0 is released)

1) Change all

$_SERVER

to

$mosConfig_absolute_path

in phpbbgui.php and phpbbconnector.php. This will redefine your forum location based on your Joomla install... If Joomla is installed in the root then it is no different than the other variable... If Joomla is installed in a subdirectory and the forum is in the root then you may need to change the forum directory to

../forum


2) Change all

$_SERVER

to the website root say something like

/usr/web/yourpages/

... you will have to find out what that is because it is different on almost every website... probably can get a hint from the $mosConfig_absolute_path variable in the Joomla Admin System Info area...

Hope this helps,
Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 5 months ago #24944 by leo9
Replied by leo9 on topic Re:Error on phpbbConnector Control Panel
my joomla site = www.mysite.com/joomla
my phpbb = www.mysite.com/forum


how should I configure this?

would this still be ../forum?

Please Log in to join the conversation.

17 years 5 months ago #24947 by banquer
Replied by banquer on topic Re:Error on phpbbConnector Control Panel
Thats works great but have a collateral effect.
If the user logout on comunity logon module and try to login then, the web shows

"Warning: includephpbbfiles(/forum/extension.inc): failed to open stream: No such file or directory in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbconnector.php on line 124

Warning: includephpbbfiles(): Failed opening '/forum/extension.inc' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbconnector.php on line 124

Warning: includephpbbfiles(/forum/common.): failed to open stream: No such file or directory in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbconnector.php on line 125

Warning: includephpbbfiles(): Failed opening '/forum/common.' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbconnector.php on line 125

Fatal error: Call to undefined function: encode_ip() in C:\Inetpub\vhosts\rc-gojar-z.net\httpdocs\components\com_comprofiler\plugin\user\plug_phpbbconnector\phpbbconnector.php on line 138
"

If I unpublish the phpbb connecter, this error don't appears.

Any idea?
Best regards from Spain.

Please Log in to join the conversation.

17 years 5 months ago #25044 by geeffland
Replied by geeffland on topic Re:Error on phpbbConnector Control Panel
leo9,

Your forum directory should be the default

forum

for your setup

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 5 months ago #25045 by banquer
Replied by banquer on topic Re:Error on phpbbConnector Control Panel
Yes. (Sorry, the question it's not for me :whistle: ).

Post edited by: banquer, at: 2006/11/20 16:28

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.219 seconds

Facebook Twitter LinkedIn