Vimeo video not showing featured image

Posted in: Newsmag
Post count: 112

We are now back to the situation we had before where the video returns the errors listed above when I try and publish a post, this then leads to having to use the back button which in turn deletes a lot of the stuff I entered into the page, very frustrating.

I’ll see what my hosting provider comes up with on this fopen not being turned on situation

I simply have to get to the bottom of these problems

Post count: 6600

Hi,

As I’ve also stated at first a host setting could be the reason for this as I couldn’t recreate this on my side. Please let us know when you have an answer from your host provider and, if possible give us wp-access so we van have a look at this and send your wp-admin login credentials via email at contact@tagdiv.com and include in your message a link to this conversation.

Related to the issue you have with those extra images added to your media library I’m not sure how that happens but the theme doesn’t suppose to do that and you’re right this is not a normal behavior.
Basically the theme creates thumbs which are used on blocks or modules or sliders and stores them in the ../wp-content/uploads folder not in media library.

The suggestion to disable the thumbs from theme panel was to save your host resources and so the theme doesn’t create unnecessary thumbs if you decide not to use some blocks/modules/sliders..
You can find all thumbs created, their dimensions and the blocks/modules.. on which they are used in theme panel > block settings > thumbs on modules an blocks.

We also know about the youtube link in excerpt, we have this on our todo list and will try to fix it in the next theme update, until then you can use the excerpt filed form posts editing panel to set a custom excerpt for posts that have this issue: http://screencast.com/t/s5UnkrMV

We are very sorry for all troubles you have using the theme, you can share your wp-admin details and we will have a closer look at this but if you are unsatisfied about the theme and can’t use it we can also offer a full refund.

Please let us know when you have an update on this or of your decision.

Thanks

Post count: 112

Hi Lucian,

Thank you for your reply.

I appreciate the offer of a refund but site as it stands represents many long hours of toil that I’ll never see a benefit from if I just give up. I try the refund trick all the time with my own customers as well, it’s a convenient way of not having to deal with the problem. It doesn’t do much for customer satisfaction though but lets not get into that negative stuff.

I like the theme and very much want to use it going forward as there are no other themes available as far as I know that have the same split sidebar configuration which I really like the look of, it just breaks the whole thing up nicely, so well done on that.

I have contacted the hosting provider and they have put the php.ini file together for me and I have added it to public_html as instructed, unfortunately this hasn’t solved the problem.

I get the following errors when I try to publish a post

Warning: get_headers() [function.get-headers]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_support.php on line 109

Warning: get_headers() [function.get-headers]: This function may only be used against URLs in /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_support.php on line 109

Warning: Cannot modify header information – headers already sent by (output started at /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_support.php:109) in /home/unplugti/public_html/wp-admin/post.php on line 233

Warning: Cannot modify header information – headers already sent by (output started at /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_support.php:109) in /home/unplugti/public_html/wp-includes/pluggable.php on line 1178

Looking at the first error do you think they have incorrectly configured the php.ini file as it is showing “https:// wrapper is disabled in the server configuration by allow_url_fopen” do these files have to be configured differently for http and https?

I don’t know a lot about these things so I would appreciate your input and will get it changed if needs be.

The other errors seem to be something to do with the td_video_support.php file that we altered earlier, do you have any thoughts on why these errors may be occurring and what we might be able to do to alleviate the problem?

The problems I’m seeing are in the front and back end of wordpress, the posts are getting stuck when I try to publish them and are returning the above errors, I have also had the site fail when trying to delete the same post.

I have submitted the post again and although it returns the error and leaves me stuck on that page, if I open the site in a new window the post has actually been generated and the large full width video image is now shown in post (it wasn’t showing before), however if you then navigate to the home page the image still isn’t appearing in the blocks, it just shows the title for the post and the blank grey background. If I then go back to the media library in the back end of wordpress, it has once again generated 3 huge images inside the media library.

Have a think and get back to me, if we can’t work it out between us then I’ll send over the login details for you to have a look

Just to add, I am using different caching plugin on this site which seems to work better with the theme but I know this isn’t the problem, I have also set up 3 other test sites all with the exact same setting/plugins etc as you advise and all of my sites are throwing up this same problem. All of the sites are hosted with A2 hosting, all of these hosting accounts are brand new, all have dedicated ip and a site wide SSL and all are brand new clean servers with brand new clean wordpress installs.

I’m stumped and don’t know what to do next as video will be a large part of the new, original content that I had planned to create for the site, at the moment I’ve just put a bit of filler content on there to see how it all plays together and to figure out the design.

I was thinking of adding buddypress and a few other plugins but at present I’m not confident that these wont break the site so I’m holding back on that for now

Best wishes

Post count: 112

