Created attachment 167922 [details] Screenshot Port www/opencart-2.2.0.0 build and install is fine, but post-install stop on step_3 (see attachment) with error: Server error 500 The website encountered an error retrieving ... it may be down for maintenance or configured incorrectly. For opencart-2.1.0.2 such problems were not! Opencart-2.1.0.2 - install and work is fine! <uname> FreeBSD 10.3-RC1 amd64 <make.conf> CPUTYPE?=core2 OPTIONS_SET=CUPS WITHOUT_LPR=YES DEFAULT_VERSIONS=apache=2.4 QT4_OPTIONS=CUPS NAS QGTKSTYLE LOCALIZED_LANG=ru DEFAULT_VERSIONS=perl5=5.20 MAKE_JOBS_UNSAFE=yes DEFAULT_VERSIONS=mysql=5.7
I fixed it just now, would you update your portstree and try again ? wen
A commit references this bug: Author: wen Date: Thu Mar 10 08:11:05 UTC 2016 New revision: 410742 URL: https://svnweb.freebsd.org/changeset/ports/410742 Log: - Add missing depends PR: 207841 Spotted by: admin@vladiom.com.ua Changes: head/www/opencart/Makefile
Still some error ... :( Server error 500 The website encountered an error retrieving ... it may be down for maintenance or configured incorrectly.
Something is wrong in opencart/install/index.php ...
Created attachment 167957 [details] diff
diff opencart-2.1.0.2/upload/install/index.php opencart-2.2.0.0/upload/install/index.php
(In reply to Vladimir Omelchuk from comment #3) It works well on my system. Would you send me the error-log file of apache ? wen
Log "httpd-error.log": [Thu Mar 10 10:36:32.754716 2016] [:error] [pid 1444] [client 92.249.107.115:57971] PHP Fatal error: Call to undefined function filter_var() in /usr/local/www/opencart/install/controller/install/step_3.php on line 289, referer: http://vladiom.com.ua/opencart/install/index.php?route=install/step_3 [Thu Mar 10 10:38:14.781781 2016] [:error] [pid 1444] [client 92.249.107.115:53372] PHP Fatal error: Call to undefined function filter_var() in /usr/local/www/opencart/install/controller/install/step_3.php on line 289, referer: http://vladiom.com.ua/opencart/install/index.php?route=install/step_3
line 289 (/usr/local/www/opencart/install/controller/install/step_3.php): if ((utf8_strlen($this->request->post['email']) > 96) || !filter_var($this->request->post['email'], FILTER_VALIDATE_EMAIL)) { $this->error['email'] = $this->language->get('error_email'); } # env MC_CONTROL_PID=25312 MC_CONTROL_FILE=/tmp/mc.25312.control HOST=vladiom.com.ua DISPLAY=:0.0 WINDOWID=25165828 SESSION_MANAGER=local/vladiom.com.ua:/tmp/.ICE-unix/1467 MACHTYPE=x86_64 SSH_AGENT_PID=1478 EDITOR=ee BLOCKSIZE=K COLORTERM=xfce4-terminal OSTYPE=FreeBSD GROUP=wheel DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-ljUAX9CxEb,guid=20c10f6997d0d5c53d9c77a056e0e6d4 VENDOR=amd HOME=/root LANG=ru_RU.KOI8-R SSH_AUTH_SOCK=/tmp/ssh-rD8kMGBXw9ik/agent.1477 TERM=xterm PAGER=more MAIL=/var/mail/admin WINDOWPATH=9 LOGNAME=admin LC_ALL=ru_RU.KOI8-R XAUTHORITY=/home/admin/.Xauthority PWD=/usr/local/www/opencart/install/controller/install SHLVL=4 MM_CHARSET=KOI8-R USER=admin PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOSTTYPE=FreeBSD
(In reply to Vladimir Omelchuk from comment #8) This error would be fixed by install php-filter. Do you restart your apache server after install ? wen
After restart apache - now all Ok! Thanks!