Warning!

Fuel\Core\PhpErrorException [ Warning ]:
file_get_contents(https://api.instagram.com/v1/users/self/media/recent/?access_token=5664427611.52436bf.3f7b711b07b342d9b9a298ca612365a8): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

APPPATH/modules/instagram/views/instagram.php @ line 36

31                </div>
32            </div>
33        </div>
34        <?php
35            $myAccessToken '5664427611.52436bf.3f7b711b07b342d9b9a298ca612365a8'//実際のアクセストークンを入力
36            $json file_get_contents('https://api.instagram.com/v1/users/self/media/recent/?access_token='.$myAccessToken);
37            $obj json_decode($json);
38        ?>    
39            <div class="row room_styling_area" align="center">
40                <div class="row room_styling_row" align="center">
41                    <?php

Backtrace

  1. COREPATH/bootstrap.php @ line 98
    93        include COREPATH.'classes/error.php';
    94        class_alias('\Fuel\Core\Error''Error');
    95        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    96    }
    97
    98    return \Error::error_handler($severity$message$filepath$line);
    99});
    100
    101function setup_autoloader()
    102{
    103    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/modules/instagram/views/instagram.php @ line 36
    31                </div>
    32            </div>
    33        </div>
    34        <?php
    35            $myAccessToken '5664427611.52436bf.3f7b711b07b342d9b9a298ca612365a8'//実際のアクセストークンを入力
    36            $json file_get_contents('https://api.instagram.com/v1/users/self/media/recent/?access_token='.$myAccessToken);
    37            $obj json_decode($json);
    38        ?>    
    39            <div class="row room_styling_area" align="center">
    40                <div class="row room_styling_row" align="center">
    41                    <?php
    
  3. COREPATH/classes/view.php @ line 240
    235            ob_start();
    236
    237            try
    238            {
    239                // Load the view within the current scope
    240                include $__file_name;
    241            }
    242            catch (\Exception $e)
    243            {
    244                // Delete the output buffer
    245                ob_end_clean();
    
  4. COREPATH/classes/view.php @ line 254
    249            }
    250
    251            // Get the captured output and close the buffer
    252            return ob_get_clean();
    253        };
    254        return $clean_room($file_override ?: $this->file_name$this->get_data());
    255    }
    256
    257    /**
    258     Retrieves all the databoth local and global.  It filters the data if
    259     necessary.
    
  5. COREPATH/classes/view.php @ line 565
    560        {
    561            throw new \FuelException('You must set the file to use within your view before rendering');
    562        }
    563
    564        // combine local and global data and capture the output
    565        $return $this->process_file();
    566
    567        // restore the current language setting
    568        $this->active_language and \Config::set('language'$current_language);
    569
    570        // and the active request class
    
  6. COREPATH/classes/view.php @ line 207
    202     */
    203    public function __toString()
    204    {
    205        try
    206        {
    207            return $this->render();
    208        }
    209        catch (\Exception $e)
    210        {
    211            \Error::exception_handler($e);
    212
    
  7. APPPATH/views/clasolabtemplate.php @ line 89
    84                    }
    85                    ?>
    86                </div>
    87            </div>
    88        </div>   
    89        <?php echo $content?>
    90        </main>
    91        <p id="pageTop"><a href="#"><?php echo Asset::img('clasolab/common/icon-pagetop.png'?></a></p>
    92        <footer>
    93        <?php echo View::forge('common/clasolab_footer');?>
    94        </footer
    
  8. COREPATH/classes/view.php @ line 240
    235            ob_start();
    236
    237            try
    238            {
    239                // Load the view within the current scope
    240                include $__file_name;
    241            }
    242            catch (\Exception $e)
    243            {
    244                // Delete the output buffer
    245                ob_end_clean();
    
  9. COREPATH/classes/view.php @ line 254
    249            }
    250
    251            // Get the captured output and close the buffer
    252            return ob_get_clean();
    253        };
    254        return $clean_room($file_override ?: $this->file_name$this->get_data());
    255    }
    256
    257    /**
    258     Retrieves all the databoth local and global.  It filters the data if
    259     necessary.
    
  10. COREPATH/classes/view.php @ line 565
    560        {
    561            throw new \FuelException('You must set the file to use within your view before rendering');
    562        }
    563
    564        // combine local and global data and capture the output
    565        $return $this->process_file();
    566
    567        // restore the current language setting
    568        $this->active_language and \Config::set('language'$current_language);
    569
    570        // and the active request class
    
  11. COREPATH/classes/view.php @ line 207
    202     */
    203    public function __toString()
    204    {
    205        try
    206        {
    207            return $this->render();
    208        }
    209        catch (\Exception $e)
    210        {
    211            \Error::exception_handler($e);
    212
    
  12. COREPATH/classes/response.php @ line 355
    350     *
    351     * @return  string
    352     */
    353    public function __toString()
    354    {
    355        return (string) $this->body;
    356    }
    357}
    
  13. DOCROOT/index.php @ line 77
    72        throw $e;
    73    }
    74}
    75
    76// Render the output
    77$response->body((string) $response);
    78
    79// This will add the execution time and memory usage to the output.
    80// Comment this out if you don't use it.
    81if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false)
    82{
    

Prior Contents (show)