John
John

Reputation: 159

Twitter Streaming API error in PHP

I am using 140dev Twitter Database Server (PHP) this following code as I was getting the error in get_tweet.php

Fatal error: Maximum execution time of 30 seconds exceeded in \htdocs\140dev\db\get_tweets.php on line.

Please help me out

Upvotes: 1

Views: 460

Answers (1)

Sampson
Sampson

Reputation: 268324

Your script exceeded the maximum time alloted for a script to run (30 seconds by default). See max_execution_time in your configuration (php.ini) file.

You may not want to change your current settings, as the problem could be in the script itself. It may be that your script is dragging out due to its design. Without having more details we cannot say.

Additionally, the problem could have been with twitter (though probably not too likely). However, if your script is waiting 30 seconds to get a response from Twitter, that would seem to me like a design problem in the script itself.

Upvotes: 1

Related Questions