True temp. solution for this problem is to add fuction to settings.php for path variables and then to call it in subs-post.php:
code to be added in settings.php:
function joomlaconf($promenljiva) {
require ("../configuration.php");
return $$promenljiva;
}
and then in subs-post.php replace
global $mosConfig_absolute_path;
with
$mosConfig_absolute_path = joomlaconf('mosConfig_absolute_path');
For the final solution of this problem best is to set up a class with Joomla settings
This fix was written by popeye at
www.linuxo.net