phpbb connector gui admin panel problem

17 years 11 months ago #12905 by nonac
Hi,

I get at weird error when I try to use the admin pannel for phpBB Connector plugin for Community Builder.

Every time i click the link, the window popps up with the right link (to phpbbgui.php) but imidiatly redirects to the normal Joomla login screen... Think it's related to the session handling, but it workes like a charm everywhere else... The connector seem to as it should with everything else...

Any thoughts?

// Richard Blomgren

Please Log in to join the conversation.

17 years 11 months ago #12932 by geeffland
Replied by geeffland on topic Re:phpbb connector gui admin panel problem
If it is redirecting than it is a session issue... It checks to make sure an admin session is started before opening the form...

I am guessing that you have a session started so send me some info on your server setup (including Joomla, CB, phpbb versions) so we can figure out why your setup it not working right...

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 11 months ago #12961 by nonac
Replied by nonac on topic Re:phpbb connector gui admin panel problem
Hope this is enough...

PHP built On: Linux 2.6.13.4 #1 SMP Wed Nov 16 10:03:05 CET 2005 i686
Database Version: 4.0.26-standard-log
PHP Version: 4.4.2
Web Server: Apache/1.3.34 (Unix) Sun-ONE-ASP/4.0.2 PHP/4.4.2 mod_ssl/2.8.25 OpenSSL/0.9.6b FrontPage/5.0.2.2635 mod_throttle/3.1.2
WebServer to PHP interface: apache
Joomla! Version: Joomla! 1.0.8 Stable [ Sunshade ] 26-Feb-2006 05:00 UTC
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Relevant PHP Settings: Safe Mode: ON
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: ../tmp/
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor

Configuration File: <?php
$mosConfig_MetaAuthor = '1';
$mosConfig_MetaDesc = 'Joomla - the dynamic portal engine and content management system';
$mosConfig_MetaKeys = 'Joomla, joomla';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = '/hsphere/local/home/reloaded/reloaded.se';
$mosConfig_allowUserRegistration = '1';
$mosConfig_back_button = '1';
$mosConfig_cachepath = '/hsphere/local/home/reloaded/reloaded.se/cache';
$mosConfig_cachetime = '900';
$mosConfig_caching = '0';
$mosConfig_db = 'xxxxxx'
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '0707';
$mosConfig_editor = 'tinymce';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '1';
$mosConfig_error_message = 'This site is temporarily unavailable.
Please notify the System Administrator';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '0707';
$mosConfig_fromname = 'Reloaded';
$mosConfig_gzip = '0';
$mosConfig_helpurl = 'help.joomla.org';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'xxxxxx'
$mosConfig_icons = '1';
$mosConfig_item_navigation = '1';
$mosConfig_lang = 'english';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '0';
$mosConfig_list_limit = '30';
$mosConfig_live_site = 'www.reloaded.se';
$mosConfig_locale = 'en_GB';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'webmaster@reloaded.se';
$mosConfig_ml_support = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'This site is down for maintenance.
Please check back again soon.';
$mosConfig_offset = '-1';
$mosConfig_offset_user = '1';
$mosConfig_pagetitles = '1';
$mosConfig_password = 'xxxxxx'
$mosConfig_readmore = '1';
$mosConfig_secret = '51yWSNErsWPuyBXH';
$mosConfig_sef = '0';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '1800';
$mosConfig_session_type = '1';
$mosConfig_shownoauth = '0';
$mosConfig_sitename = 'Reloaded';
$mosConfig_smtpauth = '0';
$mosConfig_smtphost = 'localhost';
$mosConfig_smtppass = '';
$mosConfig_smtpuser = '';
$mosConfig_uniquemail = '1';
$mosConfig_user = 'xxxxxx'
$mosConfig_user = 'xxxxxx'
$mosConfig_vote = '1';
setlocale (LC_TIME, $mosConfig_locale);
?>

administrator/backups/ Writeable
administrator/components/ Writeable
administrator/modules/ Writeable
administrator/templates/ Writeable
cache/ Writeable
components/ Writeable
images/ Writeable
images/banners/ Writeable
images/stories/ Writeable
language/ Writeable
mambots/ Writeable
mambots/content/ Writeable
mambots/editors/ Writeable
mambots/editors-xtd/ Writeable
mambots/search/ Writeable
media/ Writeable
modules/ Writeable
templates/ Writeable

Joomla 1.0.8
Community Builder 1.0
Php connector Version 1.0.2 BETA

Please Log in to join the conversation.

17 years 11 months ago #13064 by geeffland
Replied by geeffland on topic Re:phpbb connector gui admin panel problem
I am wondering if this is a SAFE MODE issue... Do you have any problems using the admin side of Joomla... i.e. same error when using other things in the admin side?

The other possibility is the change in sessions that I think happened in Joomla 1.0.8... I will dig into the admin side sessions on Joomla 1.0.8... quick look seems like they changed index2.php (in admin) so I need to track down where they moved the code to so I can compare it...

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 11 months ago #13067 by geeffland
Replied by geeffland on topic Re:phpbb connector gui admin panel problem
They did move the code around for checking sessions but it doesn't look like much of a difference other than making it easier for me now...

Only issue I see addressed in the new code is that multiple users can be logged on for a demo site in the new code... the old code checks for exactly 1 session with that user. (might check your sessions db and see if it is messed up as well)

Also I checked one of my localhost test sites... it uses Joomla 1.0.8 as well and does not have an issue with running the 1.0.3 code... sessions stuff has not changed since 1.0.2

So assuming that the admin side works normally I am leaning towards a safe mode issue but that is just a guess.

You could try changing line 76 in phpbbgui from

if ($database->getNumRows( $result ) != 1) {
TO
if ($database->getNumRows( $result ) == 0) {

to see if that helps... workaround should have similar results to the newer joomla check allowing multiple users with same login for demo sites.

If that doesn't fix it let me know... we will probably have to dig in further.

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.184 seconds

Facebook Twitter LinkedIn