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
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
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
Hi,
I’ve got to read through the replies properly first to see what else I can do but I got in touch with A2 hosting and sent them the error details from my above message.
They have said that the first error is to do with fopen not being enabled on the server, I have asked them to do this for me as it is currently beyond my technical skill and will have to see if that solves the problem.
I have also altered the files mentioned above by fiftyfifty but the problem with video remains.
Could you please explain a little more about why the theme is generating 3 huge images from video image and dumping them in my media library? I’m not overly concerned about server resources as I will just delete them but I am concerned that 3 identical images totalling 2100kb have appeared for apparently no good reason, I know this is not normal as we have another site running the same theme with the same hosting provider and this does not happen. I don’t understand why the theme would do that?
I’m not sure what thumbnails are being generated so don’t know what you propose I disable these in the panel?
Isn’t disabling thumbnails in the panel to try and prevent this a bit like taking the tyres off of your car so that they don’t get worn? Surely the theme should be configured to take care of these issues before it is published, it is very basic functionality and I’ve never had a problem with this on any other theme.
I’ve also noticed in my efforts to do a work around for this problem that if I add the youtube URL to the top of the post so that it shows the video before any text in the post you see the youtube URL in the excerpt, this unfortunately,looks awful.
let me know your thoughts
Thank you for the info, I’ll give it a try.
Best wishes
Looks like I’m on my own with this?
Are there any other http to https:// changes I need to make to get the theme to run smoothly with SSL?
I noticed in
/includes/modules/td_module_single.php
some of the social buttons are in http should I go and change these to https??????
May this be the answer to the problem I am seeing with the facebook sharing? The facebook button is http but some others are https://
Will this be included in future updates or will I have to change these files every time we update? The issue was pointed out a couple of months ago.
I appreciate we are probably in the minority using site wide SSL but this is only going to get more common as people follow Googles lead
I love the theme and would greatly appreciate your feedback
For anyone else out there who is using an SSL certificate, you will have to change this
http://screencast.com/t/SBYbxxnG4n
This screencast is from a question I asked on here 2 months ago, I got the correct answer in a way but you need to change all of the URLs in the code not just the 3 that are indicated in the screen grab, there quite a few of them that need to be changed and there are 3 at the bottom of the screen which are easy to miss.
I’ve done the change from http to https:// in the file you suggested and that has got the vimeo and the youtube videos to appear in the posts.
No featured image is being generated for the post from the video embed though, should the theme do this or do I have to do this manually? If I don’t add the featured image the content area on the homepage is blank, just the post title shows
The original problem I had was that when I add the featured image myself it will show on the front end and it will have the video play icon on the top but when I try and add this to facebook or twitter there wasn’t an image from the post included in the preview and no image displays in the facebook/twitter post. I have tried to add the image separately in the social media panel in yoast SEO and this now seems to be working although further testing is required.
I have just had a look in my media gallery and 3 new images have been generated for a previous post, they are entitled “max res default” and they are 700 kB 3000 × 1775, this is rather large and excessive, is the theme going to generate 3 x these images every time I attempt to add a video or is there some kind of conflict going on with me adding a separate featured image when the theme is now trying to generate an image from the video?
I’d like to know as it’s not going to very good for my server resources if we keep generating 2100kb of unwanted images every time I try to post a video.
Let me know your thoughts
Ok I’ve found the file, I’ll let you know if it restores the video in post
Thinking about it I would have to do these http to https:// changes again as I have updated the theme?
Ok, so I updated both sites to the new version of the theme and now I have a uniform outcome. Neither of them work.
On my main site that was working before now I just have blank boxes in the posts where the videos should be, this has effected all video posts not just vimeo. I had been adding featured images as the video embed function wasn’t generating the images for the homepage I have tried removing these to see if it will generate the required images and it wont, the boxes on the front page are blank if I remove the featured images
Can you tell me where that file lives Chris, I can’t find it, I am pretty sure I have already done this change on my main site though.
Hi,
I’ve just updated to the latest version of the theme but the situation is still the same on my test site.
I can’t see a featured image on the homepage in any of the blocks and I have no video in post. I have tried to add the URL with the HTTPS and without it with 3 different vimeo videos but still nothing.
I have also tried to embed a youtube video and that is the same, blank! Nothing.
I have deactivated all of the plugins and cleared all of the caches and tried again but no joy, I have viewed the site on my iphone, ipad and laptop and the results are the same.
I’ve no idea what the 109 thing is or why it would be trying to do something other than it is supposed to do in wordpress, I wouldn’t want to or know how to mess with that stuff?
I use site wide SSL on all my sites, not sure if this could cause problems?
I’ll update my main site to the new version of the theme and see what happens with that
I’ve just asked my brother to try and embed a vimeo video on his site that uses this theme and his is broken too, that’s 4 of us if you count me twice?
Is there any fix in the new version of the theme and does it have to be updated via ftp or is there another way?
I just tried the same vimeo video embed on another of my sites on a different server and it doesn’t work on there either. On my test site it doesn’t bring up the image on the home page in any of the content blocks or in post
I have the same problem, also when I try and post a youtube video it returns the following errors when I try to publish the 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
