Lead image for Contact page

ErrorException [ Warning ]: file_get_contents(https://api.twitter.com/1.1/application/rate_limit_status.json?resources=help,users,search,statuses): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

APPPATH/classes/controller/twitter.php [ 13 ]

 8 	* @return 
 9 	*/
10 	public function action_feed()
11 	{
12 		// Check allowed requests left from server IP - get json response and decode to array
13 		$curr_rate = json_decode(file_get_contents("https://api.twitter.com/1.1/application/rate_limit_status.json?resources=help,users,search,statuses", TRUE)); 
14 
15 		// Check remaining hits allowed
16 		//if ($curr_rate AND $curr_rate->remaining_hits > 0)
17 		//{	
18 			$twitter_data = json_decode(file_get_contents("http://twitter.com/status/user_timeline/therugrooms.json?count=3", TRUE));
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/controller/twitter.php [ 13 ] » file_get_contents(arguments)

  3. {PHP internal call} » Controller_Twitter->action_feed(arguments)

  4. SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)

  5. SYSPATH/classes/kohana/request.php [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)

  6. APPPATH/views/home_social_tabs.php [ 40 ] » Kohana_Request->execute()

  7. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  8. SYSPATH/classes/kohana/view.php [ 359 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  10. APPPATH/views/layout/standard.php [ 16 ] » Kohana_View->__toString()

  11. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  12. SYSPATH/classes/kohana/view.php [ 359 ] » Kohana_View::capture(arguments)

  13. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  14. APPPATH/views/template.php [ 63 ] » Kohana_View->__toString()

  15. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  16. SYSPATH/classes/kohana/view.php [ 359 ] » Kohana_View::capture(arguments)

  17. SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()

  18. APPPATH/classes/controller/website.php [ 64 ] » Kohana_Controller_Template->after()

  19. APPPATH/classes/controller/page.php [ 86 ] » Controller_Website->after()

  20. APPPATH/classes/controller/contact.php [ 34 ] » Controller_Page->after()

  21. {PHP internal call} » Controller_Contact->after()

  22. SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)

  23. SYSPATH/classes/kohana/request.php [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)

  24. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment

Contact

Opening Times
The Rug Rooms is open:

Monday-Saturday   10am-5.30pm
Sunday                  1pm-5pm

We look forward to seeing you soon.

Contact Us

The Rug Rooms
29-37 Otago Street
Kelvinbridge
Glasgow
G12 8JJ

Tel: 0141 337 2845

Email: rugrooms@btconnect.com