New big n98-magerun release – 1.77.0
After many hours of work we release version 1.77.0.
The new release contains a ton of new features and code refactorings.
Here some details:
(more…)
After many hours of work we release version 1.77.0.
The new release contains a ton of new features and code refactorings.
Here some details:
(more…)
Sometimes it’s not possible to login to Magento Admin Panel.
Searching for a solution can be very frustrating.
One of the most common purposes for this is a wrong configuration of the cookie domains.
Another problem is that Magento searches for a dot in the hostname.
Also wrong directory permission can cause this issue.
To prevent manually checks you can use the sys:check command bundled with n98-magerun.
All the sys:check commands are created by netz98 employees who had the same problems over the last month.
(more…)
This quick tip shows you how easy it it to integrate n98-magerun in your PhpStorm IDE.
wget https://raw.github.com/netz98/n98-magerun/master/autocompletion/phpstorm/n98_magerun.xml
The new n98-magerun release brings four bug fixes and two new commands and many internal docblock cleanups. A big thanks goes to Dmitriy Zavalkin who creates the new commands and added missing code blocks. We love to see how the community pushes the tool every week with active bug reports Read more…
Every developer is using n98-magerun in a different way. Some uses the cache:clear command multiple times a day. For this we have support for command aliases to simplify the usage. Making aliases is nearly the same as unix bash aliases. You define an alias and n98-magerun will run the alias Read more…
A new n98-magerun release spreads the world. Here are some details about the new release: Internal Symfony packages updated The Symfony compontents i.e. the embedded Console component are all updated to current release 2.3.3. The console component comes with a new table helper. We replaced all internal calls to our Read more…
This is only a quick tip. But in some cases you need to reset a admin user password i.e. if you imported a dump as developer and have no admin credentials. There are two commands for that. Create a new admin user $ n98-magerun.phar admin:user:create Creates a new admin user Read more…
Sometimes it’s useful to dump a production database and import them on a local developer workstation.
In this case we have some issue to solve.
A production database contains many critical privacy data like customer addresses, email, hashed password, orders
which can produce big trouble if a hacker or someone can access it.
For a development workstation it’s a good advice to exclude the data. In most cases a developer needs no customer data
to create a new module.
Magento produces many log data. Some tables grow up and can contain many millions of records.
An import of a database could run up to hours. This is unpractical and unwanted for development.
n98-magerun can help you. The database command comes with a handy strip option.
If you run n98-magerun with –help option you can see this:
In some cases you like to disable your commands i.e if you are running n98-magerun on a production machine or if it doesn’t support the entire operating system. The symfony command component have a simple solution for that. All commands are extended from the symfony command base class Symfony\Component\Console\Command which Read more…
Since version 1.72.0 n98-magerun offers you a new possibility to share your commands and configuration. Modules can be created in a easy way.
In the past it was hard to share own commands within a developer team. Every team member must manually add configuration to a config file.
Now it’s possible to manage the configuration in a single file inside the module which can be updates by a VCS like SVN or GIT.
A module in the simplest form exists as a single folder with a config file which must be named n98-magerun.yaml
.
The config file must be placed directly in the module folder. If you have created some commands in the past you will see that the confiuguration
format is nearly the same. Nothing really new. The new big thing is that n98-magerun will search automatically for modules in some defined basse folders and merges all found config files.