Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #236639

    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.

    #236643

    Line 29 is :
    require_once( ‘config-wpml/config.php’ );

    #236646

    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

    #236647

    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

    #236648

    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!

    • This reply was modified 10 years, 9 months ago by Demigod Games.
    #236771

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.