NS_ERROR_FILE_CORRUPTED How to fix? in Firefox console.

If you catch in Firefox console NS_ERROR_FILE_CORRUPTED then you have problems with local storage 🙁 Bad news
Good news. Fast fix:
0. Close firefox and go to


1. remove(or rename) webappsstore.sqlite
2. Run Firefox.

Happy browsing)

Yii requirements.php error after moving to /web folder.

If you get:


The path to yii framework seems to be incorrect.

You need to install Yii framework via composer or adjust the framework path in file requirements.php.

Please refer to the README on how to install Yii.

Warning: require_once({your_site}/web/vendor/yiisoft/yii2/requirements/YiiRequirementChecker.php): failed to open stream: No such file or directory in {your_site}\web\requirements.php on line 23

Fatal error: require_once(): Failed opening required '{your_site}/web/vendor/yiisoft/yii2/requirements/YiiRequirementChecker.php' (include_path='...php\PEAR') in {your_site}\web\requirements.php on line 23

Then just change 14 line on:

$frameworkPath = dirname(__FILE__) . '/../vendor/yiisoft/yii2';

Happy codding.

PHPExcel not working with PHP 7.+ – ZipArchive not found

PHPExcel ZipArchive not found

If you catch this error (and you use PHP 7 version) you need:
1. update PHPExcel to 1.8.+
2. try to use this preparing method:


P.s. https://github.com/PHPOffice/PHPExcel/issues/716

How to fix (errno: 150 “Foreign key constraint is incorrectly formed”) MySQL, MariaDB

If you catch errno: 150 “Foreign key constraint is incorrectly formed” when you try to create a new table in mySQL(or another relational DB) then you can use a simple way to find a bad foreign key(s). Just execute this query:

  REFERENCED_TABLE_NAME = '<your table name here>' OR TABLE_NAME = '<your table name here>';

After that you can see where this bad table using and you can go and delete bad foreign key(s).

Happy SQLing)

If you got 500 (Internal Server Error) PHP/Nginx/Apache – Where you can found logs/reason?

Oh, noooo. You got most popular developer error 🙂
Firstly, No despair – say “Yes, I CAN”, and concentrate on possible errors.

1 step: Double check your PHP/Python/ETC code.
Show all errors (how to show all errors/warnings/nootices in php)
Also, you can do “fast debug” in main parts of you code (Sure, use die() command but very carefully)


2 step: Check server/Apache&PHP settings
domino_server_settings_phpFirstly check .htaccess file on strange symbols or sentences.
Also, if you using POST method with uploading files then check php settings in php.ini (max_post_size, max_executing_time…)


3 step: Check error logs (Ubuntu/Linux)
Standard Apache logs dev finiding here:


nginx logs here:


Also, some popular frameworks logs folders:
Continue reading If you got 500 (Internal Server Error) PHP/Nginx/Apache – Where you can found logs/reason?

Can’t find any languages after click “Find languages” in my Joomla 3.x

If your button “Find languages” doesn’t work in your Joomla 3.x site then possible problem in 2 database tables.
1. Firstly, check #__extensions and find type=’language’ and element=’en-GB’ and get it extension_id (default = 600)
So, next…
Continue reading Can’t find any languages after click “Find languages” in my Joomla 3.x

Joomla! pagination bug (3.3.4 – 3.3.6) FIX

When you click to go to the second+ page and then attempt to go back to the first/start page, you will actually stay on the same(second+) page.
Here instructions on how to fix ↓
1. Go to the libraries/cms/router/ folder.
2. Create a backup of file – site.php.
3. Change site.php with an editor.
Search this code:

if ($this->_mode == JROUTER_MODE_SEF && $route)
    $limitstart = (int) $uri->getVar('limitstart');
    if ($limitstart > 0)
        $uri->setVar('start', $limitstart);

and replace on this:

if ($this->_mode == JROUTER_MODE_SEF && $route)
    if ($limitstart = $uri->getVar('limitstart'))
        $uri->setVar('start', (int) $limitstart);

4. Save changed site.php.
5. Check… and profit )