Hi guys,
Ive had some issues in updating my site since the last update, and have not had issues prior to this weeks updates. So when i update i get the following error and have had to go back in and reset the site with a backup.
following an update i get the following:
Warning: require_once(config-wpml/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/demigodg/public_html/wp-content/themes/enfold/functions.php on line 29
Fatal error: require_once() [function.require]: Failed opening required ‘config-wpml/config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/demigodg/public_html/wp-content/themes/enfold/functions.php on line 29
i cant log in to WP admin to give permissions or change anything, its pretty annoying! Any help would be appreciated.
Line 29 is :
require_once( ‘config-wpml/config.php’ );
Hey!
Re-install the theme via FTP and it should fix the issue. The config-wpml folder looks like it isn’t loaded on your server for some reason which is causing the failure.
Best regards,
Devin
For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750
Yea ok, ill go back and reinstall via FTP. So should i just revert back to doing updates via FTP in the future, or do you think this will fix things up going forwards?
Ill post back later once i can get home and do the update via FTP.
cheeers!
Hi!
I strongly recommend to use ftp to update the theme. It’s the best solution because you can make a backup of your old theme files first and you can be sure that the ftp client overwrites all files.
Cheers!
Peter