Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 194
Total: 195

Author Topic: twitter connect problem Could not connect to Twitter....  (Read 7815 times)

0 Members and 1 Guest are viewing this topic.

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
twitter connect problem Could not connect to Twitter....
« on: February 13, 2015, 05:08:25 pm »
this is what i get when pressing the "sign in to twitter" button in the editor

"Could not connect to Twitter. Refresh the page or try again later. - 301"

i have the "twitter and facebook" mod installed they seem to somehow intertween
http://www.2by2host.com/products/simplemachines/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: twitter connect problem Could not connect to Twitter....
« Reply #1 on: February 13, 2015, 05:18:21 pm »
What SMF Gallery version are you using?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #2 on: February 14, 2015, 06:54:15 am »
its the latest version i just installed v6.7

there seems to be an interefencing with the twitter/facebook mod because i had to manually include "ifclassdefined" around all the oauth classes that came with gallerypro because i had "class already defined" errors

it seems that the already existant (but incompatible?) oauth class is used instead ...

any quick fix for this e.g. renaming of the oauth classes that ship with gallerypro ?
too bad namespaces arent so commonly used in php ;)

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #3 on: February 14, 2015, 06:57:27 am »
BUT: i did not completely uninstall the gallery before installing the new one because i am always frightened of some database infringement
i have several gallerypro versions down to version 2.7 :/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #4 on: February 14, 2015, 07:01:28 am »
every class seemed to be already defined
Fatal error: Cannot redeclare class TwitterOAuth in [path]/Sources/twitteroauth.php on line 16

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: twitter connect problem Could not connect to Twitter....
« Reply #5 on: February 14, 2015, 08:27:52 am »
What mods do you have installed? There is an issue if you have SimpleTwitter instead already.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #6 on: February 14, 2015, 11:25:03 am »
i have several. installed

Code: [Select]
Mod Name Version
1. Auto Embed Video Clips 2.1.4  [ Uninstall ] [ List Files ] [ Delete ]
2. Advanced Visual Verification 1.2 [ Apply Mod ] [ List Files ] [ Delete ]
3. Aeva Media 1.0 Alpha 3 [ Apply Mod ] [ List Files ] [ Delete ]
4. Amazon Search 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
5. Anti Bot: Unrecognizable Form 1.1  [ Uninstall ] [ List Files ] [ Delete ]
6. April_Fools 2009  [ Uninstall ] [ List Files ] [ Delete ]
7. Anti Bot: Are You Human/Bot? 2.3  [ Uninstall ] [ List Files ] [ Delete ]
8. Downloads System 1.2.7  [ Uninstall ] [ List Files ] [ Delete ]
9. Earn From Amazon Links Mod 1.0  [ Uninstall ] [ List Files ] [ Delete ]
10. Easy Edit Meta Data 1.0  [ Uninstall ] [ List Files ] [ Delete ]
11. Embed BBCode 1.7 [ Apply Mod ] [ List Files ] [ Delete ]
12. Enhanced Forum Statistics 1.0  [ Uninstall ] [ List Files ] [ Delete ]
13. Googlebot & Spiders Mod 2.0.3 [ Apply Mod ] [ List Files ] [ Delete ]
14. Link Tree 1.1.0  [ Uninstall ] [ List Files ] [ Delete ]
15. Monthly Statistics on Profile 1.0  [ Uninstall ] [ List Files ] [ Delete ]
16. Profile Fields & Icons Mod 1.0  [ Uninstall ] [ List Files ] [ Delete ]
17. Related Topics 1.2.0  [ Uninstall ] [ List Files ] [ Delete ]
18. Remove Quoted Images 1.0  [ Uninstall ] [ List Files ] [ Delete ]
19. SA FBConnect 0.2  [ Uninstall ] [ List Files ] [ Delete ]
20. SMF Gallery Pro 2.5.7.2 [ Upgrade ] [ List Files ] [ Delete ]
21. SMF Gallery Pro 3.0.3 [ Upgrade ] [ List Files ] [ Delete ]
22. SMF Gallery Pro 4.0.1b [ Upgrade ] [ List Files ] [ Delete ]
23. SMF Gallery Pro 4.0.2 [ Upgrade ] [ List Files ] [ Delete ]
24. SMF Gallery Pro 4.0 [ Upgrade ] [ List Files ] [ Delete ]
25. SMF Links 2.1.2  [ Uninstall ] [ List Files ] [ Delete ]
26. SMF Affiliates Mod 3.0.3 [ List Files ] [ Delete ]
27. Simple .htaccess Cache Mod 2.6  [ Uninstall ] [ List Files ] [ Delete ]
28. Spiders Don't Increase Topic Views 1.1  [ Uninstall ] [ List Files ] [ Delete ]
29. Stop Spammer 2.3.9  [ Uninstall ] [ List Files ] [ Delete ]
30. Topic description 1.1  [ Uninstall ] [ List Files ] [ Delete ]
31. Users Online Today Mod 1.4.0  [ Uninstall ] [ List Files ] [ Delete ]
32. XarSmilies-1 1.0  [ Uninstall ] [ List Files ] [ Delete ]
33. XarSmilies-2 1.0  [ Uninstall ] [ List Files ] [ Delete ]
34. Custom Action Mod 2.04  [ Uninstall ] [ List Files ] [ Delete ]
35. Downloads System 1.0.4 [ List Files ] [ Delete ]
36. Auto Email Inactive Users 1.7  [ Uninstall ] [ List Files ] [ Delete ]
37. RSS Feed Icon 1.1  [ Uninstall ] [ List Files ] [ Delete ]
38. Global Headers Footers 1.3  [ Uninstall ] [ List Files ] [ Delete ]
39. httpBL 2.5.1  [ Uninstall ] [ List Files ] [ Delete ]
40. Ignore Boards 2.1 [ Apply Mod ] [ List Files ] [ Delete ]
41. Add IP2Location to Track IP 1.2 [ Apply Mod ] [ List Files ] [ Delete ]
42. jsTeX tag 1.1  [ Uninstall ] [ List Files ] [ Delete ]
43. Mimetex 1.01  [ Uninstall ] [ List Files ] [ Delete ]
44. Tapatalk SMF Plugin 0.9.11 [ Apply Mod ] [ List Files ] [ Delete ]
45. Twitter and Facebook Publisher mod 2.8  [ Uninstall ] [ List Files ] [ Delete ]
46. Pretty URLs - Base 0.8.4  [ Uninstall ] [ List Files ] [ Delete ]
47. Pretty URLs 1.0  [ List Files ] [ Delete ]
48. reCAPTCHA for SMF 0.9.7  [ Uninstall ] [ List Files ] [ Delete ]
49. Reason For Editing Mod 1.14  [ Uninstall ] [ List Files ] [ Delete ]
50. RedirectPage 1.9a [ List Files ] [ Delete ]
51. Share This Topic 1.4  [ Uninstall ] [ List Files ] [ Delete ]
52. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0  [ List Files ] [ Delete ]
53. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0  [ List Files ] [ Delete ]
54. SMF 1.0.14 / 1.1.6 Update 1.0  [ List Files ] [ Delete ]
55. SMF 1.0.15 / 1.1.7 Update 1.0  [ List Files ] [ Delete ]
56. SMF 1.0.16 / 1.1.8 Update 1.0  [ List Files ] [ Delete ]
57. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0  [ List Files ] [ Delete ]
58. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1.1  [ List Files ] [ Delete ]
59. SMF 1.0.19 / 1.1.11 Update 1.0  [ List Files ] [ Delete ]
60. SMF 1.0.20 / 1.1.12 Update 1.0  [ List Files ] [ Delete ]
61. SMF 1.0.21 / 1.1.13 Update 1.0  [ List Files ] [ Delete ]
62. SMF 1.0.22 / 1.1.16 Update 1.0  [ List Files ] [ Delete ]
63. SMF 1.0.23 / 1.1.17 Update 1.0  [ List Files ] [ Delete ]
64. SMF 1.1.14 Update 1.0  [ List Files ] [ Delete ]
65. SMF 1.1.15 Update 1.0  [ List Files ] [ Delete ]
66. SMF 1.1.18 Update 1.0  [ List Files ] [ Delete ]
67. SMF 1.1.19 / 2.0.6 Update 1.0  [ List Files ] [ Delete ]
68. Spam Me Not Mod 1.02  [ Uninstall ] [ List Files ] [ Delete ]
69. Twitter and Facebook Publisher mod 2.2 [ List Files ] [ Delete ]
70. SMF 1.1.20 / 2.0.9 Update 1.0  [ Uninstall ] [ List Files ] [ Delete ]
71. SMF Gallery Pro

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #7 on: February 14, 2015, 11:26:05 am »
but not the one you mentioned, beside the whole forum is up and running for 8 years now without any problems ;) updating ever and having no problems ;)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: twitter connect problem Could not connect to Twitter....
« Reply #8 on: February 14, 2015, 12:36:09 pm »
You said you had the "twitter and facebook"  and that might be causing a conflict.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #9 on: February 14, 2015, 04:21:12 pm »
yeah, any idea for a quick fix? i am up to replacing the classnames in the gallery phps but it seems a bit overkill for me and definately not future proof

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: twitter connect problem Could not connect to Twitter....
« Reply #10 on: February 14, 2015, 04:23:44 pm »
Uninstall the other mod if not used. That mod is causing the conflict since it seems it is loading the classes all the time.  Gallery Pro only loads it when needed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #11 on: February 14, 2015, 04:28:30 pm »
hmm, i am afraid that this is not an option because i rely on the facebook/twitter features

so but you gave a hint, i try to modifiy it in such a way that it just includes its twitter/fb functionality when actually needed


Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #12 on: February 18, 2015, 05:58:43 am »
@sorry for posting this in wrong board, pls move to "support"

either way, i removed the twitteroauth.php and the oauth.php files from the system ( kept the files, removed content)

both twitter php files where the same, but: the 301 error stays ... :/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: twitter connect problem Could not connect to Twitter....
« Reply #13 on: February 19, 2015, 08:53:15 pm »
Double check your twitter public and secret keys.
If you are still having an issue let me know.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline trifox

  • Member
  • *
  • Posts: 32
    • View Profile
    • fractalforums.com
Re: twitter connect problem Could not connect to Twitter....
« Reply #14 on: February 20, 2015, 04:43:41 am »
yes sir, double checked .... problem stays, when clicking on the "sign in with twitter" button in galleryconfig

"Could not connect to Twitter. Refresh the page or try again later. - 301"

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
8842 Views
Last post July 28, 2009, 05:54:55 am
by wildenborch
1 Replies
3812 Views
Last post November 11, 2011, 09:50:01 am
by SMFHacks
0 Replies
8656 Views
Last post June 06, 2012, 10:33:46 pm
by SMFHacks
5 Replies
3713 Views
Last post May 04, 2013, 01:08:57 pm
by SMFHacks
20 Replies
12041 Views
Last post February 10, 2017, 12:33:41 am
by pavelk

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal