I've tried to impliment a new theme on my commerce website with Acquia Prosper theme. I've gotten all the requirements that it needs such as Fusion theme and the module Skinr. Once I've FTP'd it onto my website, and ran it as a default theme. This errors comes up:

"Fatal error: Cannot redeclare mMM_integrity() (previously declared in /usr/lib/php/head.php:6) in /usr/lib/php/head.php on line 0"

I have no idea how to fix this, any help would be appreciated.

Comments

athanor’s picture

I'm getting same error, but is seems it has to do something with Fusion becuse it shows up after enabling default Fusion Starter theme.

Strange enough it works fine on my laptop and Bitnami stack, probem appears on 000webhosting server.

I've checked all issues and bugs for Acquia Prosper and Fusion and it's not reported there....

CloudCuckoo’s picture

A file called head.php has already been called.

Rename the head.php file to header.php then edit the page.tpl.php file to call header.php instead of head.php.

<?php
// $Id: page.tpl.php,v 1.1.2.1 2009/09/29 04:18:15 sociotech Exp $
?><?php include('head.php'); ?><!-- head section separated for easier maintenance -->

to

<?php
// $Id: page.tpl.php,v 1.1.2.1 2009/09/29 04:18:15 sociotech Exp $
?><?php include('header.php'); ?><!-- head section separated for easier maintenance -->

Both files are in the fusion_core directory of the fusion theme, presumably at sites/all/themes/fusion/fusion_core. You'll also have to change the same files in the Aquia Prosper theme.