Home arrow Forum moving from local to host errors
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 10:35:54 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  moving from local to host errors
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: moving from local to host errors  (Read 2101 times)
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
moving from local to host errors
« on: October 16, 2006, 06:54:02 AM »

Got JSMF running on my local test site and trying to now get the site online.

I got this error:
.............................
Warning: main(W:/www/NEW_Eventful_holidays/forum/SSI.php) [function.main]: failed to open stream: No such file or directory in /home/eventful/public_html/index.php on line 59

Fatal error: main() [function.require]: Failed opening required 'W:/www/NEW_Eventful_holidays/forum/SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eventful/public_html/index.php on line 59
.............................
I am a newbe at php...
problem I though was that it was searching in a local drive i.e.
W:/www/NEW_Eventful_holidays

tried changing settings in In forum>settings.php:
FROM
$boardurl = 'http://localhost:85/NEW_Eventful_holidays/forum';      #
TO
$boardurl = 'http://www.eventfulholidays.com/forum';

AND FROM
$boarddir = 'W:\\www\\NEW_Eventful_holidays\\forum';
$sourcedir = 'W:\\www\\NEW_Eventful_holidays\\forum/Sources';
TO
$boarddir = '/home/eventful/public_html/forum';
$sourcedir = '/home/eventful/public_html/forum/Sources';

The code I put in is similar to the top level Configuation settings that work, so not sure what is going wrong.

Any help much appreciated.
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
liyenn
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: moving from local to host errors
« Reply #1 on: October 16, 2006, 11:12:30 PM »

I'm also a newbie working from localhost to online now..
mmm... maybe you can try this:

Code:
$boarddir = $_SERVER['DOCUMENT_ROOT'].'/forum';
$sourcedir = $_SERVER['DOCUMENT_ROOT'].'/forum/Sources';
   


by the way, remember to go to your Components>Joomla-SMF Forum> Istallation
to set the SMF Absolute Path.

If i told anything wrong or miss out any step, please let me know... hehehe...  Smiley
Logged
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: moving from local to host errors
« Reply #2 on: October 18, 2006, 08:03:59 AM »

Trying your suggestion:
I'm also a newbie working from localhost to online now..
mmm... maybe you can try this:

Code:
$boarddir = $_SERVER['DOCUMENT_ROOT'].'/forum';
$sourcedir = $_SERVER['DOCUMENT_ROOT'].'/forum/Sources';
   

Now I am getting:
Warning: main(home/xxxx/public_html/forumforum/SSI.php) [function.main]: failed to open stream: No such file or directory in /home/xxxx/public_html/index.php on line 59

Fatal error: main() [function.require]: Failed opening required 'home/xxxx/public_html/forumforum/SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/index.php on line 59

See how there is a double "forumforum" Lookined through different files, just cannot see where I have added the extra forum, manybe...

I did change the Components>Joomla-SMF Forum> Istallation[/b]
to set the SMF Absolute Path although it did give me an ERROR flag when I saved it and now I am locked out of my local with an error message as well. When the Instalation setting is changed, any idea of where in the code that is affected, so I can work on adjusting it back from the code, outside of Joomla itself?
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: moving from local to host errors
« Reply #3 on: October 21, 2006, 08:46:22 AM »

I got mixed up in the setting changes when moving from my local server to host, so now I am backtracking by trying to reset my local one working. Maybe, I thought I did the wrong thing by preparing my local site path settings then down loading it. I think I should have downloaded it then made the path setting changes. So, anyway, since I am mixed up I am working on getting the local one working.

I am getting:

Warning: main(home/eventful/public_html/forum/SSI.php) [function.main]: failed to open stream: No such file or directory in W:\www\NEW_Eventful_holidays\index.php on line 59

Fatal error: main() [function.require]: Failed opening required 'home/eventful/public_html/forum/SSI.php' (include_path='.;\usr\local\PHP\includes;w:/www/mambo45') in W:\www\NEW_Eventful_holidays\index.php on line 59

The "home/eventful/public_html/forum" path is for the host, so I am trying to change it back to "W:\www\New_Eventful_holidays\forum". What I have done is change the $boarddir  and $sourcedir lines of code in the Configuration.php files in the root and in the forum root. So they are like this:
$boarddir = 'W:\www\New_Eventful_holidays\forum';
$sourcedir = 'W:\www\New_Eventful_holidays\forum\Sources';

I have looked and looked but cannot find any other files with "home/eventful/public_html/forum/" to change. After my changes I still get the error message above. Anyone got an idea how I can fix this issue?
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: moving from local to host errors
« Reply #4 on: October 21, 2006, 10:50:04 AM »

I am getting:

Warning: main(home/eventful/public_html/forum/SSI.php) [function.main]: failed to open stream: No such file or directory in W:\www\NEW_Eventful_holidays\index.php on line 59
First of all, it appears you joomla install is in the directory W:\www\NEW_Eventful_holidays\.  That is windows, but you are giving it a unix path.  Further, you have no forward slash for your SMF path.  Remember, the path cannot be relative, it must be absolute.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
liyenn
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: moving from local to host errors
« Reply #5 on: October 21, 2006, 02:23:35 PM »


I have looked and looked but cannot find any other files with "home/eventful/public_html/forum/" to change. After my changes I still get the error message above. Anyone got an idea how I can fix this issue?

have you set the absolute path under Components>Joomla-SMF Forum> Istallation??
« Last Edit: October 21, 2006, 02:25:14 PM by liyenn » Logged
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: moving from local to host errors
« Reply #6 on: October 22, 2006, 12:23:37 AM »

have you set the absolute path under Components>Joomla-SMF Forum> Istallation??

Yes, but because of the error, I cannot get into Joomla to change it. I can only access the Joomla files through the Windows interface. That is why I was hoping the "Components>Joomla-SMF Forum> Istallation" setting was for example in the Configuration.php file.
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: moving from local to host errors
« Reply #7 on: October 22, 2006, 05:34:55 AM »

First of all, it appears you joomla install is in the directory W:\www\NEW_Eventful_holidays\.  That is windows, but you are giving it a unix path.  Further, you have no forward slash for your SMF path.  Remember, the path cannot be relative, it must be absolute.

Do you mean that it should be like:
$boarddir = 'W:/www/NEW_Eventful_holidays/forum';
$sourcedir = 'W:/www/NEW_Eventful_holidays/forum/Sources';
in the top joomla and SMF Settings.php files?

The "home/eventful/public_html/forum/" was what I put into the Joomla-SMF component install area - mistake I think, but of course now I cannot see any file with that in? Not in Settings.php files, couldn't find anything in the database?
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: moving from local to host errors
« Reply #8 on: October 25, 2006, 08:32:33 AM »

First of all, it appears you joomla install is in the directory W:\www\NEW_Eventful_holidays\.  That is windows, but you are giving it a unix path.  Further, you have no forward slash for your SMF path.  Remember, the path cannot be relative, it must be absolute.

Yes, I got myself confused here along with my learnign curve. Im setting up Joomla site for the first. Now I am rebuilding my site locally and I will have another go of moving it online in a week or two - hopefully I will get it right. By the way the Joomla -SMF integration is working really well on my local test site - all integrated with CB and the discuss bot is great.
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
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