• Warning: include_once(/home/bataring/public_html/home/bataring/public_html/wp-config.php): failed to open stream: No such file or directory in /home/bataring/public_html/wp-content/themes/enigma-parallax/mail.php on line 4

    Warning: include_once(): Failed opening ‘/home/bataring/public_html/home/bataring/public_html/wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/bataring/public_html/wp-content/themes/enigma-parallax/mail.php on line 4

Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems like your theme, enigma-parallax, is trying to use your wp-config file (which is a bit odd, by the way), but is getting the path wrong. home/bataring/public_html is repeated twice.

    You will have a better chance at getting help with this issue by posting in the theme’s dedicated support forum: https://www.ads-software.com/support/theme/enigma-parallax

    EDIT: I was right, that was odd, because the actual theme doesn’t have a mail.php file. Unfortunately it appears your site has been compromised. Thankfully resources are available to help you. To start, carefully work your way through this guide: https://codex.www.ads-software.com/FAQ_My_site_was_hacked

    • This reply was modified 7 years, 11 months ago by Jacob Peattie.
    Thread Starter srikandi21

    (@srikandi21)

    thanks your answer.

    mail.php an additional file that I created as a notification on my email.

    Ah. In that case the issue is in your own code somewhere. You’ll probably want to post in a programming forum like the WordPress Stack Exchange.

    A suggestion though: If you want to code your own functionality, you’re better of creating your own plugin. This way you shouldn’t need to manually include the wp-config file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘failed to open stream’ is closed to new replies.