tommylee0088 Posted April 12, 2017 Share Posted April 12, 2017 Hi, I download the prestashop 1.7.1 and 1.7.0.6, unzip on my VPS, there are several errors. 1), The file will become 0666 after unzip. 2) When I change it to 0644, it will show the error: Warning: usort() expects parameter 2 to be a valid callback, no array or string given in /home/adultxxtoys/public_html/install/init.php on line 52Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in /home/adultxxtoys/public_html/src/PrestaShopBundle/Install/LanguageList.php on line 87Notice: Undefined index: in /home/adultxxtoys/public_html/src/PrestaShopBundle/Install/LanguageList.php on line 123Notice: Trying to get property of non-object in /home/adultxxtoys/public_html/classes/Context.php on line 346Catchable fatal error: Argument 1 passed to Symfony\Component\Finder\Finder::filter() must be an instance of Closure, unknown given, called in /home/adultxxtoys/public_html/classes/Context.php on line 360 and defined in /home/adultxxtoys/public_html/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php on line 602 Anyone could help to resolve this problems? Regards, Tommy Link to comment Share on other sites More sharing options...
bellini13 Posted April 12, 2017 Share Posted April 12, 2017 what is the exact version of PHP being used? 1 Link to comment Share on other sites More sharing options...
tommylee0088 Posted April 12, 2017 Author Share Posted April 12, 2017 My php version is 5.4.45 Link to comment Share on other sites More sharing options...
bellini13 Posted April 12, 2017 Share Posted April 12, 2017 I know the requirements say that PHP 5.4 is the minimum required version, but considering that 5.4 is no longer receiving any updates or security patches, I would suggest you use PHP 5.6 or 7.0 instead. It might even resolve the issues you are currently facing Link to comment Share on other sites More sharing options...
tommylee0088 Posted April 12, 2017 Author Share Posted April 12, 2017 Do any Apache mod missing lead to this problem? Or I need to chang any setting for php ini? I run with suPHP, do I need to Chang to fastCGI? 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