Bridge Xoops-SMF 1.1 RC3 Beta 1

Started by Orstio, December 31, 2005, 03:18:57 PM

Previous topic - Next topic

nulla


Orstio

Did you install SMF in a different database than Xoops?

nulla

I installed in different database. I used fantastico from the my servers control panel options to do the install and have now un installed smf downloaded the install.zip  and will follow that process through


Should I be using the same data base?

thanks for the help gents. Great feedback and service.

I am keen to get this going as I am not impressed at all with the xoops forum, my members say its ugly and they get lost trying to make simple posts ..I have to agree.

SMF on the other hand is a gem from what I have seen over the last week or so playing around and testing it plus it has a good layout with great features......well done to the team at SMF



Orstio

Go to your site's cPanel.  Click on MySQL databases.  Do not proceed to PhpMyAdmin!

You are now on the page to set your database permissions.

Near the bottom of the page, you will see two dropdown selections side by side, labelled "User:" and "Db:".  Select your Xoops database user, and your SMF database.  Click the button below this that says "Add User to Db".

Go back to this same page again, and add your SMF database user to your Xoops database as well.

nulla

I have done what you said.... sorry no difference.

I am not quite sure what I am doing wrong...

Is there some setting in SMF that I should be changing.

I seem to have the path correct in the settings

The main menu on xoops shows and activates the link to SMF, but thats it.. it seems to be a compeltley standalone program... not wrapped.. I changed my theme to the default xoops theme as well

I am now going to re download the SMF module for the bridge and see if it is it thats the problem.

I have double checked to ensure the blocks are set correctly in xoops.

my site is

cultbusters.com.au


thanks again for the assistance and patience

Orstio

Do not install SMF here:

http://www.cultbusters.com.au/modules/smf/

That is where the module goes, not where SMF goes.

nulla

Orstio,
           
I have been pulling my hair out over my troubles.... I re installed un installed and tried everything you said.

Then as a last option downloaded and I installed version

smf_1-1-rc2_install.zip (December 31, 2005)

as I had downloaded and installed prior


smf_1-0-6_install.zip (January 28, 2006)

Everything is up and running.

I did notice when looking back over this thread that everyone seems to have installed prior to the Jan 28 version.

I am not sure if there is a conflict with the bridge and the later version or it was just xoops or me :-\

Nulla


Orstio

SMF 1.0.x will not work with this bridge.

Only SMF 1.1.x has the required structure to make this work.

Did you not notice the title of this topic?

"Bridge Xoops-SMF 1.1 RC2 alpha"

nulla


X-Ception

Quote from: X-Ception on January 28, 2006, 09:47:11 PM
Has something changed in xoops 2.2.4 tho everything is the same as always i seem to be getting a white page, have yet to have this. The only real change as i mentioned is the usage of patch for xoops.
New install, 2.2.3a => patched files to 2.2.4, installed cleanly

Both in same database, path is correct ( i took the path from SMF itself to be certain )
still white page, ideas ?
Joolo.net social community and irc network / Yowzar - random subject forum

Orstio

The only time I ever got white pages was when I tried installing a new theme as a template.  :-[

I'm not surethat it works with templates other than default.

X-Ception

Ugh something has changed, ok.
now turned on php debug and see the following
Quote
Warning PHP: main(../functions.php): failed to open stream: No such file or directory in file modules/smf/admin/index.php line 25
Warning PHP: main(): Failed opening '../functions.php' for inclusion (include_path='.:/usr/share/pear') in file modules/smf/admin/index.php line 25
Notice PHP: Constant _MI_ADMIN already defined in file modules/smf/language/english/modinfo.php line 33
Notice[PHP: Constant _MI_ADMIN_DESC already defined in file modules/smf/language/english/modinfo.php line 34

looking at the first line i assume thats functions.php within the /modules/smf/admin/ folder ?
Quote
Warning  PHP: main(../functions.php): failed to open stream: No such file or directory in file modules/smf/admin/index.php line 25

as its defines the same for config.php wihn the same directory,

include '../../../include/cp_header.php';
include
'../functions.php';
include
'../config.php';


but i'm unsure if this should be xoops includes/functions.php or if these is a seperate SMF functions.php which seems not to be included ?
Joolo.net social community and irc network / Yowzar - random subject forum

X-Ception

#112
Quote from: Orstio on February 05, 2006, 08:48:00 PM
The only time I ever got white pages was when I tried installing a new theme as a template.  :-[

I'm not surethat it works with templates other than default.
Clean install, so yep it is default theme, but ive only ever installed anything as a theme, rather than a template - always did work fine with themes, templates i rarely see used ( my reasons are apache user group takes ownership so logging back in/out of root does my head in )
Joolo.net social community and irc network / Yowzar - random subject forum

Orstio

Thanks.  You can get rid of that line:

include '../functions.php';

X-Ception

#114
Quote from: Orstio on February 05, 2006, 09:14:14 PM
Thanks.  You can get rid of that line:

include '../functions.php';

No probs,

seems you have defined some language keys twice also, in admin.php you defined

define
("_MI_ADMIN", "Forum Administration");
define("_MI_ADMIN_DESC","Click this link to take you to the Simple Machines Forum Administration");


but this is already defined in the modinfo.php

i have commented them out in my install for now, if thats ok ?


//define("_MI_ADMIN", "Forum Administration");
//define("_MI_ADMIN_DESC","Click this link to take you to the Simple Machines Forum Administration");


also in xoops_version.php
it doesnt look like this has been closed correctly:

$modversion
['blocks'][1]['name'] = _MI_SMF_BNAME1;

should be

$modversion
['blocks'][1]['name'] = "_MI_SMF_BNAME1";

( i think lol )
Joolo.net social community and irc network / Yowzar - random subject forum

Orstio

Odd that this works with previous versions of Xoops....

Yes, that's fine.  I'll make sure they're gone for the future.

X-Ception

Quote from: Orstio on February 05, 2006, 09:29:27 PM
Odd that this works with previous versions of Xoops....
I suspect its my server to be honest, thus the indepth searching

QuoteYes, that's fine.  I'll make sure they're gone for the future.
Sorry not nit picking your code, just things i see as im trying to find my solution

on that note
in header.php

include XOOPS_ROOT_PATH.'/modules/smf/functions.php';

have commented this out also.
Joolo.net social community and irc network / Yowzar - random subject forum

X-Ception

Ok if i say to you open_basedir does that mean anything, i suspect thats where my problem is coming from ?
Joolo.net social community and irc network / Yowzar - random subject forum

Orstio

No, the things you are pointing out are legitimate issues that need to be addressed. 

X-Ception

Ok, i have xoops installed at
example.com/core

SMF installed at
example.com/forum

now the path /var/usr/example.com/httpdocs/forum ( thats from memory as im at work but that looks correct to me, white page as i mentioned in previous posts, also using default theme, fresh install.

Now i decided to change the path ( for whatever reason ) to
/httpdocs/forum/

now this presented some errors, which were appreciated as i could finally see something ( w00t ) - from there i could see i was getting open_basedir restriction messages ( unsure if this is just becouse of the path i used, or if this is a restriction in php im not aware of )

BUT using the first mentioned path
/var/usr/example.com/httpdocs/forum

with the exact same setup but the joomla plugin ( i tried it, liked a lot, disliked as much, smf comment mambot impressed though.. ) all worked fine, intergration was flawless. But then the joomla core/plugin are obviously more mature than the xoops one

il keep "plugging" away and see if i can get anywhere, thank you for your assistance thus far, appreciated
Joolo.net social community and irc network / Yowzar - random subject forum

Advertisement: