Template: Musicity - Problems with Jomsocial & the Gk4 Modul

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Dec 04, 2011 11:34 pm
I use the Template Musicity with Jomsocial 2.4.1

If i activate the included modules of the Template: GK JomSocial Members & GK JomSocial Stats i get the following error:

Deprecated: Assigning the return value of new by reference is deprecated in /home/.sites/xx/xx/web/xx/modules/mod_gk_js_members/mod_gk_js_members.php on line 21


Deprecated: Assigning the return value of new by reference is deprecated in /home/.sites/xx/xx/web/xx/modules/mod_gk_js_stats/mod_gk_js_stats.php on line 21


Image
Image
User avatar
Junior Boarder

GK User
Mon Dec 05, 2011 7:03 am
Hi,

The net speed is kinda slow for me now so I can't download the package to check for you. However it's a problem of PHP version, you simply turn off "error_reporting" in php.ini or PM me your FTP access then I will make some changes in code to fix it for you.

Thanks,
User avatar
Platinum Boarder

GK User
Mon Dec 05, 2011 6:41 pm
Don Lee wrote:Hi,

The net speed is kinda slow for me now so I can't download the package to check for you. However it's a problem of PHP version, you simply turn off "error_reporting" in php.ini or PM me your FTP access then I will make some changes in code to fix it for you.

Thanks,


Thanks for the answer

Is there a way to solve thist in the Code, im just a beginner in Php :)
I need this modules to run without switching of "error_reporting" (i use a Online Hosting Service)

how can i post you a PM? sorry but i dindn´t find a way to do this (shame on me :D )
User avatar
Junior Boarder

GK User
Mon Dec 05, 2011 10:08 pm
I tried to switch reporting off in Joomla & in my Hosting Server, but nothing happend´s...

One thing changed in the Error Message:

Deprecated: Assigning the return value of new by reference is deprecated in /xx/xx/xx/xx/xx/xx/modules/mod_gk_js_members/mod_gk_js_members.php on line 61

instead of:

Deprecated: Assigning the return value of new by reference is deprecated in /xx/xx/xx/xx/xx/xx/modules/mod_gk_js_members/mod_gk_js_members.php on line 21

if it is possible i need a fast solution for this Problem, thank´s :)
User avatar
Junior Boarder

GK User
Tue Dec 06, 2011 5:34 pm
Hi,

You can submit a ticket to provide me the access info at https://www.gavick.com/supportdesk/inde ... ets/Submit

then just let me know the ticket ID. PM feature seems to be disabled in this forum :(
User avatar
Platinum Boarder

GK User
Wed Dec 07, 2011 8:16 pm
I open´d a Ticket:


ID: #FYN-824-11601

ftp access is also included... thanks :)


I forgott the link to my Site in the Ticket: www.benomero.at/foto/
User avatar
Junior Boarder

GK User
Fri Dec 09, 2011 5:28 am
Hello,

Somehow I can't find the ticket :( As the PM feature is enabled in this forum so you can send it to me over PM as well. I'm sorry for this inconvenience.

Thanks,
User avatar
Platinum Boarder

GK User
Fri Dec 09, 2011 10:42 am
Got your PM and checking the issue for you :)
User avatar
Platinum Boarder

GK User
Fri Dec 09, 2011 11:17 am
ok now the "gk stats modul" works fine...

but im wondering where the "gk member modul" is going to..

it switched on and at the right position.... but not there... :(
User avatar
Junior Boarder

GK User
Fri Dec 09, 2011 11:44 am
Ok let me check again, there was some weird issue while fixing :(
User avatar
Platinum Boarder

GK User
Fri Dec 09, 2011 11:47 am
It's okay now, please check and confirm the same :)
User avatar
Platinum Boarder

GK User
Fri Dec 09, 2011 12:29 pm
Now everything works fine.... thanks a lot... grat Job :D
you´r my favourite Supporter :D
User avatar
Junior Boarder

GK User
Sat Dec 10, 2011 12:37 am
Ok there is just one other thing i cant fix myself....

The Modul: "Image Show GK4" with the module style "gk_musicity" dont show the date.... there is just the orange box without "Date" ......it works... but without date view.... :?
User avatar
Junior Boarder

GK User
Sat Dec 10, 2011 12:33 pm
"gk_recaptcha" Problem: if i turne on "gk_recaptcha" it works in the "gk_register" module, but if i click Register on "Jomsocial" the following error show´s up:


Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /xx/xx/xx/xx/xx/xx/components/com_community/helpers/recaptcha.php:78) in /xx/xx/xx/xx/xx/xx/plugins/system/gk_recaptcha/recaptcha/recaptchalib.php on line 55


Never mind if i turned it on or off in Jomsocial itself.... :(
User avatar
Junior Boarder

GK User
Sat Dec 10, 2011 1:15 pm
Omerovic wrote:Ok there is just one other thing i cant fix myself....

The Modul: "Image Show GK4" with the module style "gk_musicity" dont show the date.... there is just the orange box without "Date" ......it works... but without date view.... :?


Fixed for you!
User avatar
Platinum Boarder

GK User
Sat Dec 10, 2011 1:23 pm
Omerovic wrote:"gk_recaptcha" Problem: if i turne on "gk_recaptcha" it works in the "gk_register" module, but if i click Register on "Jomsocial" the following error show´s up:


Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /xx/xx/xx/xx/xx/xx/components/com_community/helpers/recaptcha.php:78) in /xx/xx/xx/xx/xx/xx/plugins/system/gk_recaptcha/recaptcha/recaptchalib.php on line 55


Never mind if i turned it on or off in Jomsocial itself.... :(

Check if this solution works:

Open: \plugins\system\gk_recaptcha\gk_recaptcha.php

Find:

Code: Select all
require_once('recaptcha/recaptchalib.php');


Change to:

Code: Select all
if(!function_exists("redeclare _recaptcha_qsencode")){
               require_once('recaptcha/recaptchalib.php');
            }
User avatar
Platinum Boarder

GK User
Sat Dec 10, 2011 2:41 pm
Don Lee wrote:
Omerovic wrote:"gk_recaptcha" Problem: if i turne on "gk_recaptcha" it works in the "gk_register" module, but if i click Register on "Jomsocial" the following error show´s up:


Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /xx/xx/xx/xx/xx/xx/components/com_community/helpers/recaptcha.php:78) in /xx/xx/xx/xx/xx/xx/plugins/system/gk_recaptcha/recaptcha/recaptchalib.php on line 55


Never mind if i turned it on or off in Jomsocial itself.... :(

Check if this solution works:

Open: \plugins\system\gk_recaptcha\gk_recaptcha.php

Find:

Code: Select all
require_once('recaptcha/recaptchalib.php');


Change to:

Code: Select all
if(!function_exists("redeclare _recaptcha_qsencode")){
               require_once('recaptcha/recaptchalib.php');
            }



Thanks for the fix with the date... works fine now!



The Same error .... i changed the two value´s in gk_recaptcha.php:

Code: Select all
require_once('recaptcha/recaptchalib.php');


with your instruction but the same error came out....
User avatar
Junior Boarder

GK User
Mon Dec 12, 2011 10:08 am
Sorry, the code must be:

Code: Select all
if(!function_exists("_recaptcha_qsencode")){
               require_once('recaptcha/recaptchalib.php');
            }


Please try again!
User avatar
Platinum Boarder

GK User
Mon Dec 12, 2011 4:02 pm
Now he tells me:

Fatal error: Call to undefined function recaptcha_get_html() in /xxx/xxx/xxx/xxx/xxx/xxx/plugins/system/gk_recaptcha/gk_recaptcha.php on line 37
User avatar
Junior Boarder

GK User
Mon Dec 12, 2011 4:14 pm
This is the Line:

Code: Select all
$buffer = str_replace('<div id="gk_recaptcha"></div>', $settings . recaptcha_get_html($publickey), $buffer);
User avatar
Junior Boarder

GK User
Mon Dec 12, 2011 4:28 pm
Please wait, I will check again and fix it myself.
User avatar
Platinum Boarder

GK User
Mon Dec 12, 2011 5:01 pm
Ok thanks a lot
User avatar
Junior Boarder

GK User
Tue Dec 13, 2011 11:32 am
Hi,

Can you give me the link to see the issue? I went to http://www.benomero.at/foto/index.php/commun/register but didn't see it.

Thanks,
User avatar
Platinum Boarder

GK User
Tue Dec 13, 2011 12:58 pm
I get the Error here: http://www.benomero.at/foto/index.php/c ... y/register

I use Jomsocial to Register for Member´s... It think maybe its a forward Problem to recaptchalib.php, because he is always writting: Call to undefined function recaptcha_get_html():

Otherwise if the error dont show up with the link above, try to go in the Menu link Community->Subscribe Free->Register than the error shows up everytime
User avatar
Junior Boarder

GK User
Wed Dec 14, 2011 9:27 am
It redirects me to http://www.benomero.at/foto/index.php/my-orders/order

and I don't see any issue there!
User avatar
Platinum Boarder

GK User
Wed Dec 14, 2011 2:20 pm
OK..... above in my Reply i said you have to SUBSCRIBE FREE... dont worry its Just a "Test" Site......

Till the Order Site it works fine... After klicking SUBSCRIBING FREE

Image



After that comes the Site to Register, there you have to klick on Register like on the following Picture:

Image

Thats the Point where the error comes... if i turne off the SUbscribe Option it comes earlyer, beacuase the error comes on THE JOMSOCIAL REGISTER PAGE!!
User avatar
Junior Boarder

GK User
Thu Dec 15, 2011 1:37 pm
Hi,

Fixed for you!

I commented out line 22

Changed line 27 from:
Code: Select all
            $buffer = str_replace('<div id="gk_recaptcha"></div>', $settings . recaptcha_get_html($publickey), $buffer);


To:
Code: Select all
            $buffer = str_replace('<div id="gk_recaptcha"></div>', $settings . recaptcha_get_html_data($publickey), $buffer);


in file /plugins/system/gk_recaptcha/gk_recaptcha.php

And it works back now! Please check and confirm the same.
User avatar
Platinum Boarder


cron