daymobrew
Forum Replies Created
-
Forum: Plugins
In reply to: [Staff Directory] Update – error 500Pull request: https://github.com/adamtootle/staff-directory/pull/16
Forum: Plugins
In reply to: [Staff Directory] Update – error 500Same issue here.
I reverted to 1.0.3.I am on PHP 5.4.45.
http://stackoverflow.com/questions/1532693/weird-php-error-cant-use-function-return-value-in-write-context
The issue seems to be because of the use of ’empty’, a “language construct” that can only take variables.
The empty() documentation says to test for ‘false’ for pre-5.5 versions.
http://php.net/manual/en/function.empty.phpThe solution that works for me is to change:
if(!empty(self::photo_url_shortcode())){
to
if(self::photo_url_shortcode() == false){
on line 91 of staff-directory/classes/staff-directory-shortcode.phpI will submit a pull request on GitHub.
Forum: Plugins
In reply to: [Simple Map] Adding Google Maps API key to codeI created a pull request with my code that adds a ‘key’ tag to the shortcode.
SCRIPT_DEBUG is still set to true in ShareThis 7.6!!
This is so easy to fix I do not understand why the engineering team was unable to fix it for 7.6.
Forum: Plugins
In reply to: [Genesis Connect for WooCommerce] Product images not displayingWhat happens when you disable the Genesis Connect for WooCommerce plugin? Does that improve things?
The image is added via the ‘woocommerce_before_single_product_summary’ action. This action is in the plugin (templates/single-product.php).
Maybe Magazine Pro or your customizations have removed this action.
I edited my Shop page to set the layout to full width. That worked for me.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoI expect that you are right.
Thank you for your help.Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoNo. I took the static html page
https://priceactiontradersireland.com/.wvl/index.html
and removed all the js/css/markup from other plugins and was left with:
https://priceactiontradersireland.com/.wvl/ltr-bare.htmlThe videos in the new file work.
So, I conclude that your plugin is not at fault and that it is likely the new theme. I do not have a solution. I cannot try another theme in the Customiser as the page with the problem does not work there.I can mark it as resolved if you want.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoAll videos work in the stripped down version.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videohttps://priceactiontradersireland.com/.wvl/ltr-bare.html
I took the static html file and stripped it down. The JS and CSS for WP Video Lightbox are the only files that have been included.
My client has a ton of active plugins. It’s going to be a pain to find the root cause.
Thanks for your help.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoDone.
https://priceactiontradersireland.com/mbrsolution/I did 3 links on the page, 2 x the html you provided (one I changed http to https for the video url) and then the shortcode.
Same problem – lightbox appears but not the video, with Chrome console complaining that the video is http and the rest of the page https.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoSorry, that is another typo in my post here (I am switching between too many windows this morning).
My PHP code is:
echo do_shortcode(sprintf('<p class="pati_video"><span class="date">%s</span><br>%s <span class="stats %s">%s</span> [video_lightbox_youtube video_id="%s&rel=0" width="640" height="480" anchor="Watch Video" description="%s"] %s</p>', get_the_date(), get_field('summary'), $stats_class, $stats, $video_code, get_field('summary'), get_field('video_length'))); ?>And you can see that I have the double quotes after video_id=
I am very confident that my code is correct as the generated html looks good. I believe that the javascript (either prettyPhoto or your code) is generating iframe src with http instead of https.
Are you able to see the demo page?
https://priceactiontradersireland.com/.wvl/index.htmlForum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoSorry, I made a mistake in the shortcode code that I included – I only include the video code, not the full url.
[video_lightbox_youtube video_id=v3uGJGzUYCI&rel=0″ width=”640″ height=”480″ anchor=”Watch Video” description=”The video description”]
I made a standalone copy of the web page with the problem.
https://priceactiontradersireland.com/.wvl/index.htmlIt has two video links to the same video. One has a text link to the video, the other has an image, like your example.
You can look at the source to see that the video url is https but when you click on the text or image the iframe src is http.
Forum: Plugins
In reply to: [WP Video Lightbox] Site has https but lightbox using http videoDo I have to have an image for the link? I only want the text “Watch Video”
It is strange that it worked last week. The site theme was updated over the weekend (I am helping the site owner).
I think that the prettyPhoto code is changing https to http.I will make a static test page to demonstrate the problem.
Thank you.
I have disabled API Service.
Log Exporter won’t accept my absolute path. Parent dir is 0777, I created a log file with permissions 0666. It accepted it once and then I disabled the log for a second (it wrote to the file that the setting was disabled). After that it will not accept the path.
It flashes up that it has been accepted (I see the green block) and then that disappears.
I got the top portions of the absolute path from the “Data Storage Path” value in the “General” tab.