Home > Parse Error > Parse Error Parse Error Unexpected T_string Expecting T_old_function Or T_function

Parse Error Parse Error Unexpected T_string Expecting T_old_function Or T_function

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? if your webhost is still using PHP 4, then i'd ask them to upgrade to PHP 5 or you find a new host. It may be the case that your host offers PHP 5 as an option; if so, switch to PHP 5. Find the super palindromes! have a peek here

Remove all public and private attributes. How would I simplify this summation: Passing different value (link value) from VF page to VF component and display it on screen Where's the 0xBEEF? That's what the error message at this location would usually indicate. Log into Dashboard -> Plugins -> Activate Extended Profile 3.

Is a rebuild my only option with blue smoke on startup? I see there is a few threads on this subject but i have this problem the code looks ok to me but i'm not really up to scratch with functions or If enyone can help me, please comment. you can see what I am referring to here http://www.paradiseprotech.com/paradisecms/ Any other ideas?

Remember me Submit Create an account Features Learn Community Blog Create your store Français Español Deutsch Italiano Portuguese Polish Dutch English Features Templates Store Builder Shopping Cart Mobile eMarketing International Benjamin Utterback • ex-Community Manager • PrestaShop Test Server Setup for Online Stores - How to Turn on Error Reporting - Upgrade Tips - How to Manually Back Up MySQL and EDIT: I noticed that Awardspace is still using PHP 4.4.1 (at least on my account). Reply Quote vaughan Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' September 24, 2008 02:48PM Registered: 8 years ago Posts: 204 if your

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 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 I found the error -->Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}''in C:\AppServ\www\Kangajo\htmlpurifier\library\HTMLPurifier\Bootstrap.php on line 37 My coding is: https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-expecting-t_old_function-or 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

Can an irreducible representation have a zero character? To see more, check here: http://www.softpedia...Jpeg-Free.shtml Back to top #28 pozz Posted 03 April 2011 - 03:56 PM pozz PrestaShop Newbie Members 16 Active Posts HiI get this error aswell Browse other questions tagged php wordpress or ask your own question. I could not get past the "parse error unexpected T_STATIC… error, until I changed the .htaccess file to:AddType x-mapp-php5 .php# URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]RewriteRule

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 Thank you Regards Sandra The topic ‘Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or..' is closed to new replies. EDIT: Here is some code: class QrctWp { public $pluginName = 'QR Code Tag'; php wordpress share|improve this question edited Oct 4 at 22:27 Mark 481615 asked Jan 18 '11 at something prior to PHP5.0.Just upgrade your PHP to version 5 (5.3 is preferred). 3 Reply by N3twork2 2012-01-15 10:50 N3twork2 Senior Member Offline From: France Registered: 2006-10-01 Posts: 155 Re: Bug

Log in or register to post comments Comment #3 rapsli CreditAttribution: rapsli commented September 26, 2008 at 3:38pm try the dev version... navigate here Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or.. 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:03PM Last error that I had posted maybe my Go to Top Go to TopReturn to top

Statistics: 95467 Posts in 24738 Topics by 8310 members SilverStripe SilverStripe Open Source Company Platform facebook Linkedin Twitter GitHub Vimeo Sitemap

Good point!Everyone’s views are different, so opinions are not the same.Bing or Google may help you. To start viewing messages, select the forum that you want to visit from the selection below. You signed out in another tab or window. Check This Out 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

Parse error unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR Started by .Danny, Mar 02 2008 11:16 AM, 30 replies to this topic Prev Page 2 of 2 1 2 Please Log in or register to post comments Comment #9 rapsli CreditAttribution: rapsli commented December 3, 2008 at 8:32am Status: Postponed (maintainer needs more info) » Fixed Log in or register to Likewise, the constructor declaration __construct() is a PHP 5 feature.

So (after googling for many hours) I re-installed to PHP5 and Apache 2.2 (with AppServ 2.5.9)that should fix it.

Please re-enable javascript to access full functionality. I don't know so much about PHP version and Apache version relation. Willr Forum Moderator, 5522 Posts 1 July 2008 at 8:58am Its prompting me to down the file so the handler for .PHP isnt setup correctly, I think you need to use HTML Purifier Navigation News Compare Demo Download Docs Forum Contact Welcome! » Log In » Create A New Profile Home > Support > Topic Advanced Please help me: Parse error: parse

If you don't want to rename all yourscripts to .php5 you can do the following:Create a .htaccess file and place the following line AddType x-mapp-php5 .php in it.This will tell Apache Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? 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 this contact form Please login or register.

You may have to register before you can post: click the register link above to proceed. Thanx. 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… tr command has no effect when used in $() and saved in a variable Thesis reviewer requests update to literature review to incorporate last four years of research.

Log in or register to post comments Comment #8 rapsli CreditAttribution: rapsli commented November 12, 2008 at 2:34pm update to PHP 5. Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/.../htdocs/sites/all/modules/fast_gallery/fast_gallery.class.php on line 13 In php4 the the expression "public" and "private" seem not to exist. 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.