I'm trying to install backpack-for-laravel but can't get it to work. I followed the instructions but I get this when running
php artisan backpack:install
It's not giving me the option to say yes or no, it just aborts.
I'm running backpack 4.0 on Laravel 6
Try again, and answer the question with no (or yes if that's what you want). It looks like the Symphony package that Laravel uses for asking questions could have a problem with Windows in certain configurations.
Related
I need to update my TYPO3 4 to 4.5.
I installed 4.5 and symlinked to the new source. The problem is that I can't get into TYPO3 4.5 install tool using localhost/typo3/install. It shows "page isn't working".
How do I get into TYPO3 4.5 install tool?
Page isn't working is a default error message when a site returns a 500 error. You'll need to check your error log to see whet the error actually is.
Also TYPO3 4.5 is old, not maintained anymore and not secure. You should not use it. Please update to at least 7.6.
In the folder typo3conf are some files like:
temp_CACHED_ps12c3_ext_localconf.php
temp_CACHED_ps12c3_ext_tables.php
The bold part might probably different but those files you can delete and then try again.
Also make sure that you meet the requirements concerning PHP-version and MySQL-version.
The deleted files will be created new, so you aren't deleting unique information, but the new files differ a bit.
The main issue can be the PHP version. I am running Typo3 4.5 successfully on PHP 5.3. However it will not run on higher PHP version. However, if the update is done on the same server, then PHP version issue might not be applicable.
The exact error detail will come up in the PHP error_log. Make sure that error logging is enabled in the PHP.ini setting.
I'm a very beginner with MongoDB.
I wanted to use it with my CodeIgniter 3.x framework, so I followed this tutorial :
https://github.com/bcit-ci/CodeIgniter/wiki/Using-MongoDB-in-Codeigniter
I mention that I'm using PHP7 with NGINX.
I have also installed some "php extensions" required (like: "php-pear", "php7.0-xml", so on)
Unfortunately, after having installed all that stuff, my webpage throw this error :
An Error Was Encountered
The MongoDB PECL extension has not been installed or enabled
I already gave a look to similiars questions which were posted several weeks or months ago, but I didn't manage to find a solution to my problem....
If you think that more informations are needed in purpose to help me, tell me :)
I read that it was impossible to install yii2 on a standard hosting platform (redhat, centos...) without deleting the AssetManager.
And install is lock with it. Access refused, permission denied.... Despite the rights 777 on the assets folder.
And in default way, hack code, disable control like (is_writable) to allow continued the install process to congratulation, but without css ....
But I can't modify all the code , to use it?
They're a lot of issue about assetmanager.
I tried yii1 few years ago, and it was wonderful framework... But everything is permitted under windows. Someone tried to install it under redhat, fedora, Centos.
There is a specific configuration ... Or yii2 not builted and designed for theses environments ?
Because i found tuto about laravel 5.1, Zend 2 since 2013... But nothing about Yii2, and only one... about Yii1... on this hosting OS.
Yii2 is ready for professionnel standard hosting environnement or is just for hobbist with Wamp under Windows ? (Online tuto is in majority on this OS, with Wamp...).
And maybe for that, it's work fine... like i test under windows
Thank you for the links. I had read
Finally I found the answer, which is never explained in the tutorial above (because often disabled and the module is not present in Ubuntu or Debian)
It's SELinux security. To install Yii2 there are the following commands:
semanage fcontext -a -t httpd_sys_rw_content_t 'each folder writable'
setsebool -P httpd_unified 1
Without this open rignt, you can't install Yii2
All what Yii 2.0 requires is a Web server supporting PHP 5.4 or above.
( currently not PHP 7 due to reserved word conflict that will be solved in future releases )
And yes 5 stables versions ready for production has been released, currently Yii 2.0.5
Here is a quick example about how to install Yii2 with CentOS6 which has nothing different from what is already described in the official docs.
If you know any CentOS related issue please post them and we will discuss answers, because sincerely i just did few searches and didn't found any besides few wrong apache or nginx configurations or missing packages like this CentoOS7 case. Otherwise if you need a pre-configured & working VM with Yii2 and CentOS 7, then you may check this vagrant repo.
Before updating phpunit everything was ok, function assertRedirectTo() worked as it should, but after updating it shows this error:
Declaration of Zend_Test_PHPUnit_Constraint_Redirect::evaluate() should be compatible with that of PHPUnit_Framework_Constraint::evaluate()
Can anybody explain what exactly happened?
Yes, I ran into this problem too two days ago. But on the unfortunetly Zend Framework 1.x is not going to support PHPunit 3.6 or higher :-(
So the best thing is that you go back to 3.5 which is the latest version Zend Framework supports.
Check this:
http://zendframework.com/issues/browse/ZF-11871
Here you can read they will proberly make ZF2 supporting 3.6:
http://zend-framework-community.634137.n4.nabble.com/Running-the-zend-unit-tests-with-the-phpunit-3-6-PHP-CodeCoverage-Filter-getInstance-problem-td4023996.html
I am trying to use Zend Tool on my media temple Grid Server account. The problem is that the installed CLI version of PHP is 4.4.8 and Zend Framework needs PHP5. On an account basis its possible to choose PHP 4 or 5 but not so for CLI. Its possible to globally select to use PHP5 by using the extension .php5 but in the case of Zend Tool which is called by a shell script zf.sh i'm not sure what options i have. PHP5 is on the server at /usr/bin/php5 and someone at MT has suggested creating an alias so php=/usr/bin/php5 but i'm not sure that will work. Any ideas?
In zf.sh update the PHP_BIN line to:
PHP_BIN=/usr/bin/php5