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

Parse Error Expecting T_old_function Or T_function Or T_var

Likewise, the constructor declaration __construct() is a PHP 5 feature. To start viewing messages, select the forum that you want to visit from the selection below. So (after googling for many hours) I re-installed to PHP5 and Apache 2.2 (with AppServ 2.5.9)that should fix it. Terms Privacy Security Status Help You can't perform that action at this time. http://kiloubox.com/parse-error/parse-error-unexpected-t-static-expecting-t-old-function-or-t-function-or-t-var.html

Check your install directories. About this Plugin Twitter Tools Support Threads Reviews Topic Info In: Plugins and Hacks 6 replies 7 participants Last reply from: cpw50 Last activity: 5 years, 10 months ago Status: not Upper bounds for regulators of real quadratic fields Generating Pythagorean triples below an upper bound Fill in the Minesweeper clues What does 'tirar los tejos' mean? Do these physical parameters seem plausible? http://stackoverflow.com/questions/4719688/unexpected-t-string-expecting-t-old-function-or-t-function-or-t-var

x x) has a type, then is the type system inconsistent? The time now is 06:44 PM. I will start to learn HTMLPurifier now. Reply With Quote Quick Navigation Coding Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums PHP Help General Help Newbies Database Install Coding Code Critique Upgrading

Your browsing experience maybe affected by not having the most up to date version.

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' on Line asked 5 years ago viewed 11805 times active 19 days ago Linked 1 CakePHP Console doesn't work -> Parse Error Related 1PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION0Activated a Thank you so much for every comments. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?

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 Do I need to do this? Not the answer you're looking for? https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-expecting-t_old_function-or I've created the following class and tested, and getting the error Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/g/u/i/guirhost/html/class.WaterStorage.php on line 9 The

Your browsing experience may not be as good as with it turned on. Active topics Unanswered topics [ Closed ] Bug T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION PunBB Forums →PunBB 1.4 bug reports →Bug T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION Pages 1 You must login or add the following to .htaccess in your root folder :) AddHandler application/x-httpd-php5 .php Reply Quote Ambush Commander Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' It creates the new user, unfortunately it gives you the error.

I have tried adding that code to the .htaccess file, it is still doing the same thing, sometimes just a blank white screen. http://board.phpbuilder.com/showthread.php?10366062-RESOLVED-Parse-error-syntax-error-unexpected-T_STRING-expecting-T_OLD_FUNCTION-or-T_FUNCTIO Have you taken the WordPress 2016 Survey yet? 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,03:51 AM #3 aarchaic View Profile View Forum Posts Does "when ~ dies, deal n damage to all players/creatures" have a name?

What is the possible impact of dirtyc0w a.k.a. "dirty cow" bug? http://kiloubox.com/parse-error/parse-error-expecting-t-old-function-or-t-function-or-t-var-or-in.html 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? The Coffee Lounge Forum Feedback Computer Issues Announcements, Press Releases, & News « Previous Thread | Next Thread » Thread Information Users Browsing this Thread There are currently 2 users browsing if your webhost is still using PHP 4, then i'd ask them to upgrade to PHP 5 or you find a new host.

if your webhost is still using PHP 4, then i'd ask them to upgrade to PHP 5 or you find a new host. Uninstalling everything you previously installed will help get you back on a blank slate. Reply Quote Newer Topic Older Topic Print View RSS Author: Your Email: Subject: HTML input is enabled. have a peek here What does echo PHP_VERSION; output?

EDIT: I noticed that Awardspace is still using PHP 4.4.1 (at least on my account). any insight would much appreciated! Interpolation of magnitude of discrete Fourier transform (DFT) if (λ x .

Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"?

thanks Last edited by aarchaic; 06-08-2009 at 03:30 AM. Though it's unlikely the plugin will work perfectly with the older object instance handling. Process Terminated.'); } } } ?> Best Regards GUIR Visit Beautiful Sri Lanka Reply With Quote Quick Navigation PHP Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums 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…

I think maybe that problem is because of the uninstallation of the previous version Apache or PHP and I don't know why. You signed in with another tab or window. Remove all public and private attributes. Check This Out 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

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 Update needed ! 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 The time now is 07:44 PM.

Topic Info In: Plugins and Hacks 0 replies 1 participant Last reply from: sandrabowers Last activity: 3 years, 9 months ago 3.1.4 Status: not resolved Topic Tagsfatal errormultiple pluginsparse-errorsyntax error Forum 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 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 WordPress Mu 2.9.1.1 + Extended Profile http://mu.wordpress.org http://wordpress.org/extend/plugins/extended-profile/ 2.

you can see what I am referring to here http://www.paradiseprotech.com/paradisecms/ Any other ideas? Thank you Regards Sandra The topic ‘Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or..' is closed to new replies. How to prove that a paper published with a particular English transliteration of my Russian name is mine? not seen that error before tho.

To start viewing messages, select the forum that you want to visit from the selection below. 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 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 Plugin Contributor Alex King @alexkingorg 6 years, 1 month ago Please see the FAQ here: http://wphelpcenter.com/plugins/twitter-tools/ iMiKE @imike 6 years ago alexkingorg: previous version works fine with PHP4.