I’ve just made 2 test posts with different youtube videos and they haven’t generated the extra images and the image is now appearing in the block on the front page.

I had deleted the expires headers from my htaccess file and tried it without, everything seems ok and then added the text back in to the htaccess file and tried it again and got the same good results. Maybe the specific video I was using is generating the 3 images for some reason?

I don’t know but it is still generating the errors in the back end with and without the files changed in htaccess so the problem still persists to some degree

Post count: 6600

Hi,

Please give us wp-access so we can have a closer look at those errors and share your login details at contact@tagdiv.com

Seems that allow_url_fopen should be set on by default and some php functions need to have this on to retrieve data from remote locations so I don’t think this has something to do with https/SSL. Try to also test this with allow_url_fopen enabled if possible and see how it goes.

I’m not aware of the changes you’ve made to the td_video_support.php so please also include a copy of that file in your email message or use http://pastebin.com/ to send it’s content so we can know.

If you’ve tested this on each cases using A2 hosting then this could still be due to your host configurations.

If the only issues present now are the warning you get then you could try to disable them as php warnings and notifications are only shown if the debug mode is enabled to your wp-config file, this is set to disabled by default and they are meant for local testing and staging installs. You can disable it to get rid of those warning, you can find more info about this here: http://codex.wordpress.org/Debugging_in_WordPress

You can also use other plugins and continue with your development. The theme doesn’t have buddy press support at the moment but we will add it and it will be available in the next theme version.

Sorry for the inconvenience!
Please let us know on any updates related to this.

Thanks

Post count: 112

Hi Lucien,

Yeah, I’ve done all of that.

The one thing that sticks in my mind now I think about it was that I updated all of my sites to the latest version of the theme on the same day and that was what caused the problem to occur on all of them, it was only happening on 1 of them to begin with.

My brother has a site that’s running on the previous iteration of the site (1.5?) and that works fine (he has the same hosting plan and settings)

I’m going to try and reload the previous version of the theme and see if that makes a difference.

I’ve been on to the server people again, allow_url_fopen is enabled but it is still showing the error, I had read that apache would need to be restarted for the changes to take effect but don’t know if this is correct, I have sent a message asking them for clarification.

Post count: 112

I’ve reverted back to version 1.5 on one of my test accounts and the problem still remains, it also throws up the problem when deleting posts

Post count: 6600

Hi,

Please make sure you empty all caches/purge files and try again. If it used to work with the previous version of the theme then something else could cause this.
Please give us access to your admin panel so we can have a look.

Thanks

Post count: 112

I’ve been trying to add a video playlist to a series of sub pages to tie in different aspects of the content to my youtube channel but I am getting the following error when I add the playlist to the page and press publish.

Obviously there is something deeper going on with this as it is pulling up the same file as the other errors

Line 46 is as follows //take seconds

Warning: array_filter() expects parameter 1 to be array, null given in /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_playlist_support.php on line 46

Warning: array_filter() expects parameter 1 to be array, null given in /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_playlist_support.php on line 46

Warning: Cannot modify header information – headers already sent by (output started at /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_playlist_support.php:46) in /home/unplugti/public_html/wp-admin/post.php on line 233

Warning: Cannot modify header information – headers already sent by (output started at /home/unplugti/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_video_playlist_support.php:46) in /home/unplugti/public_html/wp-includes/pluggable.php on line 1178

Post count: 112

I Just emptied all caches, purged all files, disabled all plugins except vc and tried it again and still got the same results on posts and pages when trying to publish.

I’m getting a little like I now realise this isn’t going to work for the 3 sites I had planned so I might as well request a refund for the 2 sites I was going to use this theme for, I’ll persevere with my unplug.tips site because of the time that’s already gone into it but it’s not just the cost of the theme that bothers me, I’m not on cheap hosting and the costs of having stuff sitting idle is starting to mount and get a little tedious.

I’ll have to try and work out which instance of the theme is linked to each purchase as there are 3 and I don’t know which is which (if this even matters?)

I’m still waiting for an answer from A2 about whether aqpache needs to be restarted to enable the changes to the php.ini file, as soon as I have that info I will send over the login for the site so you can take a look. Who knows I may be blinded by something obvious that you can see and I can’t

Post count: 112

Hi,

I have emailed the wordpress login details to you and requested that you refund me for 2 of the 3 instances of the theme that I have purchased.

Please take a look, if you can’t solve the problem with the youtube video embed I’ll unfortunately have to find another theme

Post count: 6600

Hi,

Thanks. We’ll have a look at this as soon as possible and if we can’t find the reason for this and if you can’t use the theme we’ll offer you with a full refund.
Sorry for all the inconveniences caused using our theme!

