FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Problems on my forum





rafifaisal
Hi I am getting the following error on my forum hosted by frihost

Parse error: syntax error, unexpected $end in /home/rafifais/domains/crescentcc.frih.net/public_html/includes/template.php(127) : eval()'d code on line 269

What is happening and what can i do ? ?
n0obie4life
What page are you trying to load on your forum?

I'll only be able to help you if you tell me that.
Ironz
in order to get help you should open this file: /includes/template.php , copy and paste here the code between lines 265 and 275 cuz the problem might be between those lines.
n0obie4life
Ironz, the phpBB eval()'d error does not relate to the template.php file at all. It's the .tpl files int he templates folder.

I need to know what page he is trying to view first before I can help him.
n0obie4life
Okay never mind, I decided to be smarter and view the page myself.

So it's the header file..eh?

Code:
<meta http-equiv=Content-Style-Type content="text/css">
<link rel=icon href="templates/Jet/images/favicon.ico">
<!-- BEGIN switch_enable_pm_popup --><!-- END switch_enable_pm_popup -->
<script language="JavaScript"  type="text/javascript" src="templates/Jet/scripts.js">
</script>

<script language="JavaScript"  type="text/javascript" src="templates/Jet/formStyle.js">
</script>

<script language="JavaScript"  type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
/*window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400'); */
}
//-->
</script>
</head>


Your problem is there. Replace the whole chunk of code with

Code:
<meta http-equiv=Content-Style-Type content="text/css">
<link rel=icon href="templates/Jet/images/favicon.ico">
<script language="JavaScript"  type="text/javascript" src="templates/Jet/scripts.js">
</script>

<script language="JavaScript"  type="text/javascript" src="templates/Jet/formStyle.js">
</script>

<!-- BEGIN switch_enable_pm_popup -->
<script language="JavaScript"  type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
}
//-->
<!-- END switch_enable_pm_popup -->
</script>
</head>


Seriously, what did you do to your overall_header.tpl file?! It's totally messed up! Anyway, use that and it should work and do not comment the pop-up for the private message.
rafifaisal
Hi guys,
I found the problem myself.
The problem was in the overall_header.tpl file.
The switches where not correct.
The amount of lines where not right so i changed the thing and now it works.
Thanks anyway.
DeFwh
thats f'ed up how'd u manage to do that
wumingsden
-locked- to avoid any more SPAM.

rafifaisal, if you have any other problems just PM me and I will re-open this topic for you, or help you with it personally.
Related topics
More forum types.
Facing Many Problems
New forum area (computer problems)
create a new forum at Humor
Rules for posting in the Computer problems and support forum
problems with profile in forum
PROBLEMS ABOUT A PHP FORUM
request for a secrets & Confession forum topic
Locking the posts?
Can anyone post the tutorial for Directadmin?
My forum - Help!
problems with my calculator
problems with phpBB2 forum
Problems with my phpBB2 forum
Some Random Thoughts on Computing Today
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.