Profile Error after updating

Any help please?

 

Fatal error: Call to undefined function bx_check_profile_visibility() in /home/xxxxxx.xxx/public_html/profile.php on line 35

Quote · 3 Aug 2011

Have you recently updated?

Changed any code?

Quote · 3 Aug 2011

open profiles.inc.php

 

You should have the 

"function bx_check_profile_visibility ($iViewedId, $iViewerId = 0) {"

function in there

(that's not the whole function, just the first line)

Quote · 3 Aug 2011

I already updated my site from 7.0.7, I have not change anything on the script nor a third party modules installed

Quote · 3 Aug 2011

To go further on what DCSniper said.

Re-upload inc/profiles.inc.php from the upgrade. It would appear that file did not overwrite the original.

I would like to point out to those that update via FTP. Watch your FTP transfer logs for errors during the transfer. If a file fails to upload, then the upgrade is incomplete and will fail.

Usually all error messages containing the words undefined or does not exist is almost always the result of a uploaded file that did not replace the original.

https://www.deanbassett.com
Quote · 3 Aug 2011

I'm having same error 

 Fatal error: Call to undefined function bx_check_profile_visibility() in /home/xxx/public_html/websitexxx/folderxxx/profile.php on line 35

 

Any suggestions? I checked the root/profile.php but can't find "function bx_check_profile_visibility" in it.

Quote · 10 Sep 2011

I installed it brand new -getting the error. If the function was in the old file and the new would fail to overwrite the function would be there. The function is not in the new version, and probably intentionally :-)

So I suppose it won't hurt to stop the call that is causing the error, namely

"profile.php" around line 35 and "profile_info.php" around line 83:

    bx_check_profile_visibility($profileID, $memberID);

Comment it out like this:

//  bx_check_profile_visibility($profileID, $memberID);

 

I didn't come across any side effects yet. If there are other places calling that function I can create an empty function, just to avoid the error, and then pick those files one by one. But we'll see.

Quote · 22 Sep 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.