Thanks

  • This reply was modified 11 years by Lucian.
Post count: 112

Problem solved!!!!!!!!!!!!!!

Thank you Chris S, Alin, Lucian and anyone else who’s helped me to solve this problem over the last few days.

I’m going for a lie down now, I’ll pour my brain back in through my ear first in the morning 🙂

Now I’m going to have a disco \o/ \o/

I’ve made a load of changes, I’ll post the results of my turmoil tomorrow for anyone else who’s trying to run the theme on SSL

Post count: 12

Thanks in advance – am looking forward to it!

Post count: 112

Hi FiftyFifty,

When you updated the theme did you do it via FTP? If you did, it wont work properly.

As Chris suggested, you need to do the update as per his guide, even if you didn’t do it by FTP it’s worth going through it again just to be sure.

Add a new theme (any) to act as a temporary
Delete the old theme in wordpress back end
Delete the VC and social counter plugins
Clear all caches including browser
Disable all the other plugins
Reload the theme via wordpress uploader and activate
Upload the plugins manually from the theme download file not from the on screen message in the plugin page
Activate all plugins
Test again

If that doesn’t do it go back to the wp_booster/td_video_support.php file and check very carefully that you got all the http URL’s some are easy to miss. Chris had said don’t do the youtube shortlinks but I’ve done em all and it works still so I’m kinda hoping it hangs together for a minute.

In your post, don’t forget to tick “video” in format and select style 8 from the post templates, I use the full URL from youtube and enter it into the sidebar

If you are adding the video player block to the page you will have to fill in all of the fields and add a video to it for it to show correctly on the page, you don’t add the full URL though just the series of letters and numbers at the end part of the URL

If all of that fails you probably need to go to your hosting provider and ask them to add a php.ini file and switch on allow_url_fopen = on

After a whole day of trying to find out what was wrong I went back to the server people and asked them if the allow_url_fopen was set to on and he came back with this

“I placed some code in your public_html folders .htaccess file to make the php.ini file work”

Real helpful that…..

So it was in fact the server that was the problem but also the theme should shoulder part of the blame as it’s not configured for SSL and that isn’t made apparent when you buy the theme, I’d also like to add that while TagDiv support and Chris who I understand doesn’t work for TagDiv are very helpful none of the solutions to these basic problems are presented in a coherent way.

Searching several thousand questions on a forum isn’t the best bet because some of this stuff needs to really be done in an organised fashion. More documentation is probably needed and to be fair I will probably put something together to add to the forum just for people who are stuck with configuration and SSL issues but I’m no expert so could end up doing more harm than good?

Anyway, all is working so that at least one satisfied customer.

Let me know how you get on

Post count: 6600

Hi,

Thanks @unplug.tips and sorry for all the trouble!
Please note that we are constantly working on improving our products, all this issues related to the SSL integration have been added on our todo list and are on our attention for future versions. We also plan to improve our documentation in the future and hopefully we will manage to prevent this in the future.

Sorry again for all inconveniences, glad you’ve managed to work it out eventually!
Thanks

Post count: 12

Thanks but fix (Chris instruction) seems way to time consuming for me now, it’s no showstopper. I’m gonna wait for the official update.

Post count: 112

Might be better off with a different theme then lol, I’ve been configuring mine full time since Christmas 😼 I’ve nearly got it now though, seems stable enough once you get all of the server stuff sorted out.

If it’s to do with allow_url_fopen no update will fix it, I’d be willing to bet that’s your problem though.

Post count: 12

This is interesting: It’s not the main issue that http videos are not shown in a https website (in Chrome and FF), but it’s because the http video is loaded in an iframe!

_Explanation:_
There’s a difference between active mixed content and passive mixed content. Mixed passive content is img – audio – video – embed and is safe to show. Iframe is not. Also script is not.

Mixed Active Content is content that has access to all or parts of the Document Object Model of the HTTPS page. This type of mixed content can alter the behavior of the HTTPS page and potentially steal sensitive data from the user. Hence, in addition to the risks described for Mixed Display Content above, Mixed Active Content is vulnerable to a few other attack vectors.

See https://developer.mozilla.org/en-US/docs/Security/MixedContent#Mixed_active_content

It would be best if https support is all over in the theme. But from a content/visitor perspective the solution would also be to replace the iframe embed from the featured video template. Is that an option?

Post count: 6600

Hi,

Https support will be added to all theme’s url within next versions of the theme, we have this on our todo list and we are working on it.
The iframe is added by the theme using the embed system for each video type. I’m not sure if we could use another implementation for this.
If it’s because of the allow_url_fopen then you should enable it.

Thanks

Viewing 20 posts - 26 through 45 (of 45 total)
You must be logged in to reply to this topic.