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

Parse Error Parse Error Unexpected T_string Expecting T_old_function

Lame! What could I do to make it work (other than commenting all the html purifier lines in my php code lol)? 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 Any idea how can i solve the problem? have a peek here

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 Dvetricitky.cz esmi @esmi Forum Moderator 10 months ago @mydve & @leapdaywilliam: If you require assistance then, as per the Forum Welcome, please post your own topics. 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 Terms Privacy Security Status Help You can't perform that action at this time.

Thanx. Log in or register to post comments Comment #6 rapsli CreditAttribution: rapsli commented October 28, 2008 at 5:32am what PHP Version are you using? I have successfully been able to install and activate : Reusable Contents and Jetpack by WordPress.com I am thinking it must be something to do with the installation of WP and pdxgeek @pdxgeek 6 years, 1 month ago same error here… not good.

Please, add support of PHP4, my hoster refuses to upgrade 🙁 cpw50 @cpw50 5 years, 10 months ago I'm getting the same error, and I just created the database so I not seen that error before tho. Line 13 is the public bit. 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

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 Topic Info In: Installation 2 replies 1 participant Last reply from: loriac Last activity: 7 months, 2 weeks ago 4.4.2 Status: resolved Topic Tagsinstallation Forum Search Search for: About Blog Hosting 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 What is the possible impact of dirtyc0w a.k.a. "dirty cow" bug?

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 Now the server is starting with Apache 2.2.4 and PHP5.2.0RC3 but I don't know why the "http://localhost/" still show "HTTP 404 - File not found" instead of index.php that existing in Thank you Regards Sandra The topic ‘Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or..' is closed to new replies. 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

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: Log in or register to post comments Comment #2 Starminder CreditAttribution: Starminder commented September 26, 2008 at 3:08pm PHP version is 5.2.6 - thanks! I have tried editing the .httpaccess file Dont know about .httpaccess if thats something godaddy uses or what but normally you use the .htaccess file which something like AddType x-mapp-php5 .php Thank you!

On what operating system? navigate here Not sure how I can change how PHP5 is setup on Godaddys server, they really do not give you any options to change that. Likewise, the constructor declaration __construct() is a PHP 5 feature. Log in or register to post comments Comment #4 ncy CreditAttribution: ncy commented October 27, 2008 at 5:37pm try out 6.x-3.1-beta1 Log in or register to post comments Comment #5 drupalfan2

I am running the latest release of silverstripe, this is a brand new install in a subdir not the root. Uninstalling everything you previously installed will help get you back on a blank slate. That's what the error message at this location would usually indicate. Check This Out 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

Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? Remove all public and private attributes. you can see what I am referring to here http://www.paradiseprotech.com/paradisecms/ Any other ideas?

I post it.

Without wp-config.php Parse error: syntax error, unexpected ‘{‘ in /users13/domains/nvcnaffiliates.org/web/wp-includes/functions.php on line 2689 I tried creating my own wp-config.php as suggested in user guide then got With hand modified wp-config.php Parse mydve @mydve 10 months ago Thank you very much! Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or.. You may have to register before you can post: click the register link above to proceed.

Reply Quote Newer Topic Older Topic Print View RSS Author: Your Email: Subject: HTML input is enabled. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Have you taken the WordPress 2016 Survey yet? 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.

Reply Quote goldenmidas Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' September 22, 2008 05:28AM Registered: 8 years ago Posts: 10

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 i'll contact my host now! 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.