Hi there,
is there any way to keep updating the theme by hand and not requiring FS_MODE direct? THe installer doesn’t go any further, but I’m reluctant to change FS_MODE .
Thanks!
This topic has 7 replies, 3 voices, and was last updated 5 years, 9 months ago ago by Olga Barlow
Hi there,
is there any way to keep updating the theme by hand and not requiring FS_MODE direct? THe installer doesn’t go any further, but I’m reluctant to change FS_MODE .
Thanks!
Hello,
If your server settings do not allow the auto-update of theme files then you can do this manually using FTP https://www.8theme.com/documentation/xstore/theme-installation/theme-update/
Regards
Hi Olga,
Thanks for the quick reply.
Sure thing, but: How do I get the installer to continue without FS_MODE set to “direct”?
Is there a switch / var I can set and can you point me to the file taking care of the initial configuration?
Right now, the installer won’t let me continue w/o rectifying the FS_MODE setting. I guess that if this setting needs to be in place for updates only, I need to find a way to trick the installer to continue. If the setting is important for other template activities, I might run into trouble later?
Thanks for clarifying.
Kind regards,
Chris
Ok,
I managed to find the “culprit”:
in xstore/framework/system-requirements.php you set
'filesystem' => 'direct'
and since my WP has set DISALLOW_FILE_MODS to true and uses ‘ftpext’ as alternative (not used since there is no ftpd running on the server and we do all updates via ssh (composer/wp-cli)), the “Continue” button does not provide the next step link to follow with theme installation.
Also:
'ssl_version' => '1.0',
leads to a similar issue with ssl_version being checked against curl (if curl_version->ssl_version isset and becomes ‘undef’ if not). I’ve taken the liberty to set this to ‘min’ so the check passes later on, as I don’t think that will become an issue (WP has curl and wget access via recent openssl lib).
What I take from reading through some more of the theme installer is that it checks requirements, installs the child-theme (already done by hand our case), asks if demo material should be included and installs relevant plugins.
Since the latter will require ‘filesystem’ === direct, the installer will fail at that moment.
Please advise how to continue with the installer or provide a list of required plugins/ download locations/ etc. for manual installation / sanity checks and I’ll get it sorted!? I’d hate to run through the code losing time 🙂
Thanks!
Hello,
Due to weekends, our technicians will be able to check this topic on Monday only.
Here you can find a list of required plugins – https://www.8theme.com/documentation/xstore/plugins/included-plugins/ , they can be downloaded from this page https://www.8theme.com/downloads/ Read more in our documentation – https://www.8theme.com/documentation/xstore/
Regards
Thanks!
Problem solved.
FYI if you are using Bedrock (roots.io):
# configure FS_METHOD to 'direct' for now (XStore theme requires it)
Config::define('FS_METHOD', 'direct');
in config/environments/currentenvironment.php will take care of most of the issues when using the installer. However, you may just install child theme and plugins manually (download && wp plugin install ./downloaded/plugin.zip etc.
Hello,
Sorry for the delay in answering. Yes, filesystem => direct is required if you want to install plugins and child theme using setup wizard but you can also skip setup wizard and do this manually from Appearance > Install plugins and Appearance > Themes > add new, after that import demo content via XStore > Import Demos.
‘ssl_version’ is required to activate the theme using the purchase code because only after that you’ll able to install plugins and import demo content.
Regards
The issue related to '‘Fresh install (with DISALLOW_FILE_MODS and FS_MODE = ftpext)’' has been successfully resolved, and the topic is now closed for further responses