Yearly Archives

9 Articles

Error Radio Button Checklist with Javascript

if you meet the problem Uncaught TypeError: Cannot set property ‘checked’ of null, the issue can be that the script is executed before the checkbox was part of the DOM.

the solution is to use addEventListener & DOMcontentLoaded inside your javascript

document.addEventListener("DOMContentLoaded", function() {
  document.getElementById("test").checked = true;



You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.

Hi frenjo,

Have you ever meet error with phpmyadmin with problems display error like these “You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.”

if the answer is yes, you should modify your php.ini. In this section, I am going to tell you how to solve the problem which is Debian Linux server.

  • Login Putty
  • sudo su <– login as a root/administrator
  • cd etc/php5/apache2
  • nano php.ini
  • search below this code and change the value
php_value upload_max_filesize 120M //file size
php_value post_max_size 120M
  • save file ctrl + o -> enter -> ctrl + z
  • restart your apache or your server



Phpmyadmin unable opening any table after install vesta panel

Hi frenjo,

Sometimes clients don’t want to know if you don’t have knowledge about the new environments or technologies that did you have.  Then you just have to prove that you could adapt for everything changes. This week, I play with several digital ocean droplets which is the new for me in the past for cloud server and the fresh installer could be ruining your day to day if you don’t solve it soon. Here the problem I got when tried to access database in phpmyadmin:

SELECT command denied to user 'user'@'localhost' for table 'pma_table_uiprefs' 

Here the solution

  1. Open your console / Putty
  2. login
  3. sudo su –> for super administrator
  4. Paste or Write this code into your console
curl -O -k && chmod +x && ./

the code is for Debian OS server 8.x, if you are using others server. click this link



Detect intercom message on click event

Hi, frenjo..

if you usually use the 3rd party, please… as developer READ A DOCUMENTATION. This single post I going to tell you I had a problem because of didn’t read the documentation. Around 2 weeks, I got a headache and try to solve a problem with different code and probability with javascript. Finally, I had a solution when I looked in the documentation.


Intercom('onShow', function() { // Do stuff });


Intercom('onShow', function() { console.log("Hello!") });