Solved: 5 Years, 11 Months, 1 Week ago member.php(2584) : eval()'d code on line 2
#1
Solved: 5 Years, 11 Months, 1 Week ago
This user has been denied support. This user has been denied support.
Hey so my forum's member profile is blank and I checked error log and I got this

HP Parse error:  syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/snipper/public_html/member.php(2584) : eval()'d code on line 2


any help?
Reply
#2
Solved: 5 Years, 11 Months, 1 Week ago
You can check the line to find out the issue.
https://github.com/mybb/mybb/blob/featur....php#L2584

I would say that you edited your member_profile_online template incorrectly, either directly or indirectly by a activating a plugin. But only you would know for sure.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#3
Solved: 5 Years, 11 Months, 1 Week ago
This user has been denied support. This user has been denied support.
(2019-01-11, 07:00 AM)Omar G. Wrote: You can check the line to find out the issue.
https://github.com/mybb/mybb/blob/featur....php#L2584

I would say that you edited your member_profile_online template incorrectly, either directly or indirectly by a activating a plugin. But only you would know for sure.

member_profile_online is unedited
<a href="online.php"><span class="online" style="font-weight: bold;">{$lang->postbit_status_online}</span></a> ({$location} @ {$location_time})
Reply
#4
Solved: 5 Years, 11 Months, 1 Week ago
check member_profile_reputation template - is that also unchanged ?
Reply
#5
Solved: 5 Years, 11 Months, 1 Week ago
This user has been denied support. This user has been denied support.
(2019-01-12, 06:02 PM).m. Wrote: check member_profile_reputation template - is that also unchanged ?

<a href="reputation.php?uid={$memprofile['uid']}"><if $memprofile['uid'] == 1 then> <strong class="reputation_positive">Infinite?</strong> <else> {$reputation} </if> </a>
Reply
#6
Solved: 5 Years, 11 Months, 1 Week ago
^ is template conditionals plugin installed & activated ?
Reply
#7
Solved: 5 Years, 11 Months, 1 Week ago
This user has been denied support. This user has been denied support.
I did that and this happened
PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home//public_html/member.php(2575) : eval()'d code on line 2
Reply
#8
Solved: 5 Years, 11 Months, 1 Week ago
The message is clearly telling you where to find the error (file and line) but it doesn't seem like you are actually opening the file to share with us your findings. You are not helping yourself out, at all.

Try to help you out a little, open the file, find the line, search for the template that it is telling you in that line (my guess is that that line is a template being eval'd). Then somebody might be able to help you.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#9
Solved: 5 Years, 11 Months, 1 Week ago
@MsPeppermint , exactly which version of MyBB you are using ?
have you modified member.php file for any purpose ?
Reply
#10
Solved: 5 Years, 11 Months, 1 Week ago
This user has been denied support. This user has been denied support.
(2019-01-17, 08:08 AM).m. Wrote: @MsPeppermint , exactly which version of MyBB you are using ?
have you modified member.php file for any purpose ?

just updated to latest
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)