Home > Parse Error > Parse Error Expecting T_old_function Or

Parse Error Expecting T_old_function Or

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. 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 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 What shape is a Calippo? have a peek here

Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? 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 Back to top #22 tcharara Posted 05 May 2009 - 02:12 PM tcharara PrestaShop Newbie Members 9 Active Posts Hello,After installing Prestashop successfully on my personal website (@ Amen.fr) I'm 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. additional hints

How to prove that a paper published with a particular English transliteration of my Russian name is mine? 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, Back to top Prev Page 2 of 2 1 2 Back to Installing PrestaShop for the first time 1 user(s) are reading this topic 0 members, 1 guests, 0 anonymous users 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.

Should I use "teamo" or "skipo"? Reply Quote Ambush Commander Re: Please help me: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' August 18, 2008 09:19PM Admin Registered: 9 years ago Posts: 3,029 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' 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

more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation I used "var" but the results are the same. Code: http://board.phpbuilder.com/showthread.php?10366062-RESOLVED-Parse-error-syntax-error-unexpected-T_STRING-expecting-T_OLD_FUNCTION-or-T_FUNCTIO The time now is 07:42 PM.

Or else can anyone recognize any syntax error? Remove all public and private attributes. 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, Auto-paragraphing is enabled.

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 http://forums.oscommerce.com/topic/347973-parse-error-parse-error-expecting-t-old-function-or-t-function-or-t-var/ Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. 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 If enyone can help me, please comment.

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 navigate here 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 Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. All rights reserved.

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 Everything works as expected. 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 Check This Out 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

It creates the new user, unfortunately it gives you the error. Best Regards GUIR Visit Beautiful Sri Lanka Reply With Quote 07-09-2006,11:02 AM #2 NogDog View Profile View Forum Posts Visit Homepage Moderator, take two Join Date Aug 2004 Location Ankh-Morpork Posts 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

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

To start viewing messages, select the forum that you want to visit from the selection below. I tried to install your software on my webserver but I get these errors and I'm not sure why. What do you see instead? Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or..

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 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 Reload to refresh your session. this contact form 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.

Thank you for every helps. It can't hurt to try (unless their support really really crappy). Top All times are GMT -4. socialbookmarksI did check to make sure that php 5 is installed a correctly working and it isAny ideas or am I in the wrong thread for this problem?Thanks Back to top

if your webhost is still using PHP 4, then i'd ask them to upgrade to PHP 5 or you find a new host. We recommend upgrading to the latest Safari, Google Chrome, or Firefox. Have a try!