Is there a way, to activate an extension in TYPO3 without using the extension manager in the backend?
I'm using TYPO3 7.6.4 in composer mode. If I install a new extension with composer, it is deactivated by default.
What am I missing?
Composer does not install the extension TYPO3 wise. It only downloads it to typo3conf/ext. You can read more about it here if you are interested.
There is, however, an alternative to the extension manager for (un)installing extensions in TYPO3. You can run a CLI command to do so. Go to your web directory and run
./typo3/cli_dispatch.phpsh extbase extension:install <extension_key>
or for the "help page" of the command:
./typo3/cli_dispatch.phpsh extbase help extension:install
Related
Class 'ZipArchive' not found in /home/rm4r8egx5aq4/readyformove.in/application/libraries/PHPExcel/Reader/Excel2007.php
Check php zip extension is missing in your server or not.
If yes,
Run the following commands in Linux Server.
sudo apt-get install php5.6-zip
sudo service apache2 restart
change php5.6-zip depend on your current PHP version.
If it's Shared hosting, these links may help you.
https://in.godaddy.com/community/GoDaddy-Web-Hosting/PHP-Zip-Module/td-p/60228
https://in.godaddy.com/community/VPS-Dedicated-Servers/Error-when-installing-AbanteCart-for-eCommerce-site/m-p/2797#M121
https://www.youtube.com/watch?v=44PsYaM94K4
Login to cPanel.
Locate Select PHP version and click on it.
Choose your desired PHP version and click on Set as Current.
To set the PHP extensions, Click on Switch to PHP settings.
Click on the extension you wish to change, enter the value and save the settings.
since the newest version FF 55.0.1 the add on temporary load is not reload after modify the source code. it is necessary to access at about:debugging and reload, reload and reload after all modification... Is it possible to retreive the working before this version ?
thanks !
You can use web-ext to achieve this. This works in FF55+
First of all make sure you have NodeJS installed (you could also use Homebrew and brew install node on OSX).
With NodeJS in place you need to install web-ext via npm by typing in your terminal/cmd :
npm install --global web-ext
Then change directory to the one where your extension lives and run:
web-ext run
This will start the Firefox with your extension loaded and hot reloading enabled.
I hope this helps.
I'm using a Vagrant VM created by Puphpet, running Ubuntu 14.04 for the purpose of developing a Wordpress site. I use Composer to manage PHP dependencies, and Composer is installed automatically as a system service via Puphpet, so there is no .phar file, just an executable Composer file in /usr/local/bin/composer.
I also use PHPStorm as my main IDE, and love its Remote Interpreter feature. So far, PHPUnit is the only feature that supports it, as Composer and PHP Codesniffer requires having a local PHP interpreter installed in order to be used. This kind of defeats the purpose of the Composer/PHP Codesniffer tools within PHPStorm when used with Vagrant. Jetbrains claims they have no plans to add this feature in the near future.
Which leads me to my question- Would it be possible to set up a shared folder to the PHP executable file in my VM, and use that as my Remote Interpreter in the Composer Settings window?
Could I also do the same to my PHPCS executable file path in the Code Sniffer settings panel with PHPStorm?
The only one I wouldn't be able to set up a Shared Folder to is the composer.phar file which is needed to run the Composer tool within PHPStorm, because there is no composer.phar file within my VM, as its just an executable in /usr/local/bin/composer as I described earlier. So would the solution be to download a composer.phar file to somewhere within my host directory? Will this interfere the Composer install on the VM?
*Update: As Sven has explained to me, the Composer file in /usr/local/bin/composer is the composer.phar file. I kind of understood this, but still am not sure if a. PHPStorm will recognize it as such, and b. if creating a shared folder will even work.
I added images of the settings panels so you can understand what I'm talking about.
Thanks, let me know if you need anymore info.
I'm trying to use puppet to create a default installation of Silverstripe for testing new projects. Is there a way to install silverstripe using just the commandline?
You can create a _ss_environment.php file, then run php framework/cli-script.php dev/build. The default mysite/_config.php is set up for this already.
You can read more on the _ss_environment.php file in the docs.
If your hosting environment either has composer or allows you to install software, using composer to install from the command line is an option. Refer: Installing and Upgrading with Composer
In Laravel documentation, it explained one short paragraph on how to use installer to install Laravel.
First, download the Laravel installer PHAR archive. For convenience, rename the file to laravel and move it to /usr/local/bin. Once installed, the simple laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog would create a directory named blog containing a fresh Laravel installation with all dependencies installed. This method of installation is much faster than installing via Composer.
I am a Windows 7 user. After download the laravel.phar file, where should I store the file? I don't think there is any /usr/local/bin directory on Windows 7. How can I get the laravel command to be able to use in command window?
Install laravel 5.2 via Laravel Installer in windows 7
Steps:
Please make sure you have installed composer into your computer
Open command prompt
$ composer global require “laravel/installer”
C:\xampp\htdocs> laravel new mylaravel
Youtube video guide:
http://www.pranms.com/how-to-install-laravel-5-2-via-laravel-installer-in-windows-7/
The laravel installer needs to be in your PATH (no matter which Operating system).
In Unix based systems, /usr/local/bin is in your PATH by default.
On Windows, you can add a folder to your PATH by doing like this:
Start the System Control Panel applet (Start - Settings - Control Panel - System).
Select the Advanced tab.
Click the Environment Variables button.
Under System Variables, select Path, then click Edit.
From http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
It's a lot easier to install using Composer. Download the Windows Composer installer from the Composer Website and run it. Once it's installed you can run from the command line:
composer create-project laravel/laravel your-project-name
This will create the folder your-project-name and install Laravel in it. The advantage of using Composer it that it makes adding other packages to Laravel really easy.