Posted on: 04/12/07 09:28pm
By: maggs
I can access admin ok but not the root of the site. GL is running on Win 2003 IIS PHP 5.2.1 and MSSQL 2005. My config file paths are below.
The GL files are located in C:\geeklog-1.4.1\ The standard folder layout is used.
IIS has the site setup with the home diectory as C:\geeklog-1.4.1\public_html
Text Formatted Code
$_CONF['path'] = 'c:/geeklog-1.4.1/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
$_CONF['path_html'] = 'c:/geeklog-1.4.1/public_html/';
// $_CONF['path_html'] = $_CONF['path'] . 'public_html/';
I am sure the paths are wrong but can't seem to get it right. I remember somewhere I read that IIS needs virtual directories setup to point to the public_html folder but that doesn't make sense if the site is already pointing at the folder.
Please help.
Steve
Re: Windows path problems
Posted on: 04/12/07 11:15pm
By: jmucchiello
Why'd you start a new thread?
What does $_CONF['site_url'] contain?
Re: Windows path problems
Posted on: 04/12/07 11:23pm
By: maggs
I started a new thread because the problem has changed and the old subject doesn't reflect the issue anymore.
$_CONF['site_url'] = 'http://www.zonadocs.com';
Steve
Re: Windows path problems
Posted on: 04/13/07 12:05am
By: jmucchiello
And that machine pings as www.zonadocs.com? IOW, is this the real system where DNS will hit that address?
Random stab, are you sure IIS is set to default to index.php if no index.htm is found?
Re: Windows path problems
Posted on: 04/13/07 12:17am
By: maggs
This is just a test domain. The production version will be on another machine.
The default document is set to index.php
The DNS is ok as you can get to the admin ok. The site is using host headers to redirect to the correct site. Maybe this could be a problem?
This is giving me a brain ache

Time to shutdown and try again tomorrow.
Re: Windows path problems
Posted on: 04/13/07 01:19am
By: Anonymous (ironmax)
Quote by: maggsI can access admin ok but not the root of the site. GL is running on Win 2003 IIS PHP 5.2.1 and MSSQL 2005. My config file paths are below.
The GL files are located in C:geeklog-1.4.1 The standard folder layout is used.
IIS has the site setup with the home diectory as C:geeklog-1.4.1public_html
Text Formatted Code
$_CONF['path'] = 'c:/geeklog-1.4.1/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
$_CONF['path_html'] = 'c:/geeklog-1.4.1/public_html/';
// $_CONF['path_html'] = $_CONF['path'] . 'public_html/';
I am sure the paths are wrong but can't seem to get it right. I remember somewhere I read that IIS needs virtual directories setup to point to the public_html folder but that doesn't make sense if the site is already pointing at the folder.
Please help.
Steve
Try renaming your directory geeklog-1.4.1 to soming else without a period in the directory naming scheme. I know that I've had problems with windows using that style in the past, and haven't tried in since. Also why did you change this line $_CONF['path_html'] = 'c:/geeklog-1.4.1/public_html/'; When its supposed to read
Text Formatted Code
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
If you comment out your line that you changed, remove the // from the other line, and make the directory name change...I believe you should be working then.
Michael
Re: Windows path problems
Posted on: 04/13/07 08:15am
By: maggs
I changed the install directory name to c:/geeklog and changed all refrences in all config files to match. My paths section now reads;
Text Formatted Code
$_CONF['path'] = 'c:/geeklog/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = 'c:/geeklog/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
The error is unchanged. I can still access admin pages and not the root.
Re: Windows path problems
Posted on: 04/13/07 08:40am
By: maggs
Success at last. There must have been a corrupt file somewhere. I decompessed the download with winrar again and overwrote all files. Copied back in my original config.php and lib-common.php and I'm up and runnin. :banana:
The only error I have now is the trackback. I remember reading about some issues on that so I will research that myself.
Thanks to all who helped.