Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Brokie Friend

    After adding the Google Access Code my administration page going blanco.
    Realy boring because i just renew my membership for a year.
    What to do.
    I have this problem on more websites!
    Can you know me how to fix this?

    1. Screenshot
    Saguaros Moderator

    Hi Brokie,

    Could you also provide the FTP account of your site? I need the same to have a close look and detect the issue for you.


    Brokie Friend
    This reply has been marked as private.
    Saguaros Moderator

    Thanks for the info, we will check and will get back to you.

    Brokie Friend

    I have set de Google Analyticsmodule on unpublished. Wil you give me today the solution. I am waiting for it.

    The Captain Moderator

    Hi Brokie,

    I fixed this error on your site. In the file : administrator/modules/mod_jagoogle_analytics/helper.php, I added the code :

    public function refresh($client, $refresh_token) {
            try {
            } catch (Exception $e) {
                return $e->getMessage();

    at the end. And in the file : administrator/modules/mod_jagoogle_analytics/tmpl/default.php, I added the code:

    // If the Access Token is expired.
    if ($client->isAccessTokenExpired()) {
      $helper->refresh($client, json_decode($token)->refresh_token);

    below the code :

    // Extract token from session and configure client.
    if ($helper::getToken()) {
        $token = $helper::getToken();

    The module is working fine now. Please test again and don’t forget confirm the result to me. Note: whenever you change the domain, please click on Authorize to get new Access code.


Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 5 replies, has 3 voices, and was last updated by  The Captain 2 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum