phpBB Connector Error...
- geeffland
- OFFLINE
- Posts: 826
- Thanks: 3
- Karma: 233
17 years 5 months ago #27314
by geeffland
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Replied by geeffland on topic Re:phpBB Connector Error...
I think that your paste of the lines into phpbbgui must have got messed up...
Go to cbconnector.com and in the Public downloads area download v1.0.3 and see if that fixes the issue... it already has been patched.
Greg
Go to cbconnector.com and in the Public downloads area download v1.0.3 and see if that fixes the issue... it already has been patched.
Greg
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Please Log in or Create an account to join the conversation.
- Stinus
- OFFLINE
- Posts: 21
- Thanks: 0
- Karma: 1
17 years 5 months ago #27315
by Stinus
Stian
Veteranbrannbiler.com - Old Fire Truck site
Replied by Stinus on topic Re:phpBB Connector Error...
Hi
Now i have unistall phpbb Connector. I have download phpbb connector from cbconnector.com, and install phpBB connector. I get this error when i push plugin control panel link:
[code:1]Warning: main(/home/veteran1/public_html/a:2:{s:11:\"autologinid\";s:0:\"\";s:6:\"userid\";i:-1;}/configuration.php) [function.main]: failed to open stream: No such file or directory in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/phpbbgui.php on line 39
Fatal error: main() [function.require]: Failed opening required '/home/veteran1/public_html/a:2:{s:11:\"autologinid\";s:0:\"\";s:6:\"userid\";i:-1;}/configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/phpbbgui.php on line 39[/code:1]
Now i have unistall phpbb Connector. I have download phpbb connector from cbconnector.com, and install phpBB connector. I get this error when i push plugin control panel link:
[code:1]Warning: main(/home/veteran1/public_html/a:2:{s:11:\"autologinid\";s:0:\"\";s:6:\"userid\";i:-1;}/configuration.php) [function.main]: failed to open stream: No such file or directory in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/phpbbgui.php on line 39
Fatal error: main() [function.require]: Failed opening required '/home/veteran1/public_html/a:2:{s:11:\"autologinid\";s:0:\"\";s:6:\"userid\";i:-1;}/configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/phpbbgui.php on line 39[/code:1]
Stian
Veteranbrannbiler.com - Old Fire Truck site
Please Log in or Create an account to join the conversation.
- geeffland
- OFFLINE
- Posts: 826
- Thanks: 3
- Karma: 233
17 years 5 months ago #27316
by geeffland
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Replied by geeffland on topic Re:phpBB Connector Error...
Looks like the getcwd() command in your server is not working correctly...
Could you try the following code and let me know what output you get.
create a test.php file in the same directory as phpbbgui.php
[code:1]<?php
$cwd = getcwd();
echo "cwd = '".$cwd."' -- ";
$drn = dirname(__FILE__)
echo "drn = '".$drn."' -- ";
$opt2 = str_replace($_SERVER,'', $_SERVER);
echo "opt2 = '".$opt2."' -- ";
?>[/code:1]
Greg
Post edited by: geeffland, at: 2006/12/19 17:23
Could you try the following code and let me know what output you get.
create a test.php file in the same directory as phpbbgui.php
[code:1]<?php
$cwd = getcwd();
echo "cwd = '".$cwd."' -- ";
$drn = dirname(__FILE__)
echo "drn = '".$drn."' -- ";
$opt2 = str_replace($_SERVER,'', $_SERVER);
echo "opt2 = '".$opt2."' -- ";
?>[/code:1]
Greg
Post edited by: geeffland, at: 2006/12/19 17:23
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Please Log in or Create an account to join the conversation.
- Stinus
- OFFLINE
- Posts: 21
- Thanks: 0
- Karma: 1
17 years 5 months ago #27322
by Stinus
Stian
Veteranbrannbiler.com - Old Fire Truck site
Replied by Stinus on topic Re:phpBB Connector Error...
Hi
I get this, with test.php:[code:1]Parse error: parse error, unexpected T_ECHO in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/test.php on line 5[/code:1]
I get this, with test.php:[code:1]Parse error: parse error, unexpected T_ECHO in /home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector/test.php on line 5[/code:1]
Stian
Veteranbrannbiler.com - Old Fire Truck site
Please Log in or Create an account to join the conversation.
- geeffland
- OFFLINE
- Posts: 826
- Thanks: 3
- Karma: 233
17 years 5 months ago #27327
by geeffland
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Replied by geeffland on topic Re:phpBB Connector Error...
My mistake...
change
$drn = dirname(__FILE__)
to
$drn = dirname(__FILE__);
missed the semicolon on the end
change
$drn = dirname(__FILE__)
to
$drn = dirname(__FILE__);
missed the semicolon on the end
CB3PD Developer - CB Connector (formerly phpBB Connector) plugin
Please Log in or Create an account to join the conversation.
- Stinus
- OFFLINE
- Posts: 21
- Thanks: 0
- Karma: 1
17 years 5 months ago #27329
by Stinus
Stian
Veteranbrannbiler.com - Old Fire Truck site
Replied by Stinus on topic Re:phpBB Connector Error...
Hi
Now I get this:[code:1]cwd = '/home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector' -- drn = '/home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector' -- opt2 = '/home/veteran1/public_html' --[/code:1]
Now I get this:[code:1]cwd = '/home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector' -- drn = '/home/veteran1/public_html/components/com_comprofiler/plugin/user/plug_phpbbconnector' -- opt2 = '/home/veteran1/public_html' --[/code:1]
Stian
Veteranbrannbiler.com - Old Fire Truck site
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, geeffland, martijn189, krileon