Dolphin 7.0.3 viewing a profile gives ERROR

Hello,

I've upgraded from 7.0.2 to 7.0.3.. The process went successfully without any error/problem.

When I click to view my own profile or those have not got online from a long time (i guess) then .. I get a "Database Query Error"

It do not give me this error with all the members.. But I've noticed it happens with all the members have not got online

from a long time.. This is what I feel. Because for some it gives that error and for some it do not.. :s

 

In the apache error logs when I checked.. Then I got following errors.

 

[Fri Oct 01 20:19:10 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Invalid argument supplied for foreach() in /home/xyz/public_html/inc/classes/BxDolProfileFields.php on line 629, referer: http://abc.com/

[Fri Oct 01 20:19:11 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Division by zero in /home/xyz/public_html/templates/base/scripts/BxBaseProfileView.php on line 514, referer: http://abc.com/

 

 

Further investigating that I have done show that.. Those profiles's view which gives me "Database access ERROR" have

this error in must.

[Fri Oct 01 20:19:11 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Division by zero in /home/xyz/public_html/templates/base/scripts/BxBaseProfileView.php on line 514, referer: http://abc.com/

 

And those which gets opened, the only give that earlier first error. :S

What's causing this ??

Quote · 1 Oct 2010

jOIN THE CLUB :) , the 7.0.3 is the worst upgrade ever !

Proud Hosted by Zarconia.net
Quote · 1 Oct 2010

Well, it's okay, I guess we should look at the half full cup and not the half empty one.

Quote · 1 Oct 2010

 

jOIN THE CLUB :) , the 7.0.3 is the worst upgrade ever !

most of the problems are simply because of not following upgrade instructions, if you follow all the instruction carefully - you will not have most of the problems. Other rare problems are because of custom mods - this is not proper upgrade too, you just need to merge files properly in this case, or don't install mods which change system files.

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

Check "friends_per_page" setting, it looks like it is missing or equals to zero.

Hello,

I've upgraded from 7.0.2 to 7.0.3.. The process went successfully without any error/problem.

When I click to view my own profile or those have not got online from a long time (i guess) then .. I get a "Database Query Error"

It do not give me this error with all the members.. But I've noticed it happens with all the members have not got online

from a long time.. This is what I feel. Because for some it gives that error and for some it do not.. :s

 

In the apache error logs when I checked.. Then I got following errors.

 

[Fri Oct 01 20:19:10 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Invalid argument supplied for foreach() in /home/xyz/public_html/inc/classes/BxDolProfileFields.php on line 629, referer: http://abc.com/

[Fri Oct 01 20:19:11 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Division by zero in /home/xyz/public_html/templates/base/scripts/BxBaseProfileView.php on line 514, referer: http://abc.com/

 

 

Further investigating that I have done show that.. Those profiles's view which gives me "Database access ERROR" have

this error in must.

[Fri Oct 01 20:19:11 2010] [error] [client xxx.xxx.xxx.xxx] PHP Warning:  Division by zero in /home/xyz/public_html/templates/base/scripts/BxBaseProfileView.php on line 514, referer: http://abc.com/

 

And those which gets opened, the only give that earlier first error. :S

What's causing this ??

 

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

Alex

I think it has something to do with downloading the patches/scripts from your servers. I had to initiate the download 3 times before it showed complete. If during this times a few files get altered, nobody knows, I expect this to be another issue too.

 

At the same time I downloaded other scripts from other sites without any issues at all.

Quote · 4 Oct 2010

If you get a database error when you type the url to the upgrade path, you can't say this is not proper installed  I 'am sorry this complett madness. 
I had to set up our backup tree times back before I could do anything with the old site again. 

Kids first
Quote · 4 Oct 2010

Hello,

I'm join the club. If I put the friends block into the profile page I obtain an query error. Also this is the couple of warning message that I see in error_log file

 

[04-Oct-2010 09:59:39] PHP Warning:  Invalid argument supplied for foreach() in /home/italianww/public_html/demo/inc/classes/BxDolProfileFields.php on line 629
[04-Oct-2010 09:59:39] PHP Warning:  Division by zero in /home/italianww/public_html/demo/templates/base/scripts/BxBaseProfileView.php on line 514

 

Regards

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

Wow.....

I've solved, thanks to AlexT suggestion (but in each case this is a bug):

go to in the administration area -> Settings->Advanced Settings

Into the profile section I've decreased the number of friends into to show into the profile page.

Now it's OK!!!

Later I set the value at the original and also works fine!

My installation is a D7.0.3 native, not an upgrade.

Best regards

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

This works Temporary but if the cache is cleared  the error returns ....

Quote · 6 Oct 2010

Try to uncheck the db cache into advanced settings->other

I think it's this aspect that create the most part of errors with the cache.

bye!

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

 

Try to uncheck the db cache into advanced settings->other

I think it's this aspect that create the most part of errors with the cache.

bye!

yes it works thanks

Quote · 6 Oct 2010

Nothing!

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

Hey i have a blank page when i press a profile name, the page can't find the profile.php file and is on my folder!!!!

Quote · 8 Dec 2010
 
 
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.