View Full Version : 4.7 rc4 "View Site"
richt44
09-17-2004, 11:18 PM
Hi,
After upgrading to 4.7 rc4, we receive the following error when trying to go to a website that has been upgraded:
'Error: Could not open site configuration file (sohoadmin/config/host.conf.php).'
Thanks.
christobal
09-18-2004, 03:10 AM
I assume that you are running SMT on a windows machine with Apache, if this is the case then you need to change certain Global statements as this configuration is not handled correctly by the interpreter it assumes you are a Linux type machine.
The files in question are as below relative to WWW directory
\pgm-site_config.php
\subscription\pgm-db_config.php
\sohoadmin\client_files\newsletter\pgm-db_config.php
\sohoadmin\client_files\base_files\pgm-site_config.php
In each file add remarks to code as in example below
// Register as global for use elsewhere
//if (!session_is_registered("WIN_FULL_PATH")) { session_register("WIN_FULL_PATH"); }
$WIN_FULL_PATH = ""; // For Linux Servers
$filename = "sohoadmin/config/isp.conf.php";
// Let's Look at what global vars are available to us so that we can determine
// if this is a Windows Server, Windows Server w/Sphera or Linux Server
//if (eregi("WIN", $WINDIR)) { // Windows Server
// $WIN_FULL_PATH = $PATH_TRANSLATED;
// $tmp = eregi_replace("/","\\\\", $PHP_SELF);
// $WIN_FULL_PATH = eregi_replace("$tmp", "", $WIN_FULL_PATH);
// Set the configuration file location using full path (Win)
// $filename = $WIN_FULL_PATH . "\\sohoadmin\\\\config\\\\isp.conf.php";
//} // End Build Win Full Path
richt44
09-18-2004, 09:48 AM
Hi christobal,
Thanks for the response. I guess I am wondering if there should be a 'host.conf.php' file at all? This seems to be new for 4.7 rc4. It runs fine in reference to 'isp.conf.php.'
Is it created in setup.php? Then, how do we create it after a simple file copy for upgrades?
Since we were told not to run setup.php again?
Thanks.
Rich
I assume that you are running SMT on a windows machine with Apache, if this is the case then you need to change certain Global statements as this configuration is not handled correctly by the interpreter it assumes you are a Linux type machine.
The files in question are as below relative to WWW directory
\pgm-site_config.php
\subscription\pgm-db_config.php
\sohoadmin\client_files\newsletter\pgm-db_config.php
\sohoadmin\client_files\base_files\pgm-site_config.php
In each file add remarks to code as in example below
// Register as global for use elsewhere
//if (!session_is_registered("WIN_FULL_PATH")) { session_register("WIN_FULL_PATH"); }
$WIN_FULL_PATH = ""; // For Linux Servers
$filename = "sohoadmin/config/isp.conf.php";
// Let's Look at what global vars are available to us so that we can determine
// if this is a Windows Server, Windows Server w/Sphera or Linux Server
//if (eregi("WIN", $WINDIR)) { // Windows Server
// $WIN_FULL_PATH = $PATH_TRANSLATED;
// $tmp = eregi_replace("/","\\\\", $PHP_SELF);
// $WIN_FULL_PATH = eregi_replace("$tmp", "", $WIN_FULL_PATH);
// Set the configuration file location using full path (Win)
// $filename = $WIN_FULL_PATH . "\\sohoadmin\\\\config\\\\isp.conf.php";
//} // End Build Win Full Path
Ruben
09-18-2004, 10:26 AM
Hi,
After upgrading to 4.7 rc4, we receive the following error when trying to go to a website that has been upgraded:
'Error: Could not open site configuration file (sohoadmin/config/host.conf.php).'
Thanks.
host.conf.php is indeed created when you run the setup.
im not sure if it would be possible to do a simple filetransfer to update the files without running the setup. ny guess is 'no' at this moment.
christobal
09-18-2004, 11:22 AM
Even after running the setup program I was originally left without the host.conf.php file. Since I am running a single domain I figured that the details required should be no different from those found in the isp.config.php file, so all I did was copy, paste and rename the the isp.config.php file to host.conf.php and all works.
#############################
NOTE
THIS IS CORRECT FOR A SINGLE DOMAIN SITE
PLEASE CHECK WITH SOHOLAUNCH HOW THIS ISSUE IS HANDLED FOR MULTI DOMAIN LICENSES.
###############################
Ruben
09-18-2004, 11:26 AM
Christobal,
could you try to put a #SLOGAN# tag in one of your templates and put some text in the slogan settings under 'template manager' to see if it works? the text won't show up with me, so was wondering if it works with you.
christobal
09-18-2004, 01:22 PM
Ruben I am using template Sport Hunting(start page) modified:
see http://christobal.netzer.org.il
Top left hand corner
If you have a W409 x H160 Image you want in the top, you want replace it with the one in the template if you want. that way the top right part of the companyname will also stay visible.
I have uploaded the same template, but with the new news tag, which i will send you by mail if you want. or you can just change #NEWSBOX# in the index.html of the template to #NEWSBOX-50# or #NEWSBOX-100# to show the first 50 or 100 characters of text of the article.
Ruben
09-18-2004, 01:53 PM
ouch, what did you do with the template? its unreconizable :)
If you need any help, please let me know.
I see that the slogan works yes.
could you also try to change #NEWSBOX# to #NEWSBOX-50# ? and put more than 100 characters of text in a news item?
thanks,
Ruben
christobal
09-18-2004, 02:04 PM
ouch, what did you do with the template? its unreconizable :)
If you need any help, please let me know.
I see that the slogan works yes.
could you also try to change #NEWSBOX# to #NEWSBOX-50# ? and put more than 100 characters of text in a news item?
thanks,
Ruben
Dont worry Ive kept the originals. I was just playing around with RTL html tags and behaviours. P.s. The repeating list problem in the blog choose subject..... dropdown box has been fixed in RC4 ...
christobal
09-18-2004, 02:20 PM
Have changed tag to #NEWSBOX-50# but have yet to see the difference! see link from before
richt44
09-18-2004, 03:52 PM
Well, I tried a copy/paste of isp.conf.php-rename to host.conf.php and it seems to work :(
I'd like to hear the official word on this, since it seems like a shot in the dark work around.
My isp.conf.php is different from christobals'. I will wait on updating all of my other client sites until we hear the official info.
Anxiously awaiting word on this!
Thanks.
Rich
Ruben
09-18-2004, 03:58 PM
hmmm, does not seem to work yet. you have the latest 4.7 RC4 right?
richt44
09-18-2004, 05:48 PM
Hi,
Yep, 4.7rc4.
It's working after putting in a "fake" 'host.conf.php' file. ---or at least I think it is :-)
We can view the site and make changes as normal--except for the meta tag 'keywords', which I describe in another thread....
hmmm, does not seem to work yet. you have the latest 4.7 RC4 right?
Cameron Allen
09-20-2004, 09:42 AM
Re-download RC4, this has been fixed, the problem occured when upgrading from 4.6 to 47. Users should not have expierienced this problem when doing a fresh install. Sorry for this miscalculation.
richt44
09-20-2004, 05:50 PM
Ok, this was on sites running 4.7 beta 2 previously.
Thanks for the reply.
Re-download RC4, this has been fixed, the problem occured when upgrading from 4.6 to 47. Users should not have expierienced this problem when doing a fresh install. Sorry for this miscalculation.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.