The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Thu Sep 03, 2009 9:31 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 03, 2009 9:27 pm
Posts: 3
I've also get the error... And i've installed al latest newest joomla and phpbb3... AND version 1.07 of the bridge!

The joomphpbb_engine2 script is called from a wrong place

After refreshing 3 or 4 times it will show up... How can i remove this message and do not have to refresh every time...
Try it yourself: http://www.callofholland.nl/forum/

I'm trying to get my website running soon on a Appache server so i dont have any problems anymore... But i don't think i'll manage this with my hoster...
Please help!


Top
 Profile  
 
PostPosted: Fri Sep 04, 2009 11:22 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
Your bridge integration dose not work properly.Please ensure proper integration steps of "Mehdi's Phpbb THREE bridge" then it works successfully !!!!!!!!!

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Fri Sep 04, 2009 11:46 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 03, 2009 9:27 pm
Posts: 3
That I've done 3 times now... Also I've reinstalled joomla and phpbb3... Maby I did something wrong with a step? Some questions Ive had by the external link... in de top menu? I've done this in the main menu... Please check www.callofholland.nl for the joomla site.


Top
 Profile  
 
PostPosted: Fri Sep 04, 2009 11:53 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
Your bridge doesn't work. you can mail to me for help.

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Sat Sep 05, 2009 4:09 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 03, 2009 9:27 pm
Posts: 3
I've mailed you... But nothing I can do now? Why mailing? :S

joomphpbb_conf2.php file:
Code:
<?php
//0 no integration
//1 visual integration
//2 user integration
//3 visual & user integration

$joomIntegrate = 3;
$joomUrl="http://www.callofholland.nl";
$joomRel= "../"; // relative path from phpbb
$joomQS="option=com_phpbb&Itemid=0"; //you might want to override the Itemid
//----------------------------------------------------------
$joomSql="joomphpbb_bridge"; //don't touch unless you know what you are doing


I've deleted now the whole code from joomphpbb_engine2.php:

Code:
    $tmpdir2=getcwd_fix();
    if ($tmpdir!=$tmpdir2) {
        $ds=DIRECTORY_SEPARATOR;
        if (substr_count($tmpdir2,$ds) == substr_count($tmpdir,$ds)-1) {
            $phpbbSubFolder=true;
           
        } else {
            die('The joomphpbb_engine2 script is called from a wrong place');
        }
    }


And its working now!


Top
 Profile  
 
PostPosted: Tue Sep 15, 2009 6:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 08, 2009 11:46 am
Posts: 6
Location: Timisoara
Hi Kazal,

Just a short question, if allowed:
phpbb&joomla bridged with your script work great, except one small issue:

Suppose you log in into joomla front-end and enable "Remember me" function. You then end the session (close browser/reboot,etc.). By restarting the browser and coming back to the joomla front-end you are allready logged in, because of the above enabled function of "Remember me". Now if you click on the forum link, you are still logged in in Joomla but not logged in phpbb. If you click the LogIn link in phpbb, you are redirected to the !!!logout!!! page in joomla. The only way to login in phpbb is to logout from joomla, get back to the forum, click the login link, get redirected to the joomla login page, login and automaticly the browser returns you to the phpbb index page, with you beeing authenticated.

This is a little odd for visitors that enable the "Remember me" function. Is there any way around this ?

Before the bridging, both phpbb and joomla (latest versions) worked perfect as stand-alone applications, this issue appeared just after the bridging and is clearly a authentication / session problem.

I would appreciate any tipps you think I should try ! Or is this a known bug ?

Thanks !


Top
 Profile  
 
PostPosted: Wed Sep 16, 2009 3:46 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
Hi @Orvo300SE ;
I am not facing this kinds of problem.In my projects it works fine in "remember me" function. I am not clear about your Login module. Is it a "Joomla default login module" or "CB login module"? Are you using CB in your project?
Most of my projects are using CB(Community Builder). So i am using "CB login" module and its "remember me" function works successfully?
You can do some testing to resolve this bugs:
1) Clean your Browser cache and start your proses.
OR
2) Test for using CB.

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Wed Sep 16, 2009 11:09 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 08, 2009 11:46 am
Posts: 6
Location: Timisoara
Ok, thanks for the quick reply.
I am not using CB, just the plain default Joomla login module. And I have tried all methods of clearing the cache, even in joomla, in phpbb, in my browser, etc. I went even so far that I created a new user and tried out the auth issue with a new browser - so that there's no chance of old cookies or saved seesions ... But the problem is the same.

I will give it a try with the CB login method - thanks for the tip.

Now I'm facing a different problem ... after all went fine, except the auth issue, I played a little bit with several session settings in the joomla cpanel, like: Apc, Database or None. Now I cannot log into phpbb whatsoever, no matter what session saving type I choose from joomla. The error is "infinite loop". I tries changing the bridge running mode, from full integration to stand-alone. This gets rid of the loop error, but i cannot log into the phpbb because of the login_module still being joomla_module. Could you tell me in which table of the database this setting is stored in, so that I could maybe manually (via phpmyadmin) restore it to default ?

PS: I'm not sure what could have caused this loop error, as it was working fine so far. No interventions on the mysql or mods have been applied since ... strange ...

Thank you again for your support !


Top
 Profile  
 
PostPosted: Tue Nov 24, 2009 12:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 24, 2009 12:30 pm
Posts: 7
I've got same problem as most of you with the loop thingy.
There's nothing wrong in my local site without CB that is.
I'll try to setup on local and test CB + mehdi's bridge

EDIT:

There's nothing wrong with CB + mehdi's bridge :D

Solution:

Extensions > Module Manager > CB Login (or Whatever you named it to)

Check whether you use login redirection, esp. redirecting it to your forum.

In my case, my forum is under http://www.mysite.com/forum and joomla is http://www.mysite.com/
Note: Add forum on your menu as External Link but restrict it to only viewable/accessible to registered users.

In login redirection I put forum/index.php.
and in logout redirection I just set it to my index.

Works for me. ;)


Hope this helps. :pop

_________________
There's NO "i" in TEAM
☻/
/▌
/ \


Last edited by holmy on Wed Nov 25, 2009 2:03 pm, edited 3 times in total.

Top
 Profile  
 
PostPosted: Wed Nov 25, 2009 10:23 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
@holmy
Try to do better result yapppppppppp

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Tue Jan 05, 2010 5:35 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jan 05, 2010 5:25 pm
Posts: 1
Hi, well, i have a little issue with my installation of the bridge, i want to integrate visually phpBB3 in joomla, i've done all the steps, but i still having this problem, the image attached is from my forum, i'm working in localhost, and the phpBB directory is inside the joomla directory, please anybody can help me ? ... :D


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Wed Jan 06, 2010 3:01 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
@kbob >
Dear can you clear your problem.You can write detail path of your phpBB or mail to me.

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 5:20 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jan 28, 2010 1:02 pm
Posts: 4
I got this loop error too and the solution for me was to delete everything in phpBB's cache (except for .htaccess and index.htm).


Top
 Profile  
 
PostPosted: Fri Mar 12, 2010 9:43 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 11, 2009 7:58 pm
Posts: 8
one of the reason is the PHPBB cache folder is not writable..

face the same problem and after chmod it, it worked.


Top
 Profile  
 
PostPosted: Fri Mar 12, 2010 5:43 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 13, 2009 4:52 am
Posts: 104
Location: Dhaka,Bangladesh.
Dear @ixiel >>>>>>>>

Are you clear all cache folder include .htaccess file and permition cache folder? ??? ???
& for this solve loop error???

_________________
K@Z@L. http://www.thechuadanga.comhttp://people.joomla.org/groups/viewgroup/514-Joomla+Bangladesh.html
Abacus Bangladesh NMC LTD.kazal318631@gmail.com *** Cell: +8801818318631


Top
 Profile  
 
PostPosted: Mon Mar 15, 2010 4:59 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 11, 2009 7:58 pm
Posts: 8
yes.. after chmod it works.. but now i face a new problem..

whenever i tried to login to Administrator Control Panel i got this error msg:

Error: The current page seems to be called from phpbb's root.
Hence the value of phpbbCurFolder must be root.

any idea how to troubleshoot this?


Top
 Profile  
 
PostPosted: Sun Apr 04, 2010 9:12 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Apr 04, 2010 9:07 am
Posts: 2
my joomla site is at ://mysite.co.cc
my forum is at ://forum.mysite.co.cc

how to change this??:
Quote:
$joomRel= "../"; // relative path from phpbb

Code:
<?php
//0 no integration
//1 visual integration
//2 user integration
//3 visual & user integration

$joomIntegrate = 3;
$joomUrl="http://mysite.co.cc/";
$joomRel= "../"; // relative path from phpbb
$joomQS="option=com_phpbb&Itemid=0"; //you might want to override the Itemid
//----------------------------------------------------------
$joomSql="joomphpbb_bridge"; //don't touch unless you know what you are doing


Top
 Profile  
 
PostPosted: Sun Apr 04, 2010 9:28 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Apr 04, 2010 9:07 am
Posts: 2
now i get this in my ://forum.mysite.co.cc page
Code:
Unable to switch to Joomla dir
Is the provided relative path correct ?


Server Information
*VistaPanel version: 2.4.0 RC1
*Operating system: Linux
*Apache version: 2.2.12 (Unix)
*PHP version: 5.2.10
*MySQL version: 5.0.84

phpbb 3.0.7
joomla1.5


Top
 Profile  
 
PostPosted: Tue Apr 20, 2010 6:54 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 20, 2010 3:31 am
Posts: 5
Edit: Nevermind, I fixed my problem by reuploading all the hacked files (some of them were blank or corrupted). Thank you Mehdi for this wonderful mod and your helpful instructions.
-----------------------------------------------------------------------------------
My visual integration works fine, but I can't log into the forum...

This is a new install of Joomla and phpbb, no other mods have been added and there are no users except my admin account and a fresh account I made after installing the bridge. My joomla and phpbb tables in MySQL have custom table prefixes, not the default ones.

For the admin account, I made sure my username and username_clean were the same in PHPBB, and my Joomla username is the same also. I have the same password in phpbb and in Joomla. My joomphpbb_bridge table does link the two admin account id's correctly, but I inserted my userid's manually. I did not run the quickmerge script. For the fresh account, I just created it through the Joomla Registration, and did nothing else.

The Authentication method I chose in the phpbb admin panel is "Joomla15". In joomphpbb_conf2.php I set $joomIntegrate = 3. The phpbb bridge component is installed.

In both cases, when I'm logged in on Joomla (which is at http://mysite.com/), if I click the forum link I get a blank screen stuck at http://mysite.com/forum/ucp.php?mode=lo ... tion=login . If I'm not logged in the forum shows up fine. Any ideas what could be wrong?


Top
 Profile  
 
PostPosted: Tue May 11, 2010 9:35 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 11, 2010 9:16 pm
Posts: 5
Thank you so much for your help! I'm having the infinite loop problem. Here's some of my info:

Your SQL query has been executed successfully ( Query took 0.0428 sec )
CREATE TABLE IF NOT EXISTS `joomphpbb_bridge` (
`assoc_id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`joom_id` INT( 11 ) NOT NULL ,
`phpbb_id` MEDIUMINT( 8 ) NOT NULL ,
PRIMARY KEY ( `assoc_id` )
) TYPE = MYISAM AUTO_INCREMENT =1;

I chmoded my cache directory to be writable.

If I change the directory from $joomUrl="http://uwwchess.isgreat.org/"; to $joomUrl="http://uwwchess.isgreat.org/administrator/"; the page goes from Joomla and the phpBB forum in the content area to just my menu links (no joomla) and the phpBB. When I try logging in I get.
404 - An error has occurred.

Component Not Found

So I think I did step 5 right, when I go back and change the joomphpbb_conf2.php to just "http://uwwchess.isgreat.org" But on step 6 when I log into my forum, I get the infinite loop problem. My CB Bridge or whatever is not in my Joomla Extensions Modules page, so maybe that's a hint as to the problem? Thank you again for your help!


Top
 Profile  
 
PostPosted: Tue May 18, 2010 2:22 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun May 16, 2010 3:26 pm
Posts: 3
got this when opening my phpbb
Code:
Parse error: syntax error, unexpected T_STRING in /www/apache/domains/www.olxter.pri.ee/htdocs/forum/joomphpbb_conf2.php on line 9

Code:
<?php
//0 no integration
//1 visual integration
//2 user integration
//3 visual & user integration

$joomIntegrate = 0;
$joomUrl="http://olxter.pri.ee";
$joomRel="../"; relative path from phpbb
$joomQS="option=com_phpbb&Itemid=0"; //you might want to override the Itemid
//----------------------------------------------------------
$joomSql="joomphpbb_bridge"; //don't touch unless you know what you are doing


no brains here, so i need some help :)


Top
 Profile  
 
PostPosted: Tue Jun 15, 2010 4:19 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Jun 15, 2010 4:12 pm
Posts: 1
Hi, I think this is the best joomla bridge for phpbb.

I'm working with visual integration and my bridge is working almost perfect,but when I enter to register "registrarse" (Sorry is in spanish ;) ), The Joomla header and footer disappears, It only happen with the register. What could be happening?. Here is the link of my website: http://guiabiomedica.com/foro

Thanks for all the help.


Top
 Profile  
 
PostPosted: Fri Jul 16, 2010 8:02 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon May 10, 2010 11:32 am
Posts: 16
Hey there folks,

I'm trying to install the Mehdi's Phpbb THREE bridge and I'm having some problems.
I am following the step by step instructions on the creator's website : http://www.mehdiplugins.com/misc/phpbbjoom.htm

I am having problems with step 4.
Quote:
4 - Phbb hacks :
Now hacking some phpbb files. Well , if you're version of phpbb is 3.07 PL1 , and unmodded , just look at the folder "phpBB 3.07 PL1/hacked" (from the provided zip) and copy everything at the root of your phpbb install. Ensure that every file that already exists are overwritten by the new hacked files (Click for a picture). If your version is not 3.05, or your forum is modded , patching instructions are available here.


When I copy the files from the "Hacked" folder to my phpbb3 root folder and I refresh my phpbb3 forum, I get a blank page. That's a problem, because in step 6 it sais : "If you haven't done any major mistake yet, the forum should now behaves exactly as if nothing was bridged."

I also did step 5, but I stell get a blank page.

I am using
- localhost with MAMP on Mac Os x.
- Latest Joomla Version
- phpBB 3.07 PL1

Anyone know how I can fix this problem?
Thanks in advance!


Top
 Profile  
 
PostPosted: Tue Aug 03, 2010 6:25 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 17, 2009 10:44 pm
Posts: 3
rascar wrote:
I've mailed you... But nothing I can do now? Why mailing? :S

joomphpbb_conf2.php file:
Code:
<?php
//0 no integration
//1 visual integration
//2 user integration
//3 visual & user integration

$joomIntegrate = 3;
$joomUrl="http://www.callofholland.nl";
$joomRel= "../"; // relative path from phpbb
$joomQS="option=com_phpbb&Itemid=0"; //you might want to override the Itemid
//----------------------------------------------------------
$joomSql="joomphpbb_bridge"; //don't touch unless you know what you are doing


I've deleted now the whole code from joomphpbb_engine2.php:

Code:
    $tmpdir2=getcwd_fix();
    if ($tmpdir!=$tmpdir2) {
        $ds=DIRECTORY_SEPARATOR;
        if (substr_count($tmpdir2,$ds) == substr_count($tmpdir,$ds)-1) {
            $phpbbSubFolder=true;
           
        } else {
            die('The joomphpbb_engine2 script is called from a wrong place');
        }
    }


And its working now!

I was having exactly the same problem and your solution works for me too! Thanks!! :D


Top
 Profile  
 
PostPosted: Tue Aug 03, 2010 6:37 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
This code has been added as a security measure, by applying restriction to anything that isn't expected. Also this is supposed to help user , by making him aware that something hasn't be done properly. Now I don't know why it wouldn't work for everyone.


Top
 Profile  
 
PostPosted: Tue Aug 03, 2010 8:17 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 17, 2009 10:44 pm
Posts: 3
mehdi wrote:
This code has been added as a security measure, by applying restriction to anything that isn't expected. Also this is supposed to help user , by making him aware that something hasn't be done properly. Now I don't know why it wouldn't work for everyone.

I'm not sure either, and it doesn't occur consistently (which makes it difficult to troubleshoot). A refresh usually fixes makes the error go away.
I went back into the code and commented out only line 109 instead:
Code:
die('The joomphpbb_engine2 script is called from a wrong place');


Commenting out the whole block of code that rascar mentioned caused a different error to be thrown when previewing templates in the PHP backend. As far as I know it's now working perfectly.


Top
 Profile  
 
PostPosted: Tue Aug 03, 2010 8:49 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
What this code does exactly, is compare the path of calling script (faq.php , search.php etc ...)
with the path of joomphpbb_engine2.php script. It checks if the script joomphpbb_engine2.php is called either from same folder, or from a subfolder. Because all hacked files ( that I call substitutes on my hack instructions) , are either in the same folder as joomphpbb_engine2.php, or in a subfolder.

Later, the bridge check if joomphpbb_engine2.php need to be called from a subfolder, or forum's root according to $phpbbCurFolder value.


Top
 Profile  
 
PostPosted: Mon Aug 16, 2010 2:24 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Mar 09, 2007 3:29 pm
Posts: 61
Can I use community builder profiles instead of the standard phpbb profiles?


Top
 Profile  
 
PostPosted: Sun Nov 21, 2010 12:00 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Nov 02, 2010 10:12 pm
Posts: 1
Hi, I have this error:
"Error: The current page seems to be called from phpbb's root.
Hence the value of phpbbCurFolder must be root."
What i should do?


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 4:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Dec 09, 2010 4:39 am
Posts: 2
for people with URL like below are are having problem with the realitive path Adjust accordingly

FTP yoursite/htdocs
URL http://www.yourURL.com
Forum URL http://www.yourURL.com/Forum

Make sure you realitive path in "joomphpbb_conf2.php" is like so...

$joomRel= "..//"; // relative path from phpbb

this fixed it for me^^^


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3  Next



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group