
php-twitter - issue #3
Fatal error: Cannot redeclare twitter::followUser() in /home/nextbest/public_html/twitter/class.twitter.php on line 324
What steps will reproduce the problem? 1. test the first snippet in the wiki Examplecode 2. 3.
What is the expected output? What do you see instead? Rate... -> Syntax error
What version of the product are you using? On what operating system? 1.0-beta
Please provide any additional information below. The class.twitter.php contains 2 occurrences of followUser in lines 198 and 324
changed the function name on 324 from followuser to followuser1 to solve the issue
Also consider mentioning that the class will only with in php5 mode ---> "AddType application/x-httpd-php5 .php" in .htaccess is necessary
Comment #1
Posted on Oct 20, 2008 by Grumpy HippoThe class method is just included twice... for some reason. They both appear to be exactly the same so delete one of them.
Comment #2
Posted on Feb 28, 2009 by Happy Monkey(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium