PHP Classes

Error line 29

Recommend this page to a friend!

      My Twitter  >  All threads  >  Error line 29  >  (Un) Subscribe thread alerts  
Subject:Error line 29
Summary:Parse error: syntax error, unexpected T_STRING, expecting T_OLD_
Messages:3
Author:Mike W
Date:2009-08-16 16:01:52
Update:2010-07-04 13:41:43
 

  1. Error line 29   Reply   Report abuse  
Picture of Mike W Mike W - 2009-08-16 16:01:52
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /.../include/my_twitter.php on line 29.

Whats this about?
Code used is:
require_once( './include/my_twitter.php' );
$twitter = new MyTwitter('***', '***');
$twitter->updateStatus("test");

  2. Re: Error line 29   Reply   Report abuse  
Picture of sqdg sqdg - 2010-06-24 23:09:09 - In reply to message 1 from Mike W
Hi there, it's a long time ago since you posted this. But did you manage to solve this problem? I'm having the same problem and all google can show up with is this post :)
Can you help me?

  3. Re: Error line 29   Reply   Report abuse  
Picture of muhammed muhammed - 2010-07-04 13:41:43 - In reply to message 1 from Mike W
I was getting that error on my local machine. A few days ago I downgraded my php&apache versions because of some old code. I installed latest versions and this problem seems to gone but new errors showed up.