accessNotConfigured – google analytics api

accessNotConfigured Problem!

this happen when you use google analytics api. You have configure client id, secret, and key on the right way. But you still have this problem.

Access Not Configured. Please use Google Developers Console to activate the API for your project. happens!

Remember again!
Back to your console and think again. Have you change something on apis? have you add more ability or api capability enabled? this could be problem

Solving accessNotConfigured problem

google analytics api client id and secret build as your request among the api you enabled, when you change adding or removing capability. The client id and secret will be expired.

google analytics api credential renew!

Remove your previous client id and secret and create them back again.
Use your new client id and secret to your application.

And this will help you.

Good Luck!

google analytics api – insufficientPermissions [RESOLVED]

Google Analytics API

Google Analytics API is used to share some website visitor statistic data.

In some of my test for google analytics api. I have some errors while doing tests. One of the problem is when I call using google analytics api.

insufficientPermissions  problem

The problem is insufficientPermissions. insufficientPermissions is also guide to more detail error such as User does not have sufficient permissions for this profile.

User does not have sufficient permissions for this profile

That was detailed error message from insufficientPermissions  problem.

Resolving insufficientPermissions

There’s a lot of alternative which shares among the internet. But the key point of the problem is the account id for ga:XXX

User does not have sufficient permissions for this profile RESOLVED!

the account id for ga:XXX is 8 number and all integer (when this article is written)

if you think that this is come from the Account Settings you wrong the right is from the View Settings.

Please see this image for more clear info:

fixing  insufficientPermissions problem

insufficientPermissions RESOLVED

virtualmin proftp 530 Login incorrect

You have setup virtualmin, proftpd server is working correctly. Settings are fine!

Create new virtual server and define the password.


Trying FTP connection by any ftp client like filezilla, adding the right address, username and password the same as when you create virtual server.


FTP cannot connect to server with errors: 530 Login incorrect. You will try to make sure the password is right and try to change password to match both of password FTP and Virtual Server Account several time, but still cannot connect to FTP. You will try this over and over again. But still 530 Login incorrect.

In order to resolve this, you should make sure that you don’t use any other repository on you centos, maybe your proftp is installed from another resource outside virtualmin recommended source.

This problem could occurred on another services such as: awstats, clamav, etc.

In order to resolve this you need to install and re-install your ftp server proftp, but make sure you re-install from virtualmin repository.

to check if theres any other third party repository not annoying this process you go to:


and see is there any other third party resources is listed. Such as rpmforge you maybe use this third party resource to install some other services. But when you use virtualmin this is not recomended. You should keep disable third party repository and only enable when you needed and disable third party resources back again after you use it.

for example you now see there’s rpmforge listed on your /etc/yum.repos.d/

now lets disable third party repository of rpmforge, type the line below (use nano or vi):

nano /etc/yum.repos.d/rpmforge.repo

after you open it you will see something like this:

### Name: RPMforge RPM Repository for RHEL 6 – dag
### URL:
name = RHEL $releasever – – dag
baseurl =$basearch/rpmforge
mirrorlist =
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

now you need to do is change this line:

enabled = 1

to be:

enabled = 0

now save your configuration and exit.
now clean yum, type this command:

yum clean all

and now re-install back your proftp.

centos how to change default timezone

Cronjobs sometime confusing, or sometime cronjob time not working the right time. Maybe your default timezone is not correct.

try to type this command


is the time is correct, if not then you should change your centos default timezone.

Things that you will need to know is, centos already reserve all the country timezone all over the worlds in this directory:


So the first thing you should do is go to that directory and find your country timezone.

And the next thing to do is create a symlink to file /etc/localtime

ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

if the symlink to change timezone not working, try to copy and replace the file

cp /usr/share/zoneinfo/Asia/Jakarta /etc/localtime

how to find out is my date time is correct already?

try to type this command on your console


fcgi error

if you seeing this error on your apache errors log file:

mod_fcgid: read data timeout in 61 seconds

mod_fcgid: read data timeout in 31 seconds, or any particular second(s)


Premature end of script headers: index.php

this errors is coming form the same source of problem. You have to add this line to your fcgi configuration:

FcgidIOTimeout 600

default value is 40 or 45 seconds, its depends on the source installer configuration.

where to edit this line is here:


or here:


if you running virtualmin server you could change this value on:

Virtualmin > Services > Configure Website > Edit Directives

you could search first the words FcgidIOTimeout and update or edit the value, or if you don’t find it you also could add new parameter by adding this line into the end of lines.

FcgidIOTimeout 600

by doing this you should click the save button, and find link word “Apply Changes” at the right top corner of your virtualmin dashborad to restart your apache.

The work of share care and fair