Code Monkey home page Code Monkey logo

tgl_twitter's People

Contributors

bryantaxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tgl_twitter's Issues

Getting errors when entering pin (and it's not saved

During the last step of the setup process, after filling out the "Pin" field and clicking on "Update" I get:

A PHP Error was encountered
Severity: Warning
Message: Missing argument 3 for TwitterOAuth::__construct(), called in /system/expressionengine/third_party/tgl_twitter/mcp.tgl_twitter.php on line 111 and defined
Filename: classes/twitteroauth.php
Line Number: 64
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: url
Filename: classes/twitteroauth.php
Line Number: 66
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 809
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 412

Any idea what could be causing this? Thanks!

PHP error on first load

When I view a site for the first time on any device it results in a PHP error. Refreshing it fixes the issue. PHP error refers to the access_token index not being defined. Next time the error triggers, I will get the exact error code. I am sure it is an easy fix. I bet if I delete the cache and refresh, it will trigger the error again.

I just wanted to see if you know about this error before I fix it.

Incompatibility with NSM Twitter

Hi,

When you install this module it has some incompatibilities with NSM Twitter, such as a duplicate OAuth class and some weird things when saving the module settings.

The duplicate OAuth is easy to get around by checking if the class is already declared before including it:

if ( ! class_exists('OAuthConsumer'))
{
  require_once PATH_THIRD . 'tgl_twitter/classes/twitteroauth.php';
}

When saving the module settings it is also trying to insert some settings from nsm_twitter. So a check on which settings are relevant to TGL_Twitter might not be a bad idea.

It also looks like NSM twitter is using a different version of the OAuth library.

– Wouter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.