Elxis CMS Forum

Extensions => Bridges => Topic started by: BubyDudy on January 25, 2007, 16:40:54

Title: [Almost Solved] SMF Bridge Problem
Post by: BubyDudy on January 25, 2007, 16:40:54
I am having some problem with the SMF Bridge installation... I follow the instructions but ehn I try to access the forums, I am always getting a lot oh PHP Warnings plus this message:

Fatal error: api() [function.require]: Failed opening required 'http://www.zzz.com/forums/index.php/Settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/greek/public_html/bridges/smf11rc3/smf11rc3.php on line 159

(I replaced the name of my site with zzz)
Title: Re: SMF Bridge Problem
Post by: eliasan on January 25, 2007, 17:50:33
'/forums/index.php/Settings.php'
is obviously very wrong.

Please check the path that you have supplied to SMF bridge.
Title: Re: SMF Bridge Problem
Post by: BubyDudy on January 25, 2007, 18:06:55
I think I have put the right path. The forums are installed in www.zzz.com/forums and that's what I put in the bridge.
Title: Re: SMF Bridge Problem
Post by: datahell on January 25, 2007, 18:26:40
You must enter the SMF absolute path, not the URL!

In your occasion add this as your SMF path in SMF bridge settings:

/home/greek/public_html/forums
Title: Re: SMF Bridge Problem
Post by: BubyDudy on January 25, 2007, 19:36:06
Yay! It works, the forums appear correctly now! Thank you once again.

One question I continue to have though has to do with its functionality. Isn't this Bridge supposed to connect the main site with the forums so when one registers in Elxis, he/she is automatically registered in the forums too? It is not working, I already have tested it twice...
Title: Re: [Almost Solved] SMF Bridge Problem
Post by: eliasan on January 26, 2007, 07:26:34
Please follow the instructions that come with the bridge.
They are tested and they do work.
Title: Re: [Almost Solved] SMF Bridge Problem
Post by: mirza on March 06, 2007, 04:35:48
sorry cause i do this in this topic

 Bridge Login Form
PHP WARNING
PHP: main(/var/www/v1/administrator/components/com_bridge/bridge.class.php): failed to open stream: No such file or directory
uri: index.php?option=com_user&task=list
path: /components/com_user/user.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): /var/www/v1/modules/mod_bridge_login.php, line 36

Fatal error: main(): Failed opening required '/var/www/v1/administrator/components/com_bridge/bridge.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/v1/modules/mod_bridge_login.php on line 36

whats wrong ?
Title: Re: [Almost Solved] SMF Bridge Problem
Post by: nothing1 on April 12, 2007, 09:41:37
I get this error.

PHP WARNING
PHP: getconfig(): open_basedir restriction in effect. File(/httpdocs/forum/Settings.php) is not within the allowed path(s): (/var/www/vhosts/website/httpdocs:/tmp)
uri: index.php?option=com_bridge&brid=106&Itemid=30
path: /components/com_bridge/bridge.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): /var/www/vhosts/website/httpdocs/bridges/smf11rc3/smf11rc3.php, line 34

 ???

help me plz

EDIT:
i just had to set SFM path to:
/var/www/vhosts/website/httpdocs/forum

duh! i feel stupid it took me well over an hour.
Title: Re: [Almost Solved] SMF Bridge Problem
Post by: datahell on April 12, 2007, 19:12:09
Is your PHP running under safe_mode? If yes, you will face many problems.
If only open_base_dir restriction is enabled then tell your server admin to disable this restriction for your site. He must open httpd.conf go to your virtual site settings and set this flag:

php_admin_value open_basedir none