GithubHelp home page GithubHelp logo

Comments (6)

luke- avatar luke- commented on June 10, 2024 1

@gevorgmansuryan The LinkPreview is usually installed using the including all dependencies.

The error message should be logged in: Administration -> Information -> Logging

from linkpreview-issues.

katr avatar katr commented on June 10, 2024 1

@katr - minimum PHP version for humhub/linkpreview is php7.4 and it's defined in composer.json of linkpreview. How you installed/updated LinkPreview ?

Also Can You please enabled debug mode and try again, this will give us more detailed error info.

We are using php 7.2.24, so that may certainly be an issue...however it was working initially. I'm trying to recall how we installed it, but that was a while ago, so I'm not quite certain. Looking at my modules folder, it looks like I installed it back in Dec 2021.

drwxr-xr-x. 10 apache apache 4096 Feb 28 2021 breakingnews
drwxr-xr-x. 20 apache apache 4096 Feb 28 2021 calendar
drwxr-xr-x. 15 apache apache 4096 Feb 28 2021 cfiles
drwxr-xr-x. 8 apache apache 4096 Feb 28 2021 codebox
drwxr-xr-x. 18 apache apache 4096 Feb 28 2021 custom_pages
drwxr-xr-x. 13 apache apache 4096 Feb 28 2021 drawio
drwxr-xr-x. 15 apache apache 4096 Feb 28 2021 gallery
drwxr-xr-x. 10 apache apache 4096 Mar 1 2021 jitsi-meet
drwxr-xr-x. 11 apache apache 4096 Feb 28 2021 linklist
drwxr-xr-x. 11 apache apache 4096 Dec 27 2021 linkpreview
drwxr-xr-x. 16 apache apache 4096 Feb 28 2021 mail
drwxr-xr-x. 9 apache apache 4096 Feb 28 2021 mostactiveusers
drwxr-xr-x. 13 apache apache 4096 Feb 28 2021 notes
drwxr-xr-x. 15 apache apache 4096 Feb 28 2021 polls
drwxr-xr-x. 9 apache apache 4096 Mar 3 2021 scrollup
drwxr-xr-x. 19 apache apache 4096 Feb 28 2021 tasks
drwxr-xr-x. 10 apache apache 4096 Mar 1 2021 termsbox

I did turn on debug mode, however I don't see any additional information.
image

We are using linkpreview 1.14
image

from linkpreview-issues.

gevorgmansuryan avatar gevorgmansuryan commented on June 10, 2024

@katr - minimum PHP version for humhub/linkpreview is php7.4 and it's defined in composer.json of linkpreview. How you installed/updated LinkPreview ?

Also Can You please enabled debug mode and try again, this will give us more detailed error info.

from linkpreview-issues.

gevorgmansuryan avatar gevorgmansuryan commented on June 10, 2024

@luke- thanks for info. @katr please paste here error message from your installation. Coz i can not reproduce this case, it works as expected, even with youtube link from your screenshot.

from linkpreview-issues.

gevorgmansuryan avatar gevorgmansuryan commented on June 10, 2024

@katr Seems firewall is blocking incoming request or something like this. Can You please try wget https://youtube.com and check contents of generated index.html ?

from linkpreview-issues.

katr avatar katr commented on June 10, 2024

@katr Seems firewall is blocking incoming request or something like this. Can You please try wget https://youtube.com and check contents of generated index.html ?

wget works just fine...I wouldn't expect outgoing http/https requests to be blocked....

$ wget https://youtube.com
--2023-11-02 20:49:25--  https://youtube.com/
Resolving youtube.com (youtube.com)... 2607:f8b0:4023:1006::5d, 2607:f8b0:4023:1006::be, 2607:f8b0:4023:1006::5b, ...
Connecting to youtube.com (youtube.com)|2607:f8b0:4023:1006::5d|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.youtube.com/ [following]
--2023-11-02 20:49:25--  https://www.youtube.com/
Resolving www.youtube.com (www.youtube.com)... 2607:f8b0:4023:1000::5b, 2607:f8b0:4023:1000::5d, 2607:f8b0:4023:1000::88, ...
Connecting to www.youtube.com (www.youtube.com)|2607:f8b0:4023:1000::5b|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

index.html                             [ <=>                                                            ] 699.69K  3.56MB/s    in 0.2s

2023-11-02 20:49:25 (3.56 MB/s) - ‘index.html’ saved [716482]

$ head index.html
<!DOCTYPE html><html style="font-size: 10px;font-family: Roboto, Arial, sans-serif;" lang="en" darker-dark-theme darker-dark-theme-deprecat                               e system-icons typography typography-spacing><head><script data-id="_gd" nonce="53SjbVPWSa8gs_pGFMOuJA">window.WIZ_global_data = {"MuJWjd":                               false,"nQyAE":{},"oxN3nb":{"1":false}};</script><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta http-equiv="origin-trial" conte                               

from linkpreview-issues.

Related Issues (20)

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.