Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

JS Dating Search

7 years 5 months ago
  • RUSLAN's Avatar
    Topic Author
  • RUSLAN
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:

Good vpemeni days, you must add fields to JS Dating Search. Help to correct error in line 133
Fatal error: Cannot redeclare modcommunitydatingHelper::createDatingModuleCookie() in /home/design-web/communityok.designer-web.ru/docs/modules/mod_community_dating/helper.php on line 133.
public function getSearchForm(){

}

public static function createDatingModuleCookie($data = array(), $fieldCode = '', $cookieVar = 'CommunityModuleList')
{
$app = JFactory::getApplication();
$jinput = $app->input;
$jcookie = $jinput->cookie;

foreach ($data as $key => $value) {
if ($value == $fieldCode) {
$index = filter_var($key, FILTER_SANITIZE_NUMBER_INT);

if (isset($data) && $data) {
$jcookie->set($cookieVar, $data, 0);
}

// set Age To cookie
if (isset($data) && $data) {
$jcookie->set($cookieVar.'To', $data, 0);
}
}
}

return true;
}

line 133 public function createDatingModuleCookie($data = array(), $fieldCode = '', $cookieVar = 'CommunityModuleGender')
{

$app = JFactory::getApplication();
$jinput = $app->input;
$jcookie = $jinput->cookie;

foreach ($data as $key => $value) {
if ($value == $fieldCode) {
$index = filter_var($key, FILTER_SANITIZE_NUMBER_INT);

if (isset($data) && $data) {
$jcookie->set($cookieVar, $data, 0);
}

// set Age To cookie
if (isset($data) && $data) {
$jcookie->set($cookieVar.'To', $data, 0);
}
}
}

return true;
}

}
}

7 years 5 months ago
Licenses:

HI, Ruslan.

Thank you for contacting us.
It's seems that you do not own any JomSocial license. Please, make sure that you log in using account that own it.
If you use nulled version of JomSocial, please, consider to purchase a license to get support and upgrade benefits.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
7 years 5 months ago
  • RUSLAN's Avatar
    Topic Author
  • RUSLAN
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:

JS Dating Search
Expires: In 363 days, 23 hours, 37 minutes
License Number: 100038835

7 years 5 months ago
Licenses:

HI.

License number is valid. But it belongs to different user.
Please, make sure you log in with user account that owns the license.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
7 years 5 months ago
  • RUSLAN's Avatar
    Topic Author
  • RUSLAN
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:

JS Dating Search
Expires: In 363 days, 22 hours, 58 minutes
License Number: 100038835
Domain would you like us to support
communityok.designer-web.ru/index.php/ru/

7 years 5 months ago
Licenses:

HI.

Yes, everything is correct.
But account RUSLAN is not license owner, thus I can't verify your user.
Also note that you may only post in this category - that's also due lack of license with current user.
Please, log in as license owner, that's the only way we could provide you support.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW