mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #159] Zend_Controller_Action_Exception on fresh installation #126
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dmitrydonskih on GitHub (Nov 8, 2015).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/159
Hello, I've faced such error on a fresh installation of ViMbAdmin:
CentOS 6.6, fresh git-2.6.3, composer -1.0-dev, php-5.4.45, nginx.
I've downloaded tarball
vimbadmin-3.0.12, installed with composer (all ok), setup database (schema validation ok), set file permissions onvar/, copy-editapplication.inifrom *.dist, copy.htaccessfrom *.dist, test it withphp -S lo:8080 -t public/and get an error... What have I missed?@syslino commented on GitHub (Dec 1, 2015):
+1
@lexpierce commented on GitHub (Jan 21, 2016):
+1
@hassansin commented on GitHub (Jan 22, 2016):
Same for me.
@barryo commented on GitHub (Jan 22, 2016):
Folks - I have done an install from scratch following the official instrauctions and I cannot recreate the above.
I note that PHP5.4 is mentioned above which is end of life.
Is anyone using a newer version? My test was on 7.0.
@nckbnv commented on GitHub (Jan 22, 2016):
It's not because of the php version, I've installed php 5.6 after seeing this with the default 5.4.16 on CentOS 7 and the error was still there.
After taking a closer look I saw the following error:
[Fri Jan 22 13:10:17 2016] PHP Fatal error: Uncaught exception 'Zend_Filter_Exception' with message 'The given encoding 'ISO-8859-1' is not supported by mbstring' in /var/www/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Filter/StringToLower.php:97After installing the
php-mbstringrpm the error went away.I've tried a few things simultaneously at the time, therefore I can't be sure that was what solved it, but you can give it a try.
@barryo commented on GitHub (Jan 22, 2016):
I tend to always have mbstring installed. @hassansin / @lexpierce / @LNQ / @dmitrydonskih - can any of you confirm if installing mbstring (and restarting apache / the PHP web server helps)?
@dmitrydonskih commented on GitHub (Jan 22, 2016):
Looks like YES, it worked for me.
+php54w-mbstring
+php54w-pear
+php54w-pecl-memcache
+php54w-pecl-memcached
did the job.
@barryo commented on GitHub (Jan 22, 2016):
Great - added a note in the documentation. Thanks!
@hassansin commented on GitHub (Jan 22, 2016):
Yup, enabling
mbstringdid the trick!@lexpierce commented on GitHub (Jan 22, 2016):
Fixed here. Thanks!
@hassansin commented on GitHub (Jan 22, 2016):
And if running with docker official php image, you need both 'mbstring' and 'gettext' extensions: