iacas Posted November 11, 2015 Author Posted November 11, 2015 On November 5, 2015 at 7:07:23 PM, iacas said: I've submitted a support ticket. Which they've now seen and are working on.
iacas Posted November 14, 2015 Author Posted November 14, 2015 On November 11, 2015 at 9:09:44 AM, iacas said: Which they've now seen and are working on. IPS disappointingly could not figure out the issue, blaming my server for "blocking" or "restricting" outbound or inbound requests… Which I knew was wrong, so we did some more digging. I think we've found the issue, and I updated my bug report. This is a slightly modified version of my post in the growing support thread: Turns out… the socket code fails frequently when curl is: A) Not Installed. B) Is older than 7.36 (CentOS only has 7.19). Fortunately, it seems this version check can be overridden by setting the constant FORCE_CURL (set to false by default) to true. They had supplied a script that failed about 60% of the time. We added the FORCE_CURL to the script and it works every time in my testing. # curl --version curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz So, we've added this to our constants.php file: define('FORCE_CURL', TRUE); In testing, this has resulted in the software embedding videos every time I try. We believe this is a bug in IPS, and encourage others who are experiencing this issue to give this a try if you meet condition A or B (or both) above.
Maurice H. Posted November 17, 2015 Posted November 17, 2015 Had exactly the same issue since updating to IPS4 a few months ago. Had to copy/paste/add/remove link several times to make it work correctly. I just added constants.php as explained above and it works now just fine.
wmarcy Posted November 17, 2015 Posted November 17, 2015 This cleared up my youtube embed problems also. define('FORCE_CURL', TRUE);
chilihead Posted November 17, 2015 Posted November 17, 2015 Interesting! But that setting is not advised per the bug report.
wmarcy Posted November 17, 2015 Posted November 17, 2015 Haven't had a fix from ip.board for 3 versions now, so I will go with what works.
sasiko Posted November 17, 2015 Posted November 17, 2015 52 minutes ago, wmarcy said: 52 minutes ago, wmarcy said: Haven't had a fix from ip.board for 3 versions now, so I will go with what works. i assume u also run latest version of curl? edit: i never realized how difficult it to remove quotation box. just wow
Ausy Posted November 17, 2015 Posted November 17, 2015 6 minutes ago, maidos said: edit: i never realized how difficult it to remove quotation box. just wow Hover your mouse over the quote box, hold down ctrl, right click for options.
TheSonic Posted November 17, 2015 Posted November 17, 2015 On CentOS 6-series, default is cURL 7.19... I upgraded it to 7.45 manually a few minutes ago... No more warnings during install/upgrade and it works much better - i'm interested what my users say (embedding worked, but often also failed... Testing after 7.45 was installed worked much better during my tests (no problems at all) ) curl 7.45.0 (x86_64-redhat-linux-gnu) libcurl/7.45.0
sasiko Posted November 17, 2015 Posted November 17, 2015 17 minutes ago, Ausy said: Hover your mouse over the quote box, hold down ctrl, right click for options. why make it so complicated*? why not just use the regular backspace keyboard to remove the quotation box. makes no sense @Charles
wmarcy Posted November 17, 2015 Posted November 17, 2015 31 minutes ago, maidos said: i assume u also run latest version of curl? edit: i never realized how difficult it to remove quotation box. just wow I am running whatever my host provides. (Happens to be 7.36.0)
sasiko Posted November 17, 2015 Posted November 17, 2015 just updated curl to 7.45 and still diffuclt to embed youtube videos :/ im gonna comment on the bug report
chilihead Posted November 17, 2015 Posted November 17, 2015 25 minutes ago, maidos said: why make it so complicated*? why not just use the regular backspace keyboard to remove the quotation box. makes no sense I want this too. They are working on improving it though but hopefully backspace will do it. Right now it protects the quote unless you try it twice (click back out of quote and backspace) but that is not intuitive. Backspace to remove, much better. And you have to consider mobile users. No hover. Okay back to YT.
sasiko Posted November 17, 2015 Posted November 17, 2015 https://www.youtube.com/watch?v=eVUVFwYZ180 https://www.youtube.com/watch?v=eVUVFwYZ180
iacas Posted November 18, 2015 Author Posted November 18, 2015 2 hours ago, TheSonic said: On CentOS 6-series, default is cURL 7.19... I upgraded it to 7.45 manually a few minutes ago... No more warnings during install/upgrade and it works much better - i'm interested what my users say (embedding worked, but often also failed... Testing after 7.45 was installed worked much better during my tests (no problems at all) ) curl 7.45.0 (x86_64-redhat-linux-gnu) libcurl/7.45.0 How hard was it to do? I've only looked briefly but I thought I saw curl was compiled into PHP and that I'd have to compile PHP myself. Running "CentOS release 6.7 (Final)" here.
Neej Posted November 18, 2015 Posted November 18, 2015 I installed a youtube embed toolbar plugin for my CKEditor to resolve the issue for my users. http://ckeditor.com/addon/youtube
xtech Posted November 18, 2015 Posted November 18, 2015 46 minutes ago, iacas said: How hard was it to do? I've only looked briefly but I thought I saw curl was compiled into PHP and that I'd have to compile PHP myself. Running "CentOS release 6.7 (Final)" here. Maybe you want to check this: https://community.invisionpower.com/topic/423070-guide-how-to-update-curl-in-centos-centmin-mod/ On topic: Anyway, the youtube embedding is a problem, indeed. It also happens on my board, and my users are getting furious about it. It is a hard to track problem.
Tracy Perry Posted November 18, 2015 Posted November 18, 2015 6 hours ago, Ausy said: Hover your mouse over the quote box, hold down ctrl, right click for options. Which does absolutely nothing on my Mac using Chrome and a trackpad. One of my larger complaints with the IPS editor. That "help box" text is totally useless. I'm not really happy about the "enter a new line after posting the youtube link" that you apparently have to do also. With the script that I'm doing a test site in (in preparation for a possible move from IPS) I can simply paste the link, save the post and it shows up as the youtube embed. No additional new lines, etc, needed.
chilihead Posted November 18, 2015 Posted November 18, 2015 6 minutes ago, Tracy Perry said: Which does absolutely nothing on my Mac using Chrome and a trackpad. One of my larger complaints with the IPS editor. That "help box" text is totally useless. I'm not really happy about the "enter a new line after posting the youtube link" that you apparently have to do also. With the script that I'm doing a test site in (in preparation for a possible move from IPS) I can simply paste the link, save the post and it shows up as the youtube embed. No additional new lines, etc, needed. The "hit enter" to embed also causes useless lines at the end of posts that take up vertical space.
TheSonic Posted November 18, 2015 Posted November 18, 2015 11 hours ago, iacas said: How hard was it to do? I've only looked briefly but I thought I saw curl was compiled into PHP and that I'd have to compile PHP myself. Running "CentOS release 6.7 (Final)" here. You may use the source or RPMs, but i am a yum-guy So, i just added the City-Fan-Repro in /etc/yum.repos.d/city-fan.repo [CityFan] name=City Fan Repo baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/ enabled=1 gpgcheck=0 and run yum updte curl (warning: Running just yum update will install several other updates (perl, eg) ). After cURL is updated, just restart your Apache or whatever (you don't have to recompile PHP yourself, just restart httpd) and disable the repo (enable=0) -> Done So, it's an easy one Experiences are good, still some Problems, but now it works in most cases - my users love it (me too )
icedream Posted November 18, 2015 Posted November 18, 2015 3 minutes ago, TheSonic said: You may use the source or RPMs, but i am a yum-guy So, i just added the City-Fan-Repro in /etc/yum.repos.d/city-fan.repo [CityFan] name=City Fan Repo baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/ enabled=1 gpgcheck=0 and run yum updte curl (warning: Running just yum update will install several other updates (perl, eg) ). After cURL is updated, just restart your Apache or whatever and disable the repo (enable=0) -> Done So, it's an easy one Experiences are good, still some Problems, but now it works in most cases - my users love it (me too ) I did this before, but I notice that I might need to re-compile php using latest curl... I use the sslimageproxy_check.php from SSL Image Proxy to test if curl works well with ssl, but I get such output Checking for curl_init()...passed. Checking curl can perform outbound http requests...failed. Seems like I usually fail to use curl to perform http request...For this reason, I think my curl doesn't work well with php, but I don't know how to revert curl to previous to double check, and I don't want to re-compile php, I used yum to install php.
TheSonic Posted November 18, 2015 Posted November 18, 2015 Did you restart httpd? I didn't (just forgot it) and on cli it said 7.45 and phpinfo said 7.16... After restarting, phpinfo was also on 7.45. I don't use SSL Image Proxy, but i think it has nothing to to with the insallation. Just check curl --version and PHPInfo
Nathan Explosion Posted November 18, 2015 Posted November 18, 2015 Yep, I performed the same steps the other day to update curl on my server and PHP is all good with the later version, with no additional steps other than the above. Just need to make sure of that kick of the web server to get it loaded so that phpinfo shows the updated version.
nodle Posted November 18, 2015 Posted November 18, 2015 Having basically the same problem. Was working fine on my Xenforo site less than 24hrs ago. After switching they are blaming my host from blocking Youtube. Host is running other forums on the same server with no problems. We will see what they say to my response ticket. But defiantly a problem with IPB and not the hosts. Everything else is working great with IPB though besides the videos.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.