mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #228] VimbAdmin PHP 5.6 to PHP 7 #181
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#181
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 @GregorWedlich on GitHub (Jun 15, 2017).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/228
Hello,
after the update to version PHP 7 i get the following error:
Warning: is_readable(): open_basedir restriction in effect. File(/usr/share/php//srv/vimbadmin/application/../library/ViMbAdmin/Resource/Auth.php) is not within the allowed path(s): (/usr/share/nginx/mail/:/tmp/:/usr/share/nginx/mail/admin/:/srv/vimbadmin/) in /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Loader.php on line 186and
Fatal error: Uncaught Error: Class 'Memcache' not found in /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Doctrine2cache.php:104 Stack trace: #0 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Doctrine2.php(95): OSS_Resource_Doctrine2cache->getDoctrine2cache() #1 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Doctrine2.php(62): OSS_Resource_Doctrine2->getDoctrine2() #2 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(695): OSS_Resource_Doctrine2->init() #3 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(638): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('doctrine2') #4 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(598): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('doctrine2') #5 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application.ph in /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Doctrine2cache.php on line 104@barryo commented on GitHub (Jun 15, 2017):
Hi @montymotz - probably an issue more suited to the mailing list but:
it looks like a PHP configuration issue.
Fatal error: Uncaught Error: Class 'Memcache' not foundYou do not mention which operating system you're using but on, say, Ubuntu, this is solved with
apt install php-memcache(note that it's memcache and not memcached that is required.@Saulgodman commented on GitHub (Jun 15, 2017):
Debian Jessie.
Thanks
@barryo commented on GitHub (Jun 15, 2017):
Hi @Saulgodman - you need this PHP extension:
http://php.net/manual/en/book.memcache.php
On Ubuntu, it's install with:
apt install php-memcacheI don't know if the same applies to Debian Jessie. You can work around it by changing this line in
application/configs/application.ini:to
but it may slow things down.