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

[Tumblr] Message: Could not connect to Tumblr under php7.4 #13021

Closed
loma-one opened this issue Apr 23, 2023 · 5 comments
Closed

[Tumblr] Message: Could not connect to Tumblr under php7.4 #13021

loma-one opened this issue Apr 23, 2023 · 5 comments
Milestone

Comments

@loma-one
Copy link

loma-one commented Apr 23, 2023

  • [ x ] I have searched open and closed issues for duplicates

Bug Description

Connecting an account under php7.4 is not possible. Message: Could not connect to Tumblr. Refresh the page or try again later.
IMPORTANT: From php 8.0 the login works without problems.

Steps to Reproduce

  1. settings
  2. social networks
  3. tumblr export addon
  4. (Re-)Authentication of your tumblr page
  5. could not connect to Tumblr. Refresh the page or try again later.

Actual Result:
Message: Could not connect to Tumblr. Refresh the page or try again later.

2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: session_start(): A session had already been started - ignoring {"code":8,"message":"session_start(): A session had already been started - ignoring","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":98} - {"file":null,"line":null,"function":"session_start","request-id":"6444c923aded7","uid":"274395","process_id":25599}

2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: Undefined index: oauth_token {"code":8,"message":"Undefined index: oauth_token","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":119} - {"file":"tumblr.php","line":119,"function":"tumblr_connect","request-id":"6444c923aded7","uid":"274395","process_id":25599} 2023-04-23T05:58:59Z index [NOTICE]: E_NOTICE: Undefined index: oauth_token_secret {"code":8,"message":"Undefined index: oauth_token_secret","file":"/var/www/html/friendica/addon/tumblr/tumblr.php","line":120} - {"file":"tumblr.php","line":120,"function":"tumblr_connect","request-id":"6444c923aded7","uid":"274395","process_id":25599}

Expected Result:
The account is (re-)authenticated

Platform Info

Friendica Version: RC 1518

Friendica Source: github

PHP version: 7.4

SQL version: 10.3

@loma-one loma-one added the Bug label Apr 23, 2023
@annando
Copy link
Collaborator

annando commented Apr 23, 2023

Can we postpone this to the next version? On my system I completely overhauled the addon, including the possibility to import the Tumblr timeline and to reshare and like Tumblr posts. I would like to publish this in the next version.

@tobiasd tobiasd added the Addons label Apr 23, 2023
@tobiasd tobiasd added this to the 2023.06 milestone Apr 23, 2023
@annando
Copy link
Collaborator

annando commented Apr 24, 2023

The new Tumblr code is now in the system. Please check again.

@loma-one
Copy link
Author

loma-one commented Apr 26, 2023

IMPORTANT: The addon is used under Stable. I assume that Dev and Stable are currently still very much together.

Under PHP8.0 / PHP7.4 💯 🤩.
grafik

@tobiasd
Copy link
Collaborator

tobiasd commented Apr 26, 2023

IMPORTANT: The addon is used under Stable. I assume that Dev and Stable are currently still very much together.

No, not for the Tumblr addon. The changes @annando wrote about are in the develop branch of the addon repository.

@MrPetovan MrPetovan modified the milestones: 2023.05, 2023.09 May 19, 2023
@annando
Copy link
Collaborator

annando commented Oct 16, 2023

Can we close this issue?

@MrPetovan MrPetovan changed the title [addon tumblr] Message: Could not connect to Tumblr under php7.4 [Tumblr] Message: Could not connect to Tumblr under php7.4 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants