phpBBHacks.com - Help: Parse error: syntax error, unexpected '}' in
Managing Online Forums, a manual for the community admin
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
Help: Parse error: syntax error, unexpected '}' in
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Portal Support and Discussion
 See a User Guidelines violation? Please contact us.
Author Message

shares
New User

Joined: 28 Jan 2008
Posts: 2

PostPosted: January 28th 2008, 4:20 pm    Post subject: Help: Parse error: syntax error, unexpected '}' in Reply with quote

Hello and goodevening.

i am a new member and i really love the site. BUt i ran against a problem that i think can be solved. I was installing "GuestNo_Avatar_On_Ezportal" on phpbb and when i refreshed the page i got the follow error:

Parse error: syntax error, unexpected '}' in /home/id1981/domains/ishare2.com/public_html/phpBB2/includes/template.php(127) : eval()'d code on line 112

ive checked it myself but because im a novice i cant find the problem. I never changed anything in this file installing the above program.

link to the website: http://www.ishare2.com/phpBB2/portal.php


This is the code mentioned in the error:

Code:
 

function pparse($handle)
        {
                if (!$this->loadfile($handle))
                {
                        die("Template->pparse(): Couldn't load template file for handle $handle");
                }

                // actually compile the template now.
                if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
                {
                        // Actually compile the code now.
                        $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
                }

                // Run the compiled code.
                eval($this->compiled_code[$handle]);
                return true;
        }


Can someone please help me solving this problem?
Back to top
View user's profile Send private message

shares
New User

Joined: 28 Jan 2008
Posts: 2

PostPosted: February 4th 2008, 9:47 am    Post subject: Hi Reply with quote

This can be removed. Reinstalled phpbb2
Back to top
View user's profile Send private message

Coyote
Experienced User

Joined: 08 Dec 2006
Posts: 338

PostPosted: February 4th 2008, 10:54 am    Post subject: Reply with quote

If you run into that problem again, please post it. I'm pretty good at finding those misplaced brackets, semicolons and stuff.
_________________
Free Code Editor | phpBB2 as CMS | My Hacks
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Portal Support and Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - PhotoshopForums.com - MicrosoftBlog.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2008. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.