Template Hell!~ m running
4.5 Stable-1.0.9 [Spider]
some of the templates that came with the install will not work.
i get the error
Fatal error: Call to undefined function: mosshowhead()
i get this in (javabean)(solarflare)(technocity)
after going into the index.php of the ones that don't work and ones that do work i have found something in common with them.
that ones that DO WORK look like this
<title><?php echo $mosConfig_sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>
that is lines 7 - 14
the ones that DO NOT WORK look like this
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
even if i download templates FOR 4.5x they will not work unless they are coded with the above pasted working code
whats the deal!??! |