Home arrow Forum Yet Another Fatal Error... :(
  Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 07:18:40 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.1x
| | | |-+  Yet Another Fatal Error... :(
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Yet Another Fatal Error... :(  (Read 4115 times)
Jim
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Yet Another Fatal Error... :(
« on: March 23, 2005, 07:21:43 PM »

Greetings!
I'd love to get this working.. but...
I had version one working fine on another site but have done everything I can to get this one working, but I get the following error:

Code:
Warning: main(/SSI.php): failed to open stream: No such file or directory in W:\www\hipware\templates\hipware1\index.php on line 17

Fatal error: main(): Failed opening required '/SSI.php' (include_path='.;\usr\local\PHP\includes;w:/www/mambo45') in W:\www\hipware\templates\hipware1\index.php on line 17

Just so you know, I'm working locally, but that didn't make a difference on another prototype site I was working on with your other version (1.0)...

I'm almost interested in locating the original version 1 to get it working...

Thanks! Smiley
Logged
Jim
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: Yet Another Fatal Error... :(
« Reply #1 on: March 23, 2005, 08:08:27 PM »

OK...
Please disregard, I finally figured it out LOL... it took me all day but i put in the absolute path where the comment /SSI.php is... apparantly it needed an absolute one to do that.... is this a bug?
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: Yet Another Fatal Error... :(
« Reply #2 on: March 24, 2005, 02:39:02 AM »

My instruction should do everything. I don't know how you went through the installation so I don't have any idea.  Grin
Logged
Jim
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: Yet Another Fatal Error... :(
« Reply #3 on: March 24, 2005, 06:16:11 AM »

My instruction should do everything. I don't know how you went through the installation so I don't have any idea.  Grin

I followed your instructions closely, after doing it a few times... it's working now but for some odd reason, I had to put the ABSOLUTE pate into a couple of documents by hand because the installer didn't do it.  Even in the smf config, I had the absolute path as required but it didn't put that in correnctly.

I know it's not a write issue because I have all permissions set up correctly.

Another weird thing... where the config specifies the ABSOLUTE path, if you try and change it... your config won't allow it... it will simply put it back it what it 'thinks' should be default.. is that working as intended?  I can see this could be a problem for those who many need to change that in the smf config.  I'm wondering if this had to do with my problem.

Thanks again! Smiley
Logged
lawman
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Yet Another Fatal Error... :(
« Reply #4 on: March 24, 2005, 06:41:42 AM »

OK...
Please disregard, I finally figured it out LOL... it took me all day but i put in the absolute path where the comment /SSI.php is... apparantly it needed an absolute one to do that.... is this a bug?

Can you tell me and others which files you editied to get it working...
Logged
Jim
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: Yet Another Fatal Error... :(
« Reply #5 on: March 24, 2005, 07:35:13 AM »

Yeah... this one is a strange thing, and I do believe it is a bug (or just a little glitch in the code...

First things first Smiley

1) I noticed that in my templates "index.php" code, that around line 17 there is a line that says:


if (!defined('SMF')){
  require ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
  require ($smf_path."
/SSI.php");
}


I had to replace it with the path (remember I'm working on a test server, but it's the same thing:

if (!defined('SMF')){
  require ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
  require ($smf_path."
W:/www/hipware/forum/SSI.php");
}


Now, notice I had to put in the full path.  Yours will be different based on your server, for example, it may need to be:

home/public_html/forum/SSI.php
(or something similar).

THEN...
I had to do the same in the smf.php file located in /components/com_smf on or around line 15:

if (!defined('SMF')){
     global $mosConfig_absolute_path;
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/functions.smf.php");
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/functions.smf.main.php");
     require ($smf_path."
/SSI.php");
}


Replace with:

if (!defined('SMF')){
     global $mosConfig_absolute_path;
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/functions.smf.php");
     require_once ($mosConfig_absolute_path."/administrator/components/com_smf/functions.smf.main.php");
     require ($smf_path."
W://www/hipware/forum/SSI.php");
}


or something similar to your server as stated in the first code example.

NOW.. here is the tricky part...
Please let me know if any of you experience this, because it's VERY strange...

In your mambo admin panel, go to SMF Configuration
I noticed that the settings don't stick (even with FULL writing permissions on the config file).  I tried experimenting with the path, and it would insist on putting in what it "thought" was the path, but it's correct.  It wouldn't let me change it.

I opened up the config file (the php file in your administrator/components/com_smf/) and I noticed that the absolute path was BLANK!  I played with this and it was the only way it would stick to what I wanted.  Then it would show up in the SMF configuration in the control panel.

This problem remains...
It still says that SMF is not installed, yet I have it working.  So that leaves the new update feature out of the question.

Can anyone go through the documents that I've stated and experiment and see if your findings are the same?  Or is this all intended? 

In some ways I'd like to revert back to 1.0 until it's fixed, but I deleted the file Sad

Anyway, still a GREAT job on this bridge !!

Keep us up-to-date! I do hope I've helped...

Cheers,
Jim
« Last Edit: March 24, 2005, 07:51:26 AM by Jim » Logged
Jim
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: Yet Another Fatal Error... :(
« Reply #6 on: March 24, 2005, 07:44:28 AM »

OK, I reformatted my above post to make it easier Tongue
« Last Edit: March 24, 2005, 07:52:27 AM by Jim » Logged
Ismim Yok
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Yet Another Fatal Error... :(
« Reply #7 on: March 24, 2005, 11:20:28 AM »

Hi,

I had exactly the same problem Jim had. However Jim's solution didn't work for me. Here is my solution:

I edited only the config_smf.php under administrator/components/com_smf/ and put this as the smf path:

$smf_path = ($mosConfig_absolute_path."/forum");

[In my case smf is located in a subdirectory named forum under the mambo' direcotry.]

So far everything seems to be working. I'll update if anything goes wrong.

Regards,
Ertu
« Last Edit: March 24, 2005, 11:33:04 AM by Ismim Yok » Logged
Kindred
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22


View Profile
Re: Yet Another Fatal Error... :(
« Reply #8 on: March 24, 2005, 12:04:59 PM »

Jim...


You didn't need to actually do all those edits...   what you actually needed was to make certain that config.smf.php is setting the proper path to the forum directory. The rest descends from that...
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: Yet Another Fatal Error... :(
« Reply #9 on: March 24, 2005, 01:43:39 PM »

Your problem seems like the config.smf.php is not writable. If you notice, Mambo has a configuration option that sets files permission settings of files you installed. Look at those settings in Global Configuration.

On 1.2 I made adjustments so future users don't have to worry about this permissions and manually inserting codes.
Logged
aravot
Joomla Pro
**

Karma: +0/-2
Offline Offline

Posts: 89


test/test


View Profile WWW
Re: Yet Another Fatal Error... :(
« Reply #10 on: March 24, 2005, 09:34:44 PM »

On 1.2 I made adjustments so future users don't have to worry about this permissions and manually inserting codes.

Where is 1.2, I was gone install Mambo and SMF tonight but if you are coming out with 1.2 I'll wait.
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: Yet Another Fatal Error... :(
« Reply #11 on: March 24, 2005, 11:50:32 PM »

i'm still working on 1.2, my changes there are mostly on installation process. 1.1a should be fine. I already tested it twice.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login