News:

Wondering if this will always be free?  See why free is better.

Main Menu

Xoops Bridge Beta 2

Started by Orstio, May 27, 2007, 08:39:39 PM

Previous topic - Next topic

ecolips

I have done the steps in here http://www.simplemachines.org/community/index.php?topic=210337.msg1338323#msg1338323

now everything fine. I can log in directy from xoops self login block and logout. It logs in and out smf at the same time

closo

I have followed these steps, and have difficulty with login to my site. It seems that I can login to smf, but not the bridge or xoops. Help?

smf 1.1.4
xoops 2.0.18.1
bridge 1.1beta2

smf is wrapped

closo

I still have no success logging in, after installation of the smf bridge. I also have several other modules installed, including:

protector 3.1
backup 3.0
xoopsinfo 2.14
ams 2.42 (article management system)
liase 1.26

Orstio

Do you have a URL we can see?

closo

sure.

hxxp:testx.closo.net [nonactive]

Orstio

Do you have custom sessions enabled in Xoops?

closo

#206
I think it was enabled, but I am not certain.

EDIT: ok, I looked in the xoops_config table with phpmyadmin.

There is an entry conf_name = "use_mysession" which is set to conf_value = "1"

I presume that means custom sessions is enabled?

Orstio

And, in SMF:

What is the setting for Database Driven Sessions?

What is the setting for Local Storage of Cookies?

What is the setting for Subdomain Independent Cookies?

closo

Quote from: Orstio on May 02, 2008, 07:42:18 AM
And, in SMF:

What is the setting for Database Driven Sessions? On

What is the setting for Local Storage of Cookies? Off

What is the setting for Subdomain Independent Cookies? On

You have smf administrator access.

mnpsgadam

when i log in with the smf login on my xoops page, i get redirected to the forums. how can i make it so it stays on my xoops page?

closo

ok, I have applied a solution that was posted a couple of months ago in the xoops forum, and can be found here:

hxxp:www.xoops.org/modules/newbb/viewtopic.php?post_id=285472#forumpost285472 [nonactive]

This at least restored access to the site, but has not completely solved the login issue. It seems that the bridge login will login to smf, but not xoops. Meanwhile, the xoops login seems to be working properly for both. Maybe the solution is to just use the xoops login. Are there any disadvantages?

I would also like to know the answer to mnpsgadam's question about having the login redirect to the main site page, instead of the forum.

Orstio

As of beta 2, you can use the Xoops login block to login to both Xoops and SMF.  There is no disadvantage.

osgeld

does this search the forum like xoops normally does with newbb? (from 1 search box)

TosaInu

#213
Hello Orstio,

Thank you for making this bridge.

We use SMF 1.1.5, Xoops 2.0.18.1 and bridge beta2, index.php in modules/smf edited to allow Xoop login to both Xoop and SMF.

It works fine, but when I log out via SMF it says:

Fatal error: Call to a member function getVar() on a non-object in /xxx/modules/smf/index.php on line 476

That does not happen with the original index.php.

Edit: the same error pops up when you try to go back to the forum via Xoops link.


TosaInu

Heh, that's a persistent problem here :)

Orstio

The solution is in the very next post.

TosaInu

Yes, I found it. Thank you, that fixed it.

Lance_

Hey Orstio, love the bridge.

Had it working fine, but then it stopped on me, I get a blank space where the forum used to appear when embedded within the xoops theme.

The corrections to index.php are done as per the other thread.

The xoops errors I get are the following:
SELECT f.*, s.tpl_source FROM 12345_tplfile f LEFT JOIN 12345_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned' AND tpl_file = 'smf_index.html') ORDER BY tpl_refid
Error number: 1146
Error message: Table 'user_smfforumdb.12345_tplfile' doesn't exist

It seems to be want to call the smfforumdb instead of the template in the xoopsdb? Or am I off base??

and getting this error also
Errors
Notice: Undefined index: rand_code in file /modules/smf/index.php line 90


Cheers,

Eric P


Orstio

This looks like a cloned template?

Can you try recompiling the template for the bridge module?

Go to your Xoops admin panel.  Mouseover the System Admin icon.  Click on Modules.

In the bridge row, click on the Update icon under the Action column.

Click the Update button.  This should recompile your template and reinsert it into the database.

Advertisement: