Home arrow Contact Us
Fatal Error
  Welcome, Guest. Please login or register.
November 21, 2008, 04:45:07 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.1x Support  |  Topic: Fatal Error « previous next »
Pages: [1] Go Down Print
Author Topic: Fatal Error  (Read 13641 times)
lawman
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Fatal Error
« on: March 22, 2005, 02:01:24 AM »

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
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #1 on: March 22, 2005, 04:32:51 AM »

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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #2 on: March 22, 2005, 08:16:37 AM »

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
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #3 on: March 22, 2005, 02:18:21 PM »

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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #4 on: March 23, 2005, 06:27:53 PM »

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 49


Seems like I'm missing this SSI.php file... Undecided, but it is in the directory where smf is installed.
« Last Edit: March 23, 2005, 06:49:13 PM by lawman » Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #5 on: March 24, 2005, 02:34:37 AM »

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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #6 on: March 24, 2005, 06:38:58 AM »

I added the code before the /head tag already... I cut and pasted it so there shouldn't be any typos.  Huh

?>
<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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #7 on: March 24, 2005, 07:08:35 AM »

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
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #8 on: March 24, 2005, 01:46:42 PM »

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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #9 on: March 24, 2005, 08:26:14 PM »

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.  Grin

Perhaps one day I'll be able to respond with some help as well... but probably not any time soon  Wink.

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
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #10 on: March 24, 2005, 09:24:15 PM »

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
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #11 on: March 24, 2005, 11:06:53 PM »

That was the first thing I checked... it is set to public and still tells me I'm not authorized.  Cry
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #12 on: March 24, 2005, 11:49:13 PM »

try to look more on your settings. how about the module?
Logged
lawman
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Fatal Error
« Reply #13 on: March 26, 2005, 08:18:56 AM »

Changing doctype=xhtml to doctype=html fixed the outta proportions of the forum and after I updated I was able to get everything working.  Grin

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.  Shocked
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Fatal Error
« Reply #14 on: March 26, 2005, 07:23:59 PM »

I will release a template soon that make use of it. Then maybe you can just base your template from it.
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.1x Support  |  Topic: Fatal Error « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE