Home > Php Parse > Php Parse Error Parse Error Unexpected T_string Expecting T_old_function

Php Parse Error Parse Error Unexpected T_string Expecting T_old_function

x x) has a type, then is the type system inconsistent? thanks Last edited by aarchaic; 06-08-2009 at 03:30 AM. Line 13 is the public bit. Anyway, now I still have some problem that I can't start Apache after re-install. this contact form

I recommend you start off with XAMPP or some other pre-packaged server stack that will give you the least grief when you're starting off with PHP. 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 » [Plugin: Twitter Tools] Parse error: syntax What does echo PHP_VERSION; output? sandrabowers @sandrabowers 3 years, 9 months ago I have just installed wordpress and am trying to install and activate a number of plugins, however I am getting the same error (although http://stackoverflow.com/questions/4719688/unexpected-t-string-expecting-t-old-function-or-t-function-or-t-var

Skip to forum content PunBB Forums Lightweight PHP-based Forum Login Register Index PunBB Wiki Extensions Github User list Rules Search Register Login You are not logged in. Uninstalling everything you previously installed will help get you back on a blank slate. Linux host.wildwaterweb.com 2.6.9-67.0.15.EL #1 Thu May 8 10:39:19 EDT 2008 i686 PHP Version 5.2.6 Please provide any additional information below. if your webhost is still using PHP 4, then i'd ask them to upgrade to PHP 5 or you find a new host.

Log in or register to post comments Comment #8 rapsli CreditAttribution: rapsli commented November 12, 2008 at 2:34pm update to PHP 5. I will start to learn HTMLPurifier now. Have you taken the WordPress 2016 Survey yet? Reply With Quote 06-08-2009,03:43 AM #2 laserlight View Profile View Forum Posts Visit Homepage PHP Witch Join Date Apr 2003 Location Singapore Posts 13,884 What is the version of PHP that

The time now is 12:38 AM. I had to open a ticket with my hosting provider. Code: http://htmlpurifier.org/phorum/read.php?3,2222,2223 Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}' in /homepages/14/d107039318/htdocs/swensonese/wp-content/plugins/twitter-tools/twitteroauth.php on line 19 Any help with this?

Already have an account? Previous company name is ISIS, how to list on CV? It creates the new user, unfortunately it gives you the error. When i try to install for the first time i receive this error: Parse error: syntax error, unexpected ‘{‘ in /web/htdocs/www.proxe.it/home/test/wp-includes/functions.php on line 2783 I try to re-copy the function.php file

So, what may be the reason. https://wordpress.org/support/topic/plugin-twitter-tools-parse-error-syntax-error-unexpected-t_string-expecting-t_old_function-or-t_fu Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/site/public_html/pfp/magazine/db.php on line 6 here is the code. i'll contact my host now! Browse other questions tagged php wordpress or ask your own question.

Though it's unlikely the plugin will work perfectly with the older object instance handling. weblink Thank you so much for every comments. 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 I notice that Apache Monitor show 2 servers that we can start -> Apache and Apache2.2 (but I can't start both - -!) Maybe it because it was not completed uninstall

Thanks all for support! Many hostings supports both version of PHP. 5 Reply by N3twork2 2012-01-15 11:12 N3twork2 Senior Member Offline From: France Registered: 2006-10-01 Posts: 155 Re: Bug T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION Hello, Dear Customer, after some tests showed that the problem was created by older version of php set to its domain by setting the version 5.3 the error no longer appears and navigate here Have you taken the WordPress 2016 Survey yet?

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 Use Bazaar for your version control system Read the PHP Spellbook Learn How To Ask Questions The Smart Way Reply With Quote 06-08-2009,04:16 AM #5 aarchaic View Profile View Forum Posts You signed in with another tab or window.

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 20, 2008 10:35AM OK, now I could fix it. I tried to install PHP5 without re-install Apache, just my silly. There's going to be some sort of syntax error either before or after Line 13. –Mark Biek Jan 18 '11 at 1:27 Yep to the above, that's the usual Reply Quote Ambush Commander Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' August 20, 2008 12:27AM Admin Registered: 9 years ago Posts: 3,029

I realized I was running PHP4 on an old server. –Mark Oct 4 at 20:59 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign Update needed ! more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed his comment is here Comments Comment #1 rapsli CreditAttribution: rapsli commented September 25, 2008 at 9:56am Status: Active ยป Postponed (maintainer needs more info) what php version are you using?

Your module is not working with php4! EDIT: I noticed that Awardspace is still using PHP 4.4.1 (at least on my account). 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