• I create a wp and bp site on localhost, after moving the site to my vps the oembed doesn’t work anymore. I try to disable all plugin, stop my firewall and check the code whitout success. If someone has any idea what can cause this to not work on my vps, I would be very happy because I’m running out of ideas.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you, as I suggested, try pinging the sites from commandline on the server?

    Thread Starter crm50cc

    (@crm50cc)

    Thank for your reply. Pinging working. Anyone know what library need it to oembed. Maybe I missing module. This is what module I have on my server.
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    ereg
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    memcache
    mhash
    mysql
    mysqli
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    readline
    Reflection
    session
    shmop
    SimpleXML
    sockets
    SPL
    sqlite3
    standard
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    zip
    zlib

    Thank for the help I really appreciate.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Your modules have nothing whatsoever to do with oembed. You don’t need anything special.

    Like Ipstenu suggested, can you ping sites from a command line on your server?

    If your server is firewalled or unable to make outgoing http calls, for whatever reason, then oembed will not work.

    Thread Starter crm50cc

    (@crm50cc)

    Thank you Samuel for your reply,
    But as I mention above, pinging with command line work perfectly for all sites youtube, vomeo, etc( except instagram). I disable the firewall.

    In php.ini enable allow_url_fopen = On
    Give full permission on /var/lib/php/session(don’t think that matter but I know oembed cache in db, so I try)
    I reinstall cURL and made sure it was activate.

    Now I truly running out of ideas.
    Any ideas beside pinging and firewall or any above just shoot it would be appreciate.

    Hi crm50cc

    Were you able to find a solution to this problem?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Oembed on localhost but not on the live site’ is closed to new replies.