Osvaldas Posted January 31, 2012 Share Posted January 31, 2012 I updated my prestashop from 1.3 to 1.4.6.2. So now i want to install slider, I have uploaded that module files via ftp to modules folder. Then go to back office- modules- click install and nothing happens? whats wrong with it? Need emergency help thanks! Youtube link- Link to comment Share on other sites More sharing options...
_matis_ Posted January 31, 2012 Share Posted January 31, 2012 Hi, try to turn on display errors in config/config.inc.php @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); Maybe the slider module is not compatible with 1.4 ... Link to comment Share on other sites More sharing options...
Osvaldas Posted January 31, 2012 Author Share Posted January 31, 2012 I got Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/baldinis/domains/baldinis.lt/public_html/modules/carouselfeatured/classes/CategoryDao.php on line 29. In CategoryDao.php lines there is this code: 24 class CategoryDao{ 25 26 private static $NON_EMPTY_CATEGORY_QUERY = null; 27 28 public function __construct(){ 29 if ($this::$NON_EMPTY_CATEGORY_QUERY == NULL) 30 { 31 $this::$NON_EMPTY_CATEGORY_QUERY = 'SELECT DISTINCT c.id_category FROM '._DB_PREFIX_.'category c JOIN '._DB_PREFIX_.'category_product cp ON c.id_category=cp.id_category WHERE c.active = 1 AND cp.id_product IS NOT NULL'; } } what is wrong? Link to comment Share on other sites More sharing options...
_matis_ Posted January 31, 2012 Share Posted January 31, 2012 try to replace "::" with "->" on lines 29 and 31 $this->$NON_EMPTY_CATEGORY_QUERY 1 Link to comment Share on other sites More sharing options...
Osvaldas Posted January 31, 2012 Author Share Posted January 31, 2012 I replaced all "::" with "->" and now i have another error. Parse error : syntax error, unexpected T_OBJECT_OPERATOR in /home/baldinis/domains/baldinis.lt/public_html/modules/carouselfeatured/classes/CategoryDao.php on line 47 File code: http://codepaste.net/dzc9dw Thanks Link to comment Share on other sites More sharing options...
_matis_ Posted January 31, 2012 Share Posted January 31, 2012 you must correct these lines: line 47: if ($nonEmptyCategoryIds = Db::getInstance()->ExecuteS($this->$NON_EMPTY_CATEGORY_QUERY)){ line 88: $psLangDefault = Configuration::get('PS_LANG_DEFAULT'); Link to comment Share on other sites More sharing options...
Osvaldas Posted January 31, 2012 Author Share Posted January 31, 2012 Okey, we are one step closer ) After editing line 47 and 88, I managed to install the module. But now there is another problem In front office there is error: Fatal error: Call to undefined function str_getcsv() in /home/baldinis/domains/baldinis.lt/public_html/modules/carouselfeatured/carouselfeatured.php on line 122 In back office, when I click configure that module, I get Fatal error: Cannot access empty property in /home/baldinis/domains/baldinis.lt/public_html/modules/carouselfeatured/classes/CategoryDao.php on line 29 Link to comment Share on other sites More sharing options...
_matis_ Posted January 31, 2012 Share Posted January 31, 2012 I have downloaded and installed Tabbed Carousel module without any errors and modification (which I've posted before). The module is fully working in 1.4.6.2 (PHP 5.3.3) The same problem with instalation and configuration have also other users in this topic: [Free Module] Multi Tabbed Product Carousel (Over 200 Downloads) 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