Normally the ai1wm-backups
directory is inside the wp-content
directory which on my machine is in the public_html
directory.
When I restore an ai1wm backup created on the Windows IIS machine I get the following situation:
A directory with the (literal) name wp-content\ai1wm-backups
is created in the public_html
directory. So I get a directory with a backslash in the directory name.
I did some research and found that the ai1wm-backups location is taken from a setting in the WordPress database. On windows, the default directory seperator is \
where on macOS and Linux it’s /
.
When I manually replace all \ to / in the database backup path all works as expected.
The relevant code is in the constants.php
file on the line where the AI1WM_BACKUPS_PATH
constant is defined.
I have not tested this, but perhaps calling the PHP function realpath()
fixes the issue.
My proposed redirect is this;
` <rule name=”test” stopProcessing=”true”>
<match url=”^/category/name-of-category/$”/>
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/>
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/>
</conditions>
<action type=”Redirect” url=”https://www.name-of-website.co.uk/particular-page.asp”/>
</rule>
I am using Godaddy Pleask admin for my stuffs. I want to use this SSL certificate for one of my subdomain.
I am getting error of below.
ERROR: CREATE_CLIENT:WPLEClient\Exceptions\LEFunctionsException: Could not generate key pair! Check your OpenSSL configuration. OpenSSL Error:
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
in G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\lib\Exceptions\LEFunctionsException.php:51
Stack trace:
#0 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\lib\LEFunctions.php(65): WPLEClient\Exceptions\LEFunctionsException::GenerateKeypairException('Could not gener...')
#1 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\lib\LEAccount.php(74): WPLEClient\LEFunctions::RSAGenerateKeys(NULL, 'G:\\PleskVhosts\\...', 'G:\\PleskVhosts\\...')
#2 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\lib\LEClient.php(141): WPLEClient\LEAccount->__construct(Object(WPLEClient\LEConnector), 1, 'sangramsinh.pat...', Array)
#3 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\classes\le-core.php(166): WPLEClient\LEClient->__construct('sangramsinh.pat...', false, 1, 'G:\\PleskVhosts\\...')
#4 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\classes\le-core.php(146): WPLE_Core->wple_create_client()
#5 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\classes\le-core.php(115): WPLE_Core->wple_generate_verify_ssl()
#6 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\admin\le_admin.php(514): WPLE_Core->__construct(Array)
#7 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-content\plugins\wp-letsencrypt-ssl\admin\le_admin.php(1711): WPLE_Admin->wple_save_email_generate_certs()
#8 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-includes\class-wp-hook.php(292): WPLE_Admin->wple_admin_init_hooks('')
#9 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#10 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-includes\plugin.php(484): WP_Hook->do_action(Array)
#11 G:\PleskVhosts\ketinfotech.com\onlinesabji.ketinfotech.com\wp-admin\admin.php(175): do_action('admin_init')
#12 {main}
]]>i faced the issue my website hosted on IIS window base server, plugins are properly updated but when i start updating my wordpress it shows the following error
Update WordPress
Downloading update from https://downloads.www.ads-software.com/release/wordpress-5.5.3-no-content.zip…
The authenticity of wordpress-5.5.3-no-content.zip could not be verified as signature verification is unavailable on this system.
Unpacking the update…
The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php
Installation Failed
i do every method which i find on internet like change permissions, change application pool settings etc etc but issue is same, if i direct change the updated directories then website create the error. and nothing to show. what i do please help.
my all WordPress website hosted on IIS have the same issue.
I’ve put the same site on local development linux server, and works fine.
The code
[vrm360 canvas_name=s1 model_url=https://dev.maksim.local/wps2000/wp-content/uploads/2020/08/s01_n.obj aspect_ratio=1.33333 hide_cmds=zoom]
On both sites there is also .mtl file.
Any idea what on windows server is not working?
PS: The windows server was not my choise
]]>after updating to 2.04 I have following error message at the top of my page.
: fopen(C:\….\….\…./wp-content/plugins/C:/plugin.php): failed to open stream: No such file or directory in C:\….\….\….\wp-includes\functions.php on line 5974
It seems the issue comes from the new path definition you are using in the 2.04 version.
When I reinstall the 2.02 again everything is back to normal.
Thanks for your support.
]]>With this plugin installed, here is what it thinks my scan directory is:
Scan Directory: D:\home\mywebsite.com\wp/wp-content/uploads\
Whenever I import media (mainly video files), it keeps the trailing backslash in the URL thus causing an incorrectly formatted URL reference.
Can this be fixed? My workaround has been to go into the MySQL DB and manually change which way the slash faces. I’m doing it directly in the DB since I have hundreds of files to deal with. Thanks for your time and attention in this matter!
]]>