-
AuthorPosts
-
December 6, 2016 at 3:50 pm #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?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 7, 2016 at 2:45 am #992745Hi 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
December 7, 2016 at 4:03 pm #992985This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 8, 2016 at 4:06 am #993095Thanks for the info, we will check and will get back to you.
December 8, 2016 at 6:34 am #993114I have set de Google Analyticsmodule on unpublished. Wil you give me today the solution. I am waiting for it.
The Captain ModeratorThe Captain
- Join date:
- December 2014
- Posts:
- 66
- Downloads:
- 74
- Uploads:
- 19
- Thanked:
- 11 times in 11 posts
December 9, 2016 at 4:53 am #993319Hi 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 { $client->refreshToken($refresh_token); } 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(); $client->setAccessToken($token); }
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.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 3 voices, and was last updated by The Captain 7 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Error after adding access code
Viewing 6 posts - 1 through 6 (of 6 total)