Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Server Error #6

Open
geegirls3 opened this issue Jul 8, 2013 · 0 comments
Open

500 Internal Server Error #6

geegirls3 opened this issue Jul 8, 2013 · 0 comments

Comments

@geegirls3
Copy link

Can someone help with this? I don't know cURL that well. I'm getting this error.

I"m using my token and key I created in dev.twitter app. It works for 1 user but I have a dashboard with mutliple users and need to get the #of subscribers per user stored in the database. It stop working with the new twitter api v 1.1.

This is the error log.

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:SQLiteManager_currentLangue=2; ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22fafdccde0a733a0b3e6a01f23a533c87%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A9%3A%22127.0.0.1%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A50%3A%22Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_7_5%29+App%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1373282035%3Bs%3A10%3A%22date-range%22%3Bi%3A7%3B%7D41ffefe0b41fca25998b34154e3b85a5
Host:localhost
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Connection:close
Content-Length:0
Content-Type:text/html
Date:Mon, 08 Jul 2013 13:04:52 GMT
Server:Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8x DAV/2 PHP/5.4.10
X-Powered-By:PHP/5.4.10

In my error log I'm getting this error:

Severity: Notice  --> Undefined property: Home::$display /Users/.../Sites/application/controllers/home.php 19

This is my home.php code:

    <?php
        $platforms = array('facebook','twitter','youtube');
          foreach($platforms as $platform):
     ?>

    <h1 class="header">
      <span class="title">
     <a href="<?php echo $config['dash_base_url']; ?>platform/<?php echo $platform ?>">
    <?php echo $platform ?></a></span>
    </h1>

    <div id="stats">
      <ul>

      <?php
      if(isset($statistics[$platform])):
        foreach($statistics[$platform] as $statistic):
      ?>
        <li class="<?php echo $statistic['icon'] ?>">
       <span class="icon <?php echo $statistic['icon'] ?>">&nbsp;</span>
       <span class="number"><?php echo number_format($statistic['metric']) ?></span> 
       <span class="metric"><?php echo $statistic['name'] ?></span></li>
      <?php
        endforeach;
      endif;
      ?>

      </ul>
    </div>


    <div class="two-column">  <!-- BEGIN: .two-column -->
      <div class="left">  <!-- BEGIN: .left -->

      <?php
      if(isset($widgets[$platform]['left'])):
        foreach($widgets[$platform]['left'] as $module):
          $this->load->view('widgets/'.$module['type'],$module);
        endforeach;
      endif;
      ?>

      </div> <!-- END: .left -->

      <div class="right"> <!-- BEGIN: .right -->

      <?php
      if(isset($widgets[$platform]['right'])):
        foreach($widgets[$platform]['right'] as $module):
          $this->load->view('widgets/'.$module['type'],$module);
        endforeach;
      endif;
      ?>

      </div> <!-- END: .right -->
    </div>  <!-- END: .two-column -->

      <?php
        endforeach;
       ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant