Klaus.Schleiter Posted March 19, 2019 Share Posted March 19, 2019 Attempting to install Prestashop on FreeBSD 12.0 via Portsystem results in error log: [Tue Mar 19 15:22:32.110883 2019] [php7:error] [pid 87088] [client xxxx:3240] PHP Fatal error: Uncaught Error: Call to undefined function Symfony\\Component\\Translation\\hash() in /usr/local/www/as-prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php:369\nStack trace:\n#0 /usr/local/www/as-prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(297): Symfony\\Component\\Translation\\Translator->getCatalogueCachePath('de-DE')\n#1 /usr/local/www/as-prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(265): Symfony\\Component\\Translation\\Translator->initializeCacheCatalogue('de-DE')\n#2 /usr/local/www/as-prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(241): Symfony\\Component\\Translation\\Translator->loadCatalogue('de-DE')\n#3 /usr/local/www/as-prestashop/classes/Context.php(374): Symfony\\Component\\Translation\\Translator->getCatalogue('de-DE')\n#4 /usr/local/www/as-prestashop/classes/Context.php(351): ContextCore->getTranslatorFromLocale('de-DE')\n#5 /usr/local/www/as-prestashop/install/classes/contr in /usr/local/www/as-prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php on line 369 The following software ist installed besides the OS: apache24-2.4.38 = apr-1.6.5.1.6.1_1 = ca_root_nss-3.43 = curl-7.64.0 < cyrus-sasl-2.1.27 = db5-5.3.28_7 = dialog4ports-0.1.6 = expat-2.2.6_1 = fontconfig-2.12.6,1 = freetype2-2.9.1 = gdbm-1.18.1 = gettext-runtime-0.19.8.1_2 = giflib-5.1.4 = gmake-4.2.1_3 = icu-63.1_1,1 = indexinfo-0.3.1 = jbigkit-2.1_1 = jpeg-turbo-2.0.1 < libICE-1.0.9_3,1 = libSM-1.2.3,1 = libX11-1.6.7,1 = libXau-1.0.8_5 < libXdmcp-1.1.2_2 = libXext-1.3.3_3,1 = libXpm-3.5.12_2 = libXt-1.1.5_2,1 = libargon2-20171227_1 = libedit-3.1.20181209_2,1 = libevent-2.1.8_2 < libffi-3.2.1_3 = libgd-2.2.5_1,1 = libiconv-1.14_11 = libltdl-2.4.6 = liblz4-1.8.3,1 = libmcrypt-2.5.8_3 = libnghttp2-1.35.1 < libpthread-stubs-0.4 = libunwind-20170615 = libxcb-1.13.1 = libxml2-2.9.7 < libyaml-0.2.1 = libzip-1.5.1 < mod_php72-7.2.16 = mysql57-client-5.7.25 = mysql57-server-5.7.25 = pcre-8.43 = perl5-5.28.1_1 = php72-7.2.16 = php72-ctype-7.2.16 = php72-curl-7.2.16 = php72-dom-7.2.16 = php72-filter-7.2.16 = php72-gd-7.2.16 = php72-iconv-7.2.16 = php72-intl-7.2.16 = php72-json-7.2.16 = php72-mysqli-7.2.16 = php72-pdo-7.2.16 = php72-pdo_mysql-7.2.16 = php72-pecl-mcrypt-1.0.1 < php72-posix-7.2.16 = php72-session-7.2.16 = php72-simplexml-7.2.16 = php72-soap-7.2.16 = php72-tokenizer-7.2.16 = php72-zip-7.2.16 = pkg-1.10.5_5 = png-1.6.36 = portupgrade-2.4.16,2 = postfix-3.3.3,1 = prestashop-1.7.5.0 < protobuf-3.6.1_1,1 = readline-7.0.5 = ruby-2.4.5_1,1 = ruby24-bdb-0.6.6_5 = tiff-4.0.10 = webp-1.0.2 = xorgproto-2018.4 = I realized that the FreeBSD port shows version 1.7.5.1 while the version is 1.7.5.0. I assume this is not the problem. Did anybody else see that type of problem? Thank you in advance for your kind support. Link to comment Share on other sites More sharing options...
tuk66 Posted March 20, 2019 Share Posted March 20, 2019 PHP probably doesn't have hash functions enabled. http://php.net/manual/en/hash.installation.php Link to comment Share on other sites More sharing options...
Klaus.Schleiter Posted March 21, 2019 Author Share Posted March 21, 2019 (edited) Thank you a lot for the response. Indeed with your advice I found out that the php72-hash extension wasn't installed. I really appreciate your help. Thank you! Edited March 21, 2019 by Klaus.Schleiter (see edit history) 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