Hello,
I discovered to late that my webhost only uses windows servers. After contacting the helpdesk, they gave me some very helpful suggestions to make Indexhibit work on a windows server. It didn't work immediately, but after some tweaking it finally works for me. This is what I did:
in the file ndxz-studiodefaults.php, change this code:
$adjust = realpath(dirname(__FILE__));
define('BASENAME', '/ndxz-studio');
define('DIRNAME', str_replace(BASENAME, '', $adjust));
$self = (dirname($_SERVER['PHP_SELF']) == '/') ? '' : dirname($_SERVER['PHP_SELF']);
$base = 'http://' . $_SERVER['HTTP_HOST'] . $self . '/';
$base = str_replace(BASENAME, '', $base);
define('BASEURL', preg_replace('//$/i', '', $base)); // no trailing slashes
to this code:
$adjust = '/domains/yourdomain.com/wwwroot/ndxz-studio';
define('BASENAME', '/ndxz-studio');
define('DIRNAME', str_replace(BASENAME, '', $adjust));
$self = (dirname($_SERVER['PHP_SELF']) == '/') ? '' : dirname($_SERVER['PHP_SELF']);
$base = 'http://' . $_SERVER['HTTP_HOST'] . $self ;
$base = str_replace('', '', $base);
$base = str_replace(BASENAME, '', $base);
define('BASEURL', preg_replace('//$/i', '', $base)); // no trailing slashes
Replace yourdomain.com with your website adres, and make sure the Indexhibit files are installed in your www-root.
Next:
In the file ndxz-studiolibfront.php
replace:
.BASEURL.BASENAME.
with:
.BASEURL.'/'.BASENAME.
And finally it is suggested to use PHP4 instead of 5, because of the CRT warnings. Normally you can change this in the settings panel of your webhost. Otherwise contact your webhost.
This should do the job.
best
Adri