Home > Parse Error > Parse Error Expecting T_old_function Or T_function Or T_var Or In

Parse Error Expecting T_old_function Or T_function Or T_var Or In

I tried to install PHP5 without re-install Apache, just my silly. Reply Quote vaughan Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' August 18, 2008 02:55PM Registered: 8 years ago Posts: 204 use require_once Not sure how I can change how PHP5 is setup on Godaddys server, they really do not give you any options to change that. Are there any historically significant examples? http://kiloubox.com/parse-error/parse-error-unexpected-t-static-expecting-t-old-function-or-t-function-or-t-var.html

WordPress.org Search WordPress.org for: Showcase Themes Plugins Mobile SupportForumsDocumentation Get Involved About Blog Hosting Download WordPress Support Log In Support » Plugins and Hacks » Parse error: syntax error, unexpected T_STRING, It can't hurt to try (unless their support really really crappy). DM adds overly powerful homebrew items to published adventures Previous company name is ISIS, how to list on CV? Willr Forum Moderator, 5522 Posts 30 June 2008 at 2:24pm The PHP5 is setup wrong if its asking you to download.

share|improve this answer answered Jan 18 '11 at 1:46 mario 105k14138224 Yup just checked my htaccess file and it seems someone or something had removed the PHP5 handler. –Cameron Results 1 to 5 of 5 Thread: [RESOLVED] Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTIO Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… AAA+BBB+CCC+DDD=ABCD Longest "De Bruijn phrase" in English Why did they bring C3PO to Jabba's palace and other dangerous missions?

Posts: 6 Pages 1 You must login or register to post a reply PunBB Forums →PunBB 1.4 bug reports →Bug T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION Jump to forum: News Feature requests Pls let me know if so. PHP4 is dead and is no more supported or updated by the people who develop PHP, hence it's not only your site that could be compromised but even their own servers.

I had re-installed windows (the last method that I can do) and after install AppServ (Apache2.2,PHP5) every thing is perfect.

if line 63 is commented out, solves the issue (but unknown circumstances) // public $tidy_mode = 'proxy'; // 'proxy', 'exec', 'php' or 'none' Original issue reported on code.google.com by [email protected] on If not, I suggest that you demand that your host upgrade to PHP 5.2 (or later) since PHP 4 is obsolete, to the point that even major security bugs in PHP I used "var" but the results are the same. To start viewing messages, select the forum that you want to visit from the selection below.

Advanced Search Forum PHP Help Coding [RESOLVED] Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTIO If this is your first visit, be sure to check out the FAQ by What could I do to make it work (other than commenting all the html purifier lines in my php code lol)? Remove all public and private attributes. Results 1 to 4 of 4 Thread: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread…

The private and public keywords for access control are features from PHP 5. http://board.phpbuilder.com/showthread.php?10366062-RESOLVED-Parse-error-syntax-error-unexpected-T_STRING-expecting-T_OLD_FUNCTION-or-T_FUNCTIO Double newlines will be converted to paragraphs; for single newlines, use the pre tag. Thanks for your reply. config.php PHP Code:
//ADMINSETTINGS//
define("ADMIN_PASSWORD","PASS");//AdminPassword

Reply Quote Kangajo Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' August 19, 2008 02:24PM Now I can start Apache 2.2 after changed this contact form Advanced Search Forum Server-Side Development PHP parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or If this is your first visit, be sure to check out the FAQ by Lame! Line 13 is the public bit.

Output the Hebrew alphabet What is a tire speed rating and is it important that the speed rating matches on both axles? Not the answer you're looking for? That's what the error message at this location would usually indicate. have a peek here Have you taken the WordPress 2016 Survey yet?

What do you see instead? The Coffee Lounge Forum Feedback Computer Issues Announcements, Press Releases, & News « Previous Thread | Next Thread » Thread Information Users Browsing this Thread There are currently 1 users browsing Or else can anyone recognize any syntax error?

Code:

Thanks. Reply Quote vaughan Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' September 22, 2008 03:49AM Registered: 8 years ago Posts: 204 i wouldn't You may have to register before you can post: click the register link above to proceed. Anyway, now I still have some problem that I can't start Apache after re-install.

I think maybe that problem is because of the uninstallation of the previous version Apache or PHP and I don't know why. Uninstalling everything you previously installed will help get you back on a blank slate. Join them; it only takes a minute: Sign up Unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR up vote 3 down vote favorite 1 I'm trying to run a WordPress plugin, Check This Out I was burnt out last night.