*

GEORGI

  • **
  • 25 posts
Whoops, something is wrong
« on: August 25, 2017, 03:25:27 AM »
Hi i insatll the plugin but i have some bugs,under the google button:

">GConnect with Google

and when i click on google button:

"Whoops, something is wrongWe are sorry, but the Web address you have entered is no longer available."

and when i check the link on the and is looks like that:

/user/<a%20class=

can you help me with this please

BEST REGARDS
GEORGI


*

MB Themes

Re: Whoops, something is wrong
« Reply #1 on: August 25, 2017, 10:44:30 AM »
@GEORGI
It seems there is incorrect link.
Does it happen with other types of buttons as well ?

In file:
oc-content/plugins/google_connect/connect.php

Under line:
  // -------------------------------- Google Login Button Start --------------------------------

Do you have this code?
Code: [Select]
  if(!osc_is_web_user_logged_in()) {
    if( $class <> '' && $class == 'link-only' ) {
      echo $authUrl;
    } else {
      if ($google_button_type == 0) {
        echo '<a class="gc_login_button" href="' . $authUrl . '"><img src="' . osc_base_url() . 'oc-content/plugins/google_connect/images/google-login-button.png" alt="' . __('Google login button', 'google_connect') . '" /></a>';
      } else if ($google_button_type == 1) {
        echo '<a class="gc_login_button" href="' . $authUrl . '">' . __('Connect with Google', 'google_connect') . '</a>';
      } else {
        echo $authUrl;
      }
    }
  }
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

GEORGI

  • **
  • 25 posts
Re: Whoops, something is wrong
« Reply #2 on: August 26, 2017, 12:51:17 AM »
Hi thnk you for your support,but yes its still the same,its something another,

best regards
GEORGI

*

MB Themes

Re: Whoops, something is wrong
« Reply #3 on: August 26, 2017, 09:23:48 AM »
@GEORGI
Based on that code, it's correct and there is probably something different that modifieds it.
Have you tried different type of button (image one) if there is same issue?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots