Wrong path for smarty on Mageia 3
On Mageia 3, when going to http://localhost/fusiondirectory/ to setup FD, I get a Fatal error:
Fatal error: require(): Failed opening required '/usr/share/php/smarty3/Smarty.class.php' (include_path='.:/var/www/fusiondirectory/include:/usr/share/php:/usr/share/php') in /var/www/fusiondirectory/include/php_setup.inc on line 281
That's because smarty is in /usr/share/php/smarty not in /usr/share/php/smarty3 Despite the fact that it is smarty 3, as shown here:
rpm -qif /usr/share/php/smarty | grep rpm
Source RPM : php-smarty-3.1.11-4.mga3.src.rpm
Could there be a problem if FD expects smarty 2 to be at /usr/share/php/smarty ?
Temporary workaround for Mageia: ln -s /usr/share/php/smarty /usr/share/php/smarty3
(from redmine: issue id 2664, created on 2013-08-22, closed on 2013-09-04)
- Relations:
- relates #2697
- Custom Fields:
- Bug in version: 1.0.6