Error Log File

Ok I just Checked my server and in my file stream I have the error_log.. I check to see what is in there and there are over 50 lines of the same thing:

[10-Apr-2015 13:23:37 EST] PHP Parse error:  syntax error, unexpected '{' in /home/trucking/public_html/templates/base/scripts/BxBaseFunctions.php(131) : eval()'d code on line 1

 

Now I am not a coder but when I checked to see BxBaseFunction.php on line 1 is:

1. <?php
2.
3. /**
4.  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
5.  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
6.  */

 

I do not see any { in line 1? So it must be talking about another file. So how would I go about tracking that one down?

Any help would be great.. Thanks all..

Quote · 11 Apr 2015

Tracking it down will not be easy. First lets pick apart the error.

This part of the error.

BxBaseFunctions.php(131) : eval()'d code on line 1

The error is occuring on line 131 of BxBaseFunctions.php and the eval()'d code indicates the error is caused by code contained in a eval()'d code processed by that line 131 in BxBaseFunctions

So if we look at line 131 in BxBaseFunctions we find this.

$sTransformText =  str_replace( '{' . $sMarkerValue . '}', eval( $sExecuteCode ),  $sTransformText);

The error is occuring when that line calls eval, so what ever is in the variable $sExecuteCode at the time is what is causing the error.

This is all in the function markerReplace function used by dolphin to replace markers normally in the Actions. Unfortunately i cannot narrow it down further than that. It appears you have bad eval code for one of your action buttons. Which one i cannot tell you. That will be the hard part. Finding out which action button is damaged.

https://www.deanbassett.com
Quote · 11 Apr 2015

Thanks Deano.. With what you just wrote. I might have figured out what it is.. My wife was trying to post a YouTube Video on Evo News feed wall.. She kept hitting continue. I think that would might be it.. Will have to wait and see.. There are error_files in that modules file as well..

 

Thank you for your help..

Quote · 11 Apr 2015
 
 
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.