Vickym Posted April 20, 2015 Share Posted April 20, 2015 Hi, I have installed and been working on v1.6. I have the default theme but have added a few extra modules. I have previously changed all the CMS page information in the BO and this all went through to front office fine. I have just gone to CMS today and I get this error Fatal error: Uncaught --> Smarty: Plugin tag "includeCOCN" already registered <-- thrown in /home/******/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 449 The CMS pages still appear fine at front office, so it is only a white screen on the back office. I have tried searching the forum and google for a fix but cannot find anything. The rest of the BO and front seems to be working fine. Can anyone help? Thank you. Link to comment Share on other sites More sharing options...
NemoPS Posted April 22, 2015 Share Posted April 22, 2015 I'd search for includeCOCN and see where it's being registered in your presta folder, then remove the duplicate Link to comment Share on other sites More sharing options...
Vickym Posted May 11, 2015 Author Share Posted May 11, 2015 Thanks for the reply. I am not getting any results when I search for includeCOCN in File Manager. Any tips on where I may find it? I am not very code savvy. Could it be related to an add on I have installed? Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted May 13, 2015 Share Posted May 13, 2015 Oh, I fear you have to download the full site's folder as you really have to search inside files, not just browse filenames Link to comment Share on other sites More sharing options...
zerafachris Posted June 14, 2015 Share Posted June 14, 2015 Hi, I am getting the same error as Vickym. I am getting the following error when I try and open the CMS page: Fatal error: Uncaught --> Smarty: Plugin tag "includeCOCN" already registered <-- thrown in /core/www/core_1.6.0.14/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 449 Did you manage to solve the problem? Thanks, Chris Link to comment Share on other sites More sharing options...
NemoPS Posted June 15, 2015 Share Posted June 15, 2015 Very odd, I have the same version but I can't find cocn anywhere. You can try dumping printing out $tag before the error line and see what it's referring to Link to comment Share on other sites More sharing options...
zerafachris Posted June 15, 2015 Share Posted June 15, 2015 Hi Nemo1, I know I am going to sound silly, but I don't have a lot of experience with PrestaShop. What do you mean by "$tag before the error line" ? Should I open smarty_internal_templatebase.php and put in $tag at line 448 ? Thanks, Chris Link to comment Share on other sites More sharing options...
NemoPS Posted June 15, 2015 Share Posted June 15, 2015 Correct, just right at the beginning of the method (registerPlugin)use var_dump($tag); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now