Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: jpcline004 on March 26, 2008, 09:12:25 AM

Title: Login Redirect URL Help
Post by: jpcline004 on March 26, 2008, 09:12:25 AM
First off I want to thank you guys for putting together a great FAQ and guide. I was able to get the smf mambo bridge working fine. However I have one question still that I can't seem to find the answer to. I looked in this post (http://www.simplemachines.org/community/index.php?topic=228561.0), but it didn't help.

I am using the bridge login, and so far it works great with the SMF users and passwords I synched. I have the forum wrapped in the Mambo page, and the login redirect URL set to "Back to the page from which the user logged in", but when I login from the main page (index.php) it takes me to the SMF forum instead. I am not sure why its doing this, am I missing a step?

My motive in bridging SMF and Mambo is making a page with download links that can be accessed by members only. I already have a number of members in my SMF forum and I don't want them to have to register again. Therefore I wanted Mambo to be the content manager of the download section and have the new and existing forum members be able to access the page with their SMF login. This is possible right?

Let me know if you need any more info. Thanks!
Title: Re: Login Redirect URL Help
Post by: Kindred on March 26, 2008, 09:15:53 AM
url?
bridge version?
smf version?
mambo version?


and yes... using a download component, link com_remository will allow you to specify files and/or categories that are only available to registered users.
Title: Re: Login Redirect URL Help
Post by: jpcline004 on March 26, 2008, 09:28:15 AM
URL: This is just a test page I set up:
http://emulationunderground.net/test4/

bridge version 1.1.1
smf v 1.1.4
mambo v 4.6.3

When I login I want to just stay at the spot where I login, not go to the wrapped forum, so if someone wants to access the download page, they login and it goes there.

*edit* and thanks for responding so quickly   :D
Title: Re: Login Redirect URL Help
Post by: Kindred on March 26, 2008, 09:33:25 AM
oops... forgot:

test user/password?
Title: Re: Login Redirect URL Help
Post by: jpcline004 on March 26, 2008, 09:42:00 AM
Quote from: Kindred on March 26, 2008, 09:33:25 AM
oops... forgot:

test user/password?

hehe test account login: "Jester"
password "test2345"
Title: Re: Login Redirect URL Help
Post by: Kindred on March 26, 2008, 09:52:27 AM
hmmm.... odd

PM me an admin login?
Title: Re: Login Redirect URL Help
Post by: jpcline004 on March 26, 2008, 10:19:35 AM
Quote from: Kindred on March 26, 2008, 09:52:27 AM
hmmm.... odd

PM me an admin login?

sent

yeah I was driving myself nuts trying to figure it out...
Title: Re: Login Redirect URL Help
Post by: Orstio on March 26, 2008, 10:11:05 PM
You need to publish the SMF_header_include mambot.
Title: Re: Login Redirect URL Help
Post by: jpcline004 on March 26, 2008, 10:27:01 PM
Quote from: Orstio on March 26, 2008, 10:11:05 PM
You need to publish the SMF_header_include mambot.

sorry tried that too and didn't make a difference. Its OK I give up. I don't like the way the forum looks smashed into mambo anyway so I am moving on to another solution. Thanks for the help guys
Title: Re: Login Redirect URL Help
Post by: smoothound on March 27, 2008, 03:15:42 PM
I've got the same problem, login takes me to the wrapped forum and the logout works fine, at present set to Mambo index.

I am using
Mambo 4.6.3
SMF 1.1.4
Mambo SMF Bridge 1.1.1
Community Builder 1.1

Any help would be appreciated thanks
Title: Re: Login Redirect URL Help
Post by: Orstio on March 27, 2008, 08:25:50 PM
URL?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 28, 2008, 09:57:07 AM
PM sent with URL and test login details.
Title: Re: Login Redirect URL Help
Post by: Orstio on March 28, 2008, 07:10:46 PM
You need to publish the SMF_header_include mambot.
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 07:42:20 AM
SMF_header_include mambot already published.
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 01:54:01 PM
I have uninstalled community builder and am now using the bridge to login/register.

Still no change with the login redirect URL.

I will probably uninstall everything then reinstall, as I am a newbie to this and have spent a lot of time experimenting etc, but would like to know what is causing this problem before I uninstall.
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 03:22:33 PM
QuoteI will probably uninstall everything then reinstall, as I am a newbie to this and have spent a lot of time experimenting etc, but would like to know what is causing this problem before I uninstall.

If you uninstall and reinstall, we will never find out what the problem really is.

Do you know your PHP version?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 03:30:16 PM
php version 4.4.7
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 03:55:54 PM
Can you look in your mambots/system folder?

Are the files SMF_header_include.php and SMF_header_include.xml there?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 04:22:55 PM
Had a look in site mambots and can only find one SMF_header_include which appears to be .php

Their is also a listing of SMF_header_include listed under review/uninstall which I would presume is the same item that's in the site mambots.

If I need to look in a specific folder I will probably need details on how to get their.

Thanks
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 04:55:53 PM
Go to your site cPanel (NOT your Mambo admin panel). 

Click on File Manager.

Click on public_html so that it opens and you can see the subdirectories.  One of those subdirectories will be named "mambots".

Click on the mambots folder so that you can see the subdirectories.  One of those subdirectories will be named "system".

Click on the system folder so you can see the files in it.

Is there a file there named SMF_header_include.php?  Is there a file there named SMF_header_include.xml?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 05:06:00 PM
Thanks Orstio found both files no problem.

SMF_header_include.php 9KB
SMF_header_include.xml 619Bytes
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 06:01:00 PM
And you are absolutely sure that the SMF_header_include bot is set to "Published"?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 07:38:33 PM
Yes

Site Mambot SMF_header_include is set to published.
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 07:41:37 PM
That's strange, because the information it should be placing in your header output is not there.

Do you have any errors in your error log?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 07:57:48 PM
Not that I'm aware of, but have just found this in the cPanel log.

[Sat Mar 29 23:50:16 2008] [error] [client 78.32.152.97] File does not exist: /home2/wightviv/public_html/404.shtml
[Sat Mar 29 23:50:16 2008] [error] [client 78.32.152.97] File does not exist: /home2/wightviv/public_html/main/templates/siteground71/images/menu_curren_link_bg.gif

Don't know if it's relevant or not?
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 08:03:59 PM
No, that's just a missing image.

How about in the error log in your SMF admin panel?
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 08:15:23 PM
Seems to be generating quite a few errors but thought this one might be the likely one.

http://wight.vivaciti.net/forum/index.php?option=com_smf&Itemid=40&action=login2
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 08:17:48 PM
Just spotted this one.

http://wight.vivaciti.net/forum/index.php?option=com_smf&Itemid=40&action=logout&returnurl=0&sesc=673bbd78f482f5b6f9f58a954df5d831
Title: Re: Login Redirect URL Help
Post by: Orstio on March 29, 2008, 08:27:12 PM
That's a URL.  There should be an error message associated with it.
Title: Re: Login Redirect URL Help
Post by: smoothound on March 29, 2008, 08:39:31 PM
Cannot find any error messages other than the URL's

The login details I sent you the other day should give you full access if you want to double check as I'm not 100% sure of what I'm looking at.
Title: Re: Login Redirect URL Help
Post by: Orstio on March 30, 2008, 10:43:05 PM
Sorry for not following up last night.

I checked everything out, and it all seems to be correct, except for one thing.

The SMF_header_include mambot is not producing output.  I have no idea why this is not working.  There is a known issue with PHP 5.2.5 that causes this problem, but not in PHP 4.4.7.
Title: Re: Login Redirect URL Help
Post by: smoothound on March 31, 2008, 03:51:35 PM
No problem.

Tried to uninstall the bridge and made a pigs ear of it, so wiped everything and reinstalled but the same problem persists.

Like you I would like to know why this problem is occurring and how to rectify it as I prefer to use this login rather than the mambo one.

I hope I'm wrong but I have a gut feeling that PHP 4.4.7 could be the problem.
Title: Re: Login Redirect URL Help
Post by: smoothound on April 01, 2008, 02:41:48 PM
Hi Orstio

I have noticed that Mambo user list does not seem to be updating. I am using the bridge registration (which I like) SMF members are updated but Mambo users do not appear to be updating yet when I manually input the details into mambo I get the message user name already taken please try again.

I was wondering are these problems connected?
Title: Re: Login Redirect URL Help
Post by: smoothound on April 04, 2008, 10:41:03 AM
Hi Orstio

Just tried installing Mambo and SMF in a different folder on my web space just to check that the reinstall was not keeping the uninstalled settings (in case I changed something I should have left alone) but had the same results.

It is looking like it might be an issue with php 4.4.7 but I'm no expert.
Any chance you could verify this for me and if it is the case could you advise me which version you would recommend so I can advise my isp which is hosting the site, if not I may have to use Mambo login which is not my preferred solution.

Thanks
Title: Re: Login Redirect URL Help
Post by: smoothound on April 26, 2008, 11:00:39 AM
Hi Orstio

I presume you've had no luck with these problems. I have been intouch with the hosting company but have not had any response, so after 2 weeks of nothing starting to get a bit fed up and looking for a new host for my site.
Title: Re: Login Redirect URL Help
Post by: sambar on April 28, 2008, 11:26:04 PM
We have the same problem as well www.hellobaby.co.uk
Mambo 4.6.3. SMF 1.1.4, bridge 1.1.1, SMF is wrapped, using bridge registration

Whatever it's set up to do after logging in they go to the forum.

Usertype column is empty for all registrations except Admin and no users show in the Mambo user admin. But as far as we can tell so far they can all log in and out okay although changing details without inputting passwords allows the change to appear to happen but actualy somehow corrupts the details so they cna't log in again but resetting password fixes it - not had a chance to look too deeply at this yet though.

We are on php 5.2.5 though, so am guessing the redirect issue is currently unfixable?

But we do need the usertypes problem fixed though.
Title: Re: Login Redirect URL Help
Post by: Orstio on April 29, 2008, 12:29:59 AM
Do you know why the word "buffered" appears all over your home page?
Title: Re: Login Redirect URL Help
Post by: sambar on April 29, 2008, 07:52:58 PM
Because I'd left Mambo's debug switched on last night. It's off now.
Title: Re: Login Redirect URL Help
Post by: Orstio on April 29, 2008, 09:37:05 PM
Do you have the SMF_Header_inlcude bot published?
Title: Re: Login Redirect URL Help
Post by: sambar on April 30, 2008, 06:43:43 PM
Yes, it has been and is showing as published in admin.
Title: Re: Login Redirect URL Help
Post by: Orstio on April 30, 2008, 07:02:31 PM
If you check in the mambots/system folder, are the two SMF_header_iclude files there?
Title: Re: Login Redirect URL Help
Post by: sambar on April 30, 2008, 07:59:35 PM
Both SMF_header_include.php and SMF_header_include.xml are there yes.

Reading back on the thread I also have nothing in the error logs or the SMF error log.
Title: Re: Login Redirect URL Help
Post by: Orstio on April 30, 2008, 08:28:42 PM
Then the issue is definitely the combination of Mambo and PHP 5.2.5.
Title: Re: Login Redirect URL Help
Post by: sambar on April 30, 2008, 10:58:08 PM
Thank you, I have posted on the Mambo support boards as well now.
Title: Re: Login Redirect URL Help
Post by: smoothound on May 01, 2008, 12:18:18 PM
My host is currently waiting for some comeback from Mambo on this issue.

If they come back with a resolution I will post it here.