0% match in D7.0.3

I tried also with the site Boonex.us, the match function  dont work.

I see 0% match.

I Think this is an important bug to solve.

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 5 Oct 2010

Firebug not reports errors....

Any idea?

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 5 Oct 2010

 

I tried also with the site Boonex.us, the match function  dont work.

I see 0% match.

I Think this is an important bug to solve.

I have the same problem

Quote · 5 Oct 2010

0% match also

Quote · 5 Oct 2010

The problems seems to be in the function:

 

function getProfilesMatch( $iPID1 = 0, $iPID2 = 0 )
{
$iPID1 = (int)$iPID1;
$iPID2 = (int)$iPID2;

if( !$iPID1 or !$iPID2 )
return 0;

if( $iPID1 == $iPID2 )
return 0;

$aProf1 = getProfileInfo($iPID1);
$aProf2 = getProfileInfo($iPID2);

if(empty($aProf1) || empty($aProf2))
return 0;

$iMatch = 0;
$aMathFields = getMatchFields();

foreach ($aMathFields as $sKey => $aFields)
{
$bRes = false;

if ($aProf1[$aFields['Name']])
{
if ($aMathFields[$aFields['MatchField']]['Name'] == 'DateOfBirth')
$bRes = age($aProf1['DateOfBirth']) == age($aProf2['DateOfBirth']);
else
$bRes = $aProf1[$aFields['Name']] == $aProf2[$aMathFields[$aFields['MatchField']]['Name']];
}

if ($bRes)
$iMatch += (int)$aFields['MatchPercent'];
}

return $iMatch;
}

 

The var $iMatch is even zero, so I think the latest if condition that you can see is never verified...

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 5 Oct 2010

I SOLVED!!!!!!!!!

you must delete manually the files into the cache dir

Attention: seems to work fine, but it's not an official solution.

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 5 Oct 2010

Why the cache ?

Quote · 5 Oct 2010

 

Why the cache ?

Most likely it needed fresh cache files.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 5 Oct 2010

the problem is the cache for the DB.

I finally solved. I've disable the cache for db (Settings->Advanced Settings->Other)

Now is Ok

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 5 Oct 2010

This is bug, ticket created and fixed:

http://www.boonex.com/trac/dolphin/ticket/2214

Changeset:

http://www.boonex.com/trac/dolphin/changeset/14511

 

After applying the fix - you can enable Db Cache

 

Rules → http://www.boonex.com/terms
Quote · 13 Oct 2010

Thanks Alex, now it works fine!

See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net
Quote · 19 Oct 2010

I honestly don't think the cache files are worth it... they should just be disabled - removed - nuked from the code.

On our largest site, with 1,000,000 users... we don't use a cache file system at all - for many reasons...

Stuff like this - things getting out of sync in the cache - is only one of them (reasons).

Quote · 20 Oct 2010

New in memory caching in Dolphin 7.0.3 has expiration time and cache is always automatically refreshed after some time, as the result you will not be out of sync.

I honestly don't think the cache files are worth it... they should just be disabled - removed - nuked from the code.

On our largest site, with 1,000,000 users... we don't use a cache file system at all - for many reasons...

Stuff like this - things getting out of sync in the cache - is only one of them (reasons).

 

Rules → http://www.boonex.com/terms
Quote · 25 Oct 2010

hello

does any one know how to disable the database????

Quote · 17 Jun 2011

 

hello

does any one know how to disable the database????

I assume you mean the database cache. You can disable database caching from Administration > Settings > Advanced Settings > Other.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Jun 2011

thanks for these, i did what you told me but the matching still dont working

Quote · 17 Jun 2011

hello i did what you post here but it did not work, what else can i do to make match work, i really need it working for my web site, please if you know how can i fix it,,, i allready try but did not work

Quote · 20 Jun 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.