Home arrow Forum LOGIN PROBLEM when SMF is WRAPPED
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 03:23:29 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  LOGIN PROBLEM when SMF is WRAPPED
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] 3 4 5 Go Down Print
Author Topic: LOGIN PROBLEM when SMF is WRAPPED  (Read 17555 times)
Annemarie
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #15 on: January 13, 2006, 04:22:37 AM »

Same here.  Just wondering if changing the database prefix from smf_ to mos_ fixes this problem.  Ben hasn't been back and I'm curious if anyone else has had success by doing this.

It didn't.

Made a fresh install using Joomla! 1.0.5 + SMF 1.1RC2 + Joomla-SMF brigde 1.0.2a
Using mod_smf_login_1.3 (Joomla-SMF Login module) with mos_ prefix.

Then I started an other fresh install with jos_ prefix for SMF and noticed some tables had been overwritten (polls etc.). Joomla was not working anymore.




« Last Edit: January 13, 2006, 04:24:14 AM by Annemarie » Logged
Storman
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 18



View Profile
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #16 on: January 15, 2006, 10:43:06 AM »

Quote
When:

1) I log in from JOOMLA ==> works FINE
2) I log in from SMF UNWRAPPED (blackpage) ==> works FINE
3) I log in from SMF WRAPPED (inside JOOMLA) ==> ERRORRRRRRRRRR
 

I'm the same, also upgraded to RC2 and with Joomla 1.0.5 etc.

Oh, oh.....we have problem Houston !!   Shocked  Shocked

Is this prefix thing a blind alley or is there a issue there ??

Over to you Cowboy  Wink
Logged
Miriam Aguilar
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #17 on: January 16, 2006, 04:01:57 AM »

Well, login doesn't work from SMF (by the moment) when it is wrapped into Joomla.

Personally, I would like take it out then. Anyone knows where is the code for displaying this login module in order I can delete/comment it?.   Huh
Logged
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #18 on: January 16, 2006, 06:43:43 PM »

also in the the waiting line for the fix Smiley

or shall i stick with the smf 1.1 rc1 ?

- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #19 on: January 16, 2006, 06:59:30 PM »

oh goodness.. any quick fixes my friends?

joomla 1.0.7
smf 1.1 RC2
Joomla-SMF brigde 1.0.2a

^^the UNWRAPPED forum runs fine except for the issue of the "WIRELESS" line error which @cowboy already resolved.


Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
stone
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #20 on: January 17, 2006, 02:16:39 AM »

Are you sure about unwrapped mode? As in my case in unwrapped mode when I log on joomla side I'm transfered to smf. When I come back to joomla it seems that I'm logged in but when I look closely there are not icons for editing articlis on forntend, so in fact module tells me that I'm looged in butr in fact I'm not looged in intto joomla.
Logged
Storman
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 18



View Profile
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #21 on: January 17, 2006, 06:24:20 AM »

Can someone else try to recreate "Stones" issue, I can't due to the design of my site.

Just wondering if this is another issue to consider   Undecided
Logged
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #22 on: January 17, 2006, 06:38:50 AM »

    
Quote
Apply Filter: Only show the error messages of this member Guest    January 16, 2006, 10:24:11 PM
Apply Filter: Only show the error messages of this IP address **********      Apply Filter: Only show the error messages of this session 1e6b193dc19191700c6fd1ad8fcbfe8a
Apply Filter: Only show the error messages of this URL http://**********/community/index.php?option=com_smf&Itemid=88
Apply Filter: Only show the errors with the same message
8: Undefined index: task
File: /home/**********/public_html/components/com_smf/smf.php
Line: 120

^^i dont see any error logs in the cpanel, however i only have this error in the smf admin error logs.

in which line 120 in the smf.php is:

Code:
if ($wrapped != true && $_REQUEST['task'] != "register") {

so this is the line in which i think breaks the flow.

any thoughts?

- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #23 on: January 17, 2006, 08:13:32 AM »

Quote
Apply Filter: Only show the error messages of this member Guest    January 16, 2006, 10:24:11 PM
Apply Filter: Only show the error messages of this IP address **********      Apply Filter: Only show the error messages of this session 1e6b193dc19191700c6fd1ad8fcbfe8a
Apply Filter: Only show the error messages of this URL http://**********/community/index.php?option=com_smf&Itemid=88
Apply Filter: Only show the errors with the same message


8: Undefined index: task
File: /home/**********/public_html/components/com_smf/smf.php
Line: 120

This error message is only a warning.  I believe the following code with keep the error message from being produced, however, that won't fix any problems.


Code:
if ($wrapped != true && strcmp($_REQUEST['task'], "register") != 0) {
exit;
}
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #24 on: January 17, 2006, 08:21:10 AM »

One of you that is having the login when wrapped problem please post the following configurations for your site.

1) post the file administrator/components/com_smf/config.smf.php
2) Forum URL (SMF admin->Server Settings->Forum URL
3) Joomla/Mambo live site (Joomla/Mambo admin -> global configuration -> server tab -> live site
4) Joomla/Mambo version
5) SMF version

Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
mikeho1980
Joomla Newbie
*

Karma: +1/-2
Offline Offline

Posts: 49



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #25 on: January 17, 2006, 12:01:59 PM »

One of you that is having the login when wrapped problem please post the following configurations for your site.

1) post the file administrator/components/com_smf/config.smf.php
2) Forum URL (SMF admin->Server Settings->Forum URL
3) Joomla/Mambo live site (Joomla/Mambo admin -> global configuration -> server tab -> live site
4) Joomla/Mambo version
5) SMF version

1)config.smf.php
Code:
<?php
global $smf_path$smf_redirect$smf_prefix$mos_prefix$wrapped$hideemail$cbprofile$registration_module$mosurl;
$smf_path "/home/(if u need it email me)/domains/mcho.net/public_html/b201/smf";
$smf_redirect 0;
$mos_prefix "jos_";
$smf_prefix "smf_";
$wrapped true;
$hideemail 1;
$cbprofile 0;
$registration_module "mambo";
$mosurl "http://b201.mcho.net/index.php?option=com_smf&amp;Itemid=54&amp;";
?>
2)
http://b201.mcho.net/smf
3)
http://b201.mcho.net
4)
Joomla v1.0.7
5)
SMF v1.1 RC2
« Last Edit: January 17, 2006, 12:03:43 PM by mikeho1980 » Logged
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #26 on: January 17, 2006, 12:37:44 PM »

@Wolverine, thanks for the reply.. HOWEVER,.. take note that among other members in this forum WE(my team and i) are not JUST end users. Wink we are a team of php coders as well, just dont have the time and resources to flush in learning the joomla-smf flow of the integration.

seing the line you gave, is a TEMPORARY solution. was wondering if the joomla-smf integration itself can provide a solution to resolve... YES, i am aware as @cowboy mentioned pathces for 1.0.5 will come "soon" HOWEVER, we are currently in the 1.0.7 already..  Wink

looking in the changelog of 1.0.7 from the previous version made a lot of changes in the core.

what do you think?

thanks for you time and effort mate. very well appreciated. Smiley


- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #27 on: January 17, 2006, 01:57:15 PM »

I understand.  I wanted to double check the settings to make sure a simple mistake wasn't being made, and it wasn't.  The fix I posted isn't temporary, strcmp should be used when comparing strings.  In php 5 you will get all kinds of warnings if you don't use a similar method.  So take that as a permanent fix. 

As for the problems with logging in wrapped, I have been testing the new code and had much success with 1.0.5.  I plan to upgrade to 1.0.7 to give Cowboy all information I can dig up with any problems that I encounter.  Until more testing is done I can't do anything else.  I'll post an update or anything I find.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #28 on: January 17, 2006, 02:12:36 PM »

@Wolverine, thank you! looking forward for 1.0.7! Smiley thankful for the joomla core as well for the immediate security and stability patches,.. and yes; i understand is a PITA for 3PD's for us to come along the patches for our 3PD components for the community Smiley


- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: LOGIN PROBLEM when SMF is WRAPPED
« Reply #29 on: January 17, 2006, 02:24:41 PM »

Feel free to test the new code on my site.  The login when wrapped problem is not occurring for me.  Here is a test user, report any problems you encounter!   Grin 

UN: test_user
PW: testing


http://dev.themofoclan.com/

Basic configuration is SMF wrapped using joomla registration and redirect to forum on login.  Feel free to register new users also, and if you want to test something specific let me know.  At this point I haven't had any problems.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: 1 [2] 3 4 5 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login