The domain thing seems to be fine. Basically the zenphoto root folder is also the root of a domain. It just so happens that this folder is nested within the web root of my server, which is under another domain.
The rest of the back end seems to work perfectly, the site works perfectly. Only the general tab within the options page returns this error. And only when i click save options.
The url for the general options tab is:
http://domain.com/zp-core/admin-options.php?page=options&tab=general
And it loads fine. But then after clicking save, on that tab, I get this message:
Not Acceptable
An appropriate representation of the requested resource /zp-core/admin-options.php could not be found on this server.
from this URL:
http://domain.com/zp-core/admin-options.php?action=saveoptions
What confuses me is that these URLS both check out fine, and the rest of the options tabs and admin in general works fine..?
As far as I can tell from admin-options.php, it must be something below line 44?
`
/*** General options ***/
if (isset($_POST['savegeneraloptions'])) {
if (isset($_POST['allowed_tags_reset'])) {
setOption('allowed_tags', getOption('allowed_tags_default'));
} else {
$tags = $_POST['allowed_tags'];
$test = "(".$tags.")";
$a = parseAllowedTags($test);
if ($a !== false) {
setOption('allowed_tags', $tags);
$notify = '';
} else {
$notify = '?tag_parse_error';
}
}
setBoolOption('mod_rewrite', isset($_POST['mod_rewrite']));
setOption('mod_rewrite_image_suffix', sanitize($_POST['mod_rewrite_image_suffix'],3));
if (isset($_POST['time_zone'])) {
setOption('time_zone', $tz = sanitize($_POST['time_zone'], 3));
$offset = 0;
} else {
$offset = sanitize($_POST['time_offset'],3);
}
setOption('time_offset', $offset);
setOption('server_protocol', $protocol = sanitize($_POST['server_protocol'],3));
if ($protocol == 'http') {
zp_setcookie("zenphoto_ssl", "", time()-368000, $cookiepath);
}
setOption('charset', sanitize($_POST['charset']),3);
setOption('site_email', sanitize($_POST['site_email']),3);
setBoolOption('tinyMCEPresent', isset($_POST['tinyMCEPresent']));
$oldloc = getOption('locale', true); // get the option as stored in the database, not what might have been set by a cookie
$newloc = sanitize($_POST['locale'],3);
if ($newloc != $oldloc) {
$cookiepath = WEBPATH;
if (WEBPATH == '') { $cookiepath = '/'; }
zp_setCookie('dynamic_locale', $newloc, time()-368000, $cookiepath); // clear the language cookie
$encoding = getOption('charset');
if (empty($encoding)) $encoding = 'UTF-8';
$result = setlocale(LC_ALL, $newloc.'.'.$encoding, $newloc);
if (!empty($newloc) && ($result === false)) {
$notify = '?local_failed='.$newloc;
}
setOption('locale', $newloc);
}
setBoolOption('multi_lingual', isset($_POST['multi_lingual']));
$f = sanitize($_POST['date_format_list'],3);
if ($f == 'custom') $f = sanitize($_POST['date_format'],3);
setOption('date_format', $f);
setBoolOption('UTF8_image_URI', isset($_POST['UTF8_image_URI']));
setOption('captcha', sanitize($_POST['captcha']));
setBoolOption('use_Imagick', isset($_POST['use_Imagick']));
$msg = zp_apply_filter('save_admin_general_data', '');
$returntab = "&tab=general";
}
`
But beyond that I am really out of my depth!
Thank you so much for all your help through my metamorphosis of problems! This really is an excellent system and that's why im being so persistent! Well worth a donation.