Jump to content

Recommended Posts

I cannot update the Image Slider module at PS 1.6 (default´s theme).

This is the message I´ve got.

 

[PrestaShop] Fatal error in module install-1.3.2:
Call to undefined method Tools::recurseCopy()

 

Could anybody help me??

What should I do???

 

Thank you.

Link to comment
Share on other sites

Done.

This is he message I´ve got.

 

Fatal error: Call to undefined method Tools::recurseCopy() in /homepages/31/d510538988/htdocs/modules/homeslider/upgrade/install-1.3.2.php on line 9
[PrestaShop] Fatal error in module install-1.3.2:
Call to undefined method Tools::recurseCopy()

Link to comment
Share on other sites

Here you are the code of

 /homepages/31/d510538988/htdocs/modules/homeslider/upgrade/install-1.3.2.php on line 9

 

Line in red   is where the error is supposed to be.

Do you know what shoud I do???:

 

<?php

 
if (!defined('_PS_VERSION_'))
exit;
 
function upgrade_module_1_3_2($module)
{
if (Tools::file_exists_cache($module->getLocalPath().'images'))
Tools::recurseCopy($module->getLocalPath().'images', $module->getLocalPath().'img', true);
 
Tools::clearCache(Context::getContext()->smarty, $module->getTemplatePath('homeslider.tpl'));
 
return true;
}
Link to comment
Share on other sites

Hello again.

 

1.- Deleted.

modules/homslider/upgrade and delete or rename the file install-1.3.2.php 

2.- Smarty cache cleaned up from back office.

3.- Files from cache/smarty/cache deleted (except index.php)

 

Back to back office at MODULES... and NOW WORKING OK!

(HOPE IT DOES FOR A LONG TIME....)

 

THANK YOU TO YOU ALL, GUYS.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...