shelkie
Forum Replies Created
-
The “SSL certificate problem: unable to get local issuer certificate” error is caused by the CA bundle being out of date on the server. Difficult/impossible to update this sort of thing in a shared hosting environment though.
?
While turning off VERIFYHOST and VERIFYPEER is not ideal as it diminishes the security of your cURL request, this shouldn’t be an issue as the data being transferred in this case is not sensitive.Sorry, goofed in my copying and pasting my previous comment. The curl options to add are:
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- This reply was modified 6 years, 2 months ago by shelkie.
I’ve run into this problem as well while using Flywheel for hosting, but tracked down the issue.
First, in upload.php, I added some error reporting for the cURL operation so I could see what was happening. Near upload.php:75
$picture = curl_exec($ch); if (curl_error($ch)) { $response = array( 'error' => true, 'msg' => __('cURL error - ' . curl_error($ch), 'instant-images'), 'path' => '', 'filename' => '' ); curl_close($ch); wp_send_json($response); return; }
which gave me: “SSL certificate problem: unable to get local issuer certificate” Which I fixed by adding these lines to your curl options at line 73
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);
Hope this helps others with the same problem!
Forum: Plugins
In reply to: [Custom Blocks Constructor - Lazy Blocks] Frontend HTMLCool – thanks for taking care of this so quickly and for creating this plugin!
Forum: Plugins
In reply to: [MiniMU] Pagination within postsSorry, haven’t had a chance to look in to this yet. It should be filtering the posts to the specific domain/category, but sounds like this isn’t happening correctly for the single post pagination. In your case, is it linking to a post that’s another of your domains?
Forum: Plugins
In reply to: [MiniMU] Set different Front Pages?Hi,
That’s not currently possible. I agree it would be a useful feature, but would require substantial reworking of this plugin.
Forum: Plugins
In reply to: [MiniMU] multiple menuNo, this plugin currently doesn’t allow each domain to have different menus
Forum: Plugins
In reply to: [MiniMU] multiple menuSorry, that’s not possible right now.
Forum: Plugins
In reply to: [MiniMU] SEO – REL CANONICAL OPTIONHi,
That’s a possibility. It’s actually something I have on the todo list for this plugin.
Cheers,
Eric.Sure, will do!
Forum: Plugins
In reply to: [MiniMU] Domain based variablesOn the settings page, you’ll see a “More tokens” button for each of the domains you’ve added.
Click it, and choose “Add new token”. Give your token a name (i.e. animal_type). A new field will be added to the domain options; this is where you would enter “Cat”.
On the second domain, click “More tokens”, and you should see “animal_type” in the list of available options. Select it, and then enter “Dog” as the value.Then in your page or post content, just type {*animal_type*} where you want the domain-relevant content to appear.
Forum: Plugins
In reply to: [MiniMU] Domain based variablesHi,
Sorry for the lack of documentation on this. I need to create a new page for the plugin.
Yes, you can do that a couple of different ways.
In your template file:
<?php echo MiniMU::get_token(‘token_name’);?>In the post content or post excerpt:
{*token_name*}Not sure why proper shortcodes where not implemented for this – something I’ll need to add. ??
Cheers,
Eric.Forum: Plugins
In reply to: [MiniMU] 1 domain and multiple foldersI’m not very familiar with woocommerce. You might be better with a theme-switching plugin if that’s your main goal.
Forum: Plugins
In reply to: [MiniMU] 1 domain and multiple foldersHi,
It’s more meant for handling multiple domains (or sub-domains). What are you trying to achieve with the different folders? Do you need to switch themes or something?
Forum: Plugins
In reply to: [MiniMU] Some php notices on 3.9.1Cool, thanks @janvdm. I’ll fix these in the next release.
Cheers,
Eric.