Template error on 6.0 to 6.1.2 upgrade

Hi,

I just did an upgrade on a site from 6.0 to 6.1.2 following the upgrade instructions carefully.   I thought everything went smoothly and I got a "upgrade completed successfully" message but I did get one error message midway through the upgrade:

--------------

Adding new localization keys and strings (only for english)...
MySQL error: Duplicate entry '_Total' for key 2. OK

--------------

Then, when I then went to the homepage for the first time since the upgrade, I got this message:

-----------------

Warning: main(/var/www/vhosts/mydomain.com/httpdocs/templates/base/scripts/BxBaseCmtsView.php): failed to open stream: No such file or directory in /var/www/vhosts/mydomanin.com/httpdocs/templates/tmpl_uni/scripts/BxTemplCmtsView.php on line 3

Fatal error: main(): Failed opening required '/var/www/vhosts/mydomain.com/httpdocs/templates/base/scripts/BxBaseCmtsView.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/mydomain.com/httpdocs/templates/tmpl_uni/scripts/BxTemplCmtsView.php on line 3

------------------

I looked at that "BxTemplCmtsView.php" file and there doesn't seem to be much there:

-------------------

<?
require_once( BX_DIRECTORY_PATH_BASE . 'scripts/BxBaseCmtsView.php' );
class BxTemplCmtsView extends BxBaseCmtsView
{
function BxTemplCmtsView( $sSystem, $iId, $iInit = 1 )
{
BxBaseCmtsView::BxBaseCmtsView( $sSystem, $iId, $iInit );
}
}
?>

--------------------

Can anyone give me a hand with this one?

Thanks

Rob

Quote · 27 Jun 2008

Anyone?  Maybe I gave too much information in the post- here is the error I now get when going to the site after the 6.0 to 6.1.2. upgrade.

Fatal error: main(): Failed opening required '/var/www/vhosts/mydomain.com/httpdocs/templates/base/scripts/BxBaseCmtsView.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/mydomain.com/httpdocs/templates/tmpl_uni/scripts/BxTemplCmtsView.php on line 3

Quote · 30 Jun 2008

Yes, you should uprgade sources of your template (you need fresh files)

Quote · 1 Jul 2008

Hey, I had the same problem, it seems that with the upgrade to Dolphin, they added extra files within the template directory.

tmpl_{name}/scripts/ has a few more files, which some require modification.

I'm currently updating about 6 templates, it's really a pain.

Boonex really should start to document changes to things like this, to help their customers get things working without too much hassle.

Quote · 17 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.