test melih
 melih
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Brokie Friend
    #992666

    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
    #992745

    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.

    Regards

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

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

    Brokie Friend
    #993114

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

    The Captain Moderator
    #993319

    Hi Brokie,

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

    1. public function refresh($client, $refresh_token) {
    2. try {
    3. $client->refreshToken($refresh_token);
    4. } catch (Exception $e) {
    5. return $e->getMessage();
    6. }
    7. }

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

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

    below the code :

    1. // Extract token from session and configure client.
    2. if ($helper::getToken()) {
    3. $token = $helper::getToken();
    4. $client->setAccessToken($token);
    5. }

    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.

    Regards.

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

This topic contains 5 replies, has 3 voices, and was last updated by  The Captain 8 years, 1 month ago.

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