Categories
Android Apps Device Nexus 5

Error 70 Gapps install – Fixed

If you are encountering the following error while trying to flash Gapps with your custom rom:

Error 70: Insufficient storage space available in System partition.

Here is the simple fix for the problem:

  • Flash a smaller size version of the Gapps ROM via TWRP.  Pick either Pico/Micro versions of the ram.
  • For Nexus 5 and CM14/Lineage the Micro Version works just fine
  • After installing the smaller version you can install the remaining apps via the Play Store

 

Categories
Linux Solutions Ubuntu Web

WordPress: Error Uploading Media Files

I recently got the following error while uploading media to my wordpress site:

Unable to create directory uploads/2016/06. Is its parent directory writable by the server?

Here are the steps to fix the issue:

  • Possible Issue 1: Incorrect Directory pointed to in the settings:
    • Open your WordPress Admin page (this is usually at /wp-admin)
    • Hover over the sidebar menu “Settings” and then click on “Media
    • Check the section “Uploading Files“(If this section is missing then try the next solution)
    • check the value for “Store Uploads in This Folder
    • Most commonly the value should be “wp-content/uploads“, if not is should be pointing to the correct folder on the server. My setup had it pointing to the wrong directory with the wrong permissions.
  • Possible Issue 2: Wrong permissions
    • Login to your server via ssh or ftp
    • Traverse to the installation folder of the WordPress site
    • Check and see if the user:group settings are correct (Usually for UNIX systems its www-data:www-data)
    • If that is fine look at the permissions for the ‘uploads‘ directory and its sub directories
    • running a command ‘ls -l uploads‘, will give you the permissions set
    • The ideal permission is of 755. For this run the command “chmod -r 755 uploads

Hopefully that will solve your problems.

Categories
Linux Open Source Solutions

Fixing Open Office Issue – User Installation could not be completed

Encountered this issue while trying to run Open Office from a newly installed Ubuntu box:

This application could not be started.
User installation could not be completed.

To fix this issue you need to basically reset the config of LibreOffice. This can be done using the following command (Warning: This deletes all your settings and config wrt LibreOffice):

rm -rf ~/.config/libreoffice

Note: This issue can also occur when the permissions of the config folder is incorrect (root instead of user), use this command to fix that issue:

chown haas -r ~/.config/libreoffice

Categories
Linux Solutions

Kate: Not allowing to Edit Specific Files – Solution



Recently I encountered an interesting problem with Kate. When ever I opened certain files it opened them in read only mode. The files had the necessary permissions to let me write and I could open them in nano or vim and edit them successfully.

There can be multiple reasons for this happening:

  • File is in use in some program (known to cause problems with Kate)
  • File is a PHP file and being accessed somewhere
  • File has more than 1024 characters in a line. (The limit might vary but after a point the files are opened as read only)
Categories
Android Apps Solutions

Problem Loading Widget – Solved Android Error

Problem loading Widget Error – Sometimes Widgets on the Android home page fail to load and are replaced by “Problem Loading Widget” error. The main causes of this error include:

  • Removal of the Application that gave you that widget
  • Moving of the specific (Widget) Application from Internal Memory to SD card
  • Upgrading of the Application
  • Upgrading of the core operating system (leading to reinstall of the Application)
  • Change of SD card

There is no simple way to fix this error, as it can depend on what caused the error in the first place and how the Widget was originally designed.  Here are some quick steps you can follow to recover your widget: