facebook The href URL must be absolute

Community fouces Joomla template to build a music magazine website with JomSocial support.
GK User
Sun Jan 20, 2013 1:40 am
I've noticed problem in Like it button. I was getting response from facebook with error "The href URL must be absolute".

I think the problem is in file gk_musicity\html\com_content\article\default.php in lines there is
Code: Select all
$cur_url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$cur_url = preg_replace('@%[0-9A-Fa-f]{1,2}@mi', '', htmlspecialchars($current_url, ENT_QUOTES, 'UTF-8'));


shouldn't there be rather
Code: Select all
$cur_url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$cur_url = preg_replace('@%[0-9A-Fa-f]{1,2}@mi', '', htmlspecialchars($cur_url, ENT_QUOTES, 'UTF-8'));

?
User avatar
Fresh Boarder

GK User
Sun Jan 20, 2013 2:29 pm
Yes exactly it is a bug and will be fixed in following update.
User avatar
Platinum Boarder

GK User
Sun Jan 20, 2013 6:42 pm
When will be next update of this template?
User avatar
Fresh Boarder

GK User
Mon Jan 21, 2013 2:16 pm
Probably at the end of the month (beginning of Feb) but I can't give you exact date.
User avatar
Platinum Boarder

GK User
Sat Feb 02, 2013 9:29 am
bkrztuk wrote:Yes exactly it is a bug and will be fixed in following update.


You didn't fix it in update B)
User avatar
Fresh Boarder

GK User
Mon Feb 04, 2013 9:31 am
We're preparing an update please check gavickmagazine.com for informations when it will be released.
User avatar
Platinum Boarder

GK User
Thu Feb 14, 2013 10:59 pm
Has this been fixed? the like buttons at the bottom of my articles do not work.

htttp://www.dustinbarclay.com

http://www.dustinbarclay.com/index.php/ ... -biography
User avatar
Gold Boarder

GK User
Fri Feb 15, 2013 9:43 am
Yes this issue is fixed and if your APP ID is correct all should work properly.
User avatar
Platinum Boarder

GK User
Fri Feb 15, 2013 7:46 pm
Hi, thanks for the reply. But I'm still getting an error message. I'm not requiring anybody to login to the site. Any other suggestions?
User avatar
Gold Boarder

GK User
Tue Feb 19, 2013 8:49 am
Are you sure you've overwrite necessary files mentioned in update listing ? I've checked your site but I don't see anywhere login form on you home page.
User avatar
Platinum Boarder

GK User
Tue Feb 19, 2013 8:19 pm
Thank you, yes, the Login / Register option is now functional.
User avatar
Gold Boarder

GK User
Fri Feb 22, 2013 8:36 am
Could you provide me URL to page where you get this error ?
User avatar
Platinum Boarder

GK User
Fri Feb 22, 2013 9:48 pm
http://www.dustinbarclay.com/index.php/ ... -biography

I get this error when I'm logged in via facebook.
User avatar
Gold Boarder

GK User
Sat Feb 23, 2013 11:50 am
Hi, I've tried few times using my test "Adam Slodowy" FB account and it works.
If I'm logged in FB, and login with [FACEBOOK BLUE BUTTON] is ok.
fb.png


Username and password do not match or you do not have an account yet.

IThis message is displayed if you log in using the data FB in the normal way of login, the user must click on FB if he want via FB. This is not fault of Gavick Templates but Joomla Login System.
User avatar
Platinum Boarder

GK User
Tue Feb 26, 2013 9:22 am
I've checked your login and for me it is also working fine.
User avatar
Platinum Boarder

GK User
Wed Apr 17, 2013 6:51 pm
Can you please tell me where can i download the fix for gk_boutique cause we are having the same issue.
User avatar
Fresh Boarder

GK User
Mon Apr 22, 2013 8:27 am
Please just update template to the latest version available on our download section >> https://www.gavick.com/download/joomla-25-templates/boutique.html
User avatar
Platinum Boarder

GK User
Sun Apr 28, 2013 11:50 am
Similar problem, reasons and solution: https://www.gavick.com/forums/template- ... 25098.html
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.