Error on profile with 7.07 update

Parse error: syntax error, unexpected '{' in /home/unity/public_html/templates/base/scripts/BxBaseFunctions.php(131) : eval()'d code on line 3


I can't see anything wrong in BxBaseFunctions.php, what could be causing this?

Quote · 16 Aug 2011

Try replacing it with a fresh one from a download.

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

It is a fresh copy, I just downloaded it from Boonex

Quote · 16 Aug 2011

I've also noticed the error just above the member info box when you hover over their photo.The error shows at the top of the profile page, and over the popup member box. On the home page, it DOESN'T appear at the top of the page, but it DOES appear when you hover over the member's photo. I can't figure it out. It's distorting the text on the member's profiles.

 

Quote · 16 Aug 2011

I cannot connect to ANY profiles using IE. IE9 says xxxx.com is not responding, then gives me the option to recover the page, but it doesn't help. It eventually jams up IE and needs to be shut down. I could really use some help if anyone knows of a solution.

Quote · 17 Aug 2011

 

Parse error: syntax error, unexpected '{' in /home/unity/public_html/templates/base/scripts/BxBaseFunctions.php(131) : eval()'d code on line 3


I can't see anything wrong in BxBaseFunctions.php, what could be causing this?

 eval()d code normally meens code from in a PHP block. The problem is not in BxBaseFunctions but at line 3 in the eval()d code.

Finding it will not be easy as it does not tell you what block.

So to find it you will need to move all of the blocks out of the page into the inactive area and then put them back one at a time testing the page each time until you find the one causeing the problem.

As this has happend after the update i am suspecting a mod.A mod that has a page block that also has a source code portion that most likley got over written when the update was done.

Forgetting about source code mods is a common problem when upgrading. If you have any source mods that were not reapplied after the update then you will have problems.

Another possible cause would be code from the eval section of a profile field.

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

I removed all blocks from the account page, and the error is still there, just above the info box when you hover over someone's profile pic. The error page is gone from the top of the pages. I'm thinking it has something to do with the popup code itself, could that be doing it? It kind of eliminates it being a block, so it has to be something else. It's driving me nuts, looks so unprofessional to have an error code attached to a popup. Here;'s the top of BxBaseFunctions.php from I think 7.06:

    var    $aSpecialKeys;
    var $iDhtmlPopupMenu;

    function BxBaseFunctions() {
        $this -> aSpecialKeys = array('rate' => '', 'rate_cnt' => '');
        $this -> iDhtmlPopupMenu = ( getParam('enable_new_dhtml_popups') == 'on' ) ? 0 : 1;

That IS NOT in 7.07 on that file. When I put that copy back on the server, the message disappears at the top of the page, and only shows with the popup. When I put the 7.07 version back, the error appears at the top of the pages again,and also with the popup. It's the iDhtmlPopupMenu part is not in the new version. I'm narrowing it down, but still not quite there.

Quote · 17 Aug 2011

I have same problem ;(

Quote · 1 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.