Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Panel error

Asked Modified Viewed 2,403 times
T
tblackb1rd
T
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Newbie

Hello all.

Install went well, but when I try to make new panel, I get this error:

Parse error: syntax error, unexpected '<' in /home/otvgamin/public_html/portal/themes/templates/panels.php(75) : eval()'d code on line 4


Thanks in advance for the help!

cheers
0 replies

9 posts

J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

Sounds like the panel is not version 7 compatible for some reason.

Are you making this panel?
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Error in the code you wrote (possibly an opening or closing quote missed. You might post the code here for us to evaluate...
0 replies
T
tblackb1rd
T
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Newbie

Yes, Just making it...... like this

openside("name");
echo "<a href="http://www.gametracker.com/server_info/69.12.98.70:16567/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/69.12.98.70:16567/b_160x400_T2_F-1-2-3.png" border="0" width="160" height="441" /></a>";
closeside();

or can i not do that?
0 replies
J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

You can't use double ticks (") inside you php code.

Try this:
<?php
openside ("name");
echo "<a href='http://www.gametracker.com/server_info/69.12.98.70:16567/' target='_blank'><img src='http://cache.www.gametracker.com/server_info/69.12.98.70:16567/b_160x400_T2_F-1-2-3.png' border='0' width='160' height='441' [color=#cc0000]alt=''[/color] /></a>";
closeside ();
?>

The above works for me without any errors.
I also added alt='' so it is W3C compliant...
Edited by Joe Kriz on 11-01-2009 23:20,
0 replies
T
tblackb1rd
T
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Newbie

Still coming up with an error

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/otvgamin/public_html/portal/themes/templates/panels.php(75) : eval()'d code on line 3
0 replies
J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

That's strange. Mine doesn't...

I pasted that code into a Custom Page and view it without any errors.
Try doing that in a custom page. If you still get errors than something else is wrong.
0 replies
T
tblackb1rd
T
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Newbie

ahh, I was trying to make it a panel, like the forum lastest thread...

so it displayed my server game image like shoutbox
0 replies
J
Joe Kriz
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
answered
Senior Member

You should be able to make a panel out of it.

You need a folder called something_panel
And inside that folder you need the a file named like something_panel.php

Then in the admin panel, add the panel and enable it.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Not an installation issue.

We do not support custom panel coding at this site.
Although you got some help.

Moved.
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

M
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
J
J
  • Senior Member, joined since
  • Contributed 281 posts on the community forums.
  • Started 39 threads in the forums
T
T
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet