lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
After installing smf (on mambo 4.5.2) I get:
Fatal error: Call to undefined function: db_error() in /home/doulos/public_html/forum/Sources/Subs.php on line 234
any ideas? |
|
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
Ok, this is different now. Because Subs.php is not even a moded file.
What is the version of your SMF? Did you check if SMF is working as a standalone? Go to yoursite/forum to check it.
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
Ok standalone is working now - when I installed in the same database I named the table prefix the same, both mos_ for mambo and smf, and it messed up. When I named the smf prefix as smf_ the install finished correctly.
I do have some errors on the login but I'll try a new install later today and see if that clears those up. The new errors are in the smf-login and are as follows:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/doulos/public_html/forum/Sources/Subs.php on line 232
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/doulos/public_html/forum/Sources/Load.php on line 40
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/doulos/public_html/forum/Sources/Load.php on line 42
Notice: Undefined index: time_format in /home/doulos/public_html/forum/Sources/Load.php on line 176
Notice: Undefined index: theme_guests in /home/doulos/public_html/forum/Sources/Load.php on line 657
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/doulos/public_html/forum/Sources/Subs.php on line 232
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/doulos/public_html/forum/Sources/Load.php on line 683
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/doulos/public_html/forum/Sources/Load.php on line 693
Notice: Undefined index: theme_url in /home/doulos/public_html/forum/Sources/Load.php on line 700
Notice: Undefined index: images_url in /home/doulos/public_html/forum/Sources/Load.php on line 701
Notice: Undefined index: theme_dir in /home/doulos/public_html/forum/Sources/Load.php on line 702
Notice: Undefined index: smiley_sets_known in /home/doulos/public_html/forum/Sources/Load.php on line 721
Notice: Undefined index: smiley_sets_default in /home/doulos/public_html/forum/Sources/Load.php on line 721
Warning: array_unshift(): The first argument should be an array in /home/doulos/public_html/forum/Sources/Load.php on line 762
Notice: Undefined index: theme_dir in /home/doulos/public_html/forum/Sources/Load.php on line 822
Notice: Undefined index: default_theme_dir in /home/doulos/public_html/forum/Sources/Load.php on line 824
Notice: Undefined index: default_theme_dir in /home/doulos/public_html/forum/Sources/Load.php on line 831 index
Thanks for the response - I'll keep ya posted.
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
When you install SMF, use "smf_" prefix, not "mos_". It will help you distinguish which is MOS and SMF. Besides, on the component configuration, you can specify the prefix of each.
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
Ok... started with a fresh install of mambo and SMF. SMF, as a standalone, works fine. Setup SMF-Mambo Integration according to instructions and waalaa... I got this error: Warning: main(): open_basedir restriction in effect. File(/SSI.php) is not within the allowed path(s): (/home/doulos:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/doulos/public_html/templates/rhuk_solarflare_ii/index.php on line 49
Warning: main(/SSI.php): failed to open stream: Operation not permitted in /home/doulos/public_html/templates/rhuk_solarflare_ii/index.php on line 49
Fatal error: main(): Failed opening required '/SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/doulos/public_html/templates/rhuk_solarflare_ii/index.php on line 49Seems like I'm missing this SSI.php file...  , but it is in the directory where smf is installed.
|
|
|
|
« Last Edit: March 23, 2005, 06:49:13 PM by lawman »
|
Logged
|
|
|
|
|
Editor (cowboy)
|
go to the component administration. There you see that you need to put a piece of code to your Mambo Template index.php file.
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
I added the code before the /head tag already... I cut and pasted it so there shouldn't be any typos.  ?> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css"/> <?php global $sc, $context; if (!defined('SMF')) { if (file_exists($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php")) { require ("administrator/components/com_smf/config.smf.php"); require ($smf_path."/SSI.php"); } } $sc = &$context['session_id']; $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT']; ?> </head> <body>
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
Alrighty... when I checked the config.smf.php the smf_path was empty so I added it and the forums came up. The file was writable... so I'm not sure why it didn't add it.
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
It's probably not writable. Unless there's really something wrong with the code where it's not editing the config. Can you please verify.
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
Admin said: "I aplologize for those who pulled their hairs off. My enhancements on 1.1 caused an error in editing the config.smf.php." No need to apologize... I'm very grateful for the time you take to make public your smf bridge and am amazed at the speed at which you respond and update.  Perhaps one day I'll be able to respond with some help as well... but probably not any time soon  . Two issues that I need to address now are: 1. When I try and create an account using the Mabo-SMF login it tells me that I am not authorized to view this page. 2. SMF is huge (as in huge fonts and boxes that squnch up the right and left columns in Mambo) in Internet Explorer but perfect in Firefox.
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
I got a lot of time in my hands this week. I don't know about next week though. =D. That's why I wanna fix major issues at least.
1. You need to publish the component as "public" 2. You need to get a better SMF template that suits your website. Go to SMF forums about templates.
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
That was the first thing I checked... it is set to public and still tells me I'm not authorized. 
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
try to look more on your settings. how about the module?
|
|
|
|
|
Logged
|
|
|
|
lawman
Joomla Newbie
Karma: +0/-0
Offline
Posts: 25
|
Changing doctype=xhtml to doctype=html fixed the outta proportions of the forum and after I updated I was able to get everything working.  Now I just need to clean up the template to match the site. Another question though... how would I hide the left and or right column, or both when I open the forum. I saw the thread in the how-to's section below about using the "Wide View, Full View, Menu View" but in all my novice glory I didn't understand what you were saying to do with it. 
|
|
|
|
|
Logged
|
|
|
|
|
Editor (cowboy)
|
I will release a template soon that make use of it. Then maybe you can just base your template from it.
|
|
|
|
|
Logged
|
|
|
|
|