Body and Footer gone on homepage and error message after clearing cache Drupal 7 - drupal

I recently was working on my website and decided to clear all caches and now the homepage only shows the header and nothing else. All the other pages work fine but i do get this error:
Warning: include(page-front.php) [function.include]: failed to open
stream: No such file or directory in include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
Warning: include(page-front.php) [function.include]: failed to open
stream: No such file or directory in include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
Warning: include() [function.include]: Failed opening 'page-front.php'
for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
include() (line 14 of
/home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php).
I did see a very similar problem someone else posted but it was for drupal 6 and the fix was to rebuild the modules by visiting admin/build/modules
and rebuild themes by visiting admin/build/themes. Unfortunately D7 does not have the same menu options.
Does anyone have an idea how to fix this?

In your file /home/anthonyd/public_html/graphicimpress/sites/all/themes/gi_0612/page.tpl.php on line 14, function include('page-front.php') trying to include file page-front.php into your page.tpl.php, but there's no such file as page-front.php.
Make sure that this file (page-front.php) exist, or remove include('page-front.php') from page.tpl.php.

Related

Wordpress Hosting Import Error Conflit Plugin Dokan

I went to import the site from another Wordpress hosting, and it is giving this error. The files are in the folder even though they are not. And every part of the plugin doesn't work.
Everything seems to work except this plugin. But in the other hosting without touching anything it works normally.
me/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php): failed to open stream: No such file or directory in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/admin/announcement-background-process.php on line 14
Warning: include_once(): Failed opening '/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/admin/announcement-background-process.php on line 14
Warning: include_once(/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/modules/rma): failed to open stream: No such file or directory in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/dokan-pro.php on line 286
Warning: include_once(): Failed opening '/home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/includes/modules/rma' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u905569257/domains/smeh.com.br/public_html/wp-content/plugins/dokan-pro/dokan-pro.php on line 286

Warning: require(/home/domain/public_html/domainname.com/wp-admin/wp-blog-header.php): failed to open stream: No such file or directory

Warning: require(/home/domain/public_html/domainname.com/wp-admin/wp-blog-header.php): failed to open stream: No such file or directory in /home/domain/public_html/domainname.com/wp-admin/index.php on line 17
Fatal error: require(): Failed opening required '/home/domaine/public_html/domainname.com/wp-admin/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/domainname.com/wp-admin/index.php on line 17
So I have seen this error before once and it actually occurred on this domain prior to today, but I was able to temporarily resolve this by updating Wordpress 4.9.5 from 4.9.4. This has never happened to me on my host with any other site and I have set up dozens over the years with different Wordpress versions.
However, it just started giving me this error again today only on wp-admin/index.php. If I access any other page, like wp-admin/edit.php?post_type=page, the page loads fine.
I have not made any changes to my site aside from adding content and products between last night and today when the error first came up. Disabling all plugins does not fix the issue. There's no error log yet because the site has no errors, it just won't load /wp-admin.
What is going on? I'm happy to provide the real domain name to those who might have an idea.
I was facing the same issue. wp-blog-header.php does not belong to wp-admin directory. This is a virus. I had to download the whole Website and then cleaned with antivirus.

Suddely files started missing from Wordpress and showing errors

My domain: bharahobe.info
I have installed WordPress in main domain and sydney theme. Everything was okay. Suddenly when I visit my site it shows error messages. Like this:
Warning: require(/home/bharahob/public_html/wp-includes/pomo/mo.php):
failed to open stream: No such file or directory in
/home/bharahob/public_html/wp-settings.php on line 102
Fatal error: require(): Failed opening required
'/home/bharahob/public_html/wp-includes/pomo/mo.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/bharahob/public_html/wp-settings.php on line 102
What should I do now?
If you have access through FTP or SSH, you should log into the server and verify that those files exist. The files may have been deleted by a bot or botched upgrade. The permissions may have changed as well.
If the files are actually missing, you can probably get away with downloading the version of WP you're currently running and replace the missing files.

I am having the issue in wp site

I am having the following issue in wp site.
Warning: include(/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include(): Failed opening '/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include_once(/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: include_once(): Failed opening '/home2/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: Cannot modify header information - headers already sent by (output started at /home/ngohost/public_html/artfinteriors.com/wp-content/plugins/wp-super-cache/wp-cache.php:65) in /home/ngohost/public_html/artfinteriors.com/wp-includes/pluggable.php on line 1179
It seems that you are using WP Super Cache plugin and this is causing the errors. The first step for debugging is to try to deactivate / uninstall the plugin and see if the error still appear.

Unable to view Wordpress site

I had created a wordpress site close to 6 months back. Everything was fine till a few days back when we started to see the Wordpress "White Screen of Death" both at the front and back end.
After a lot of debug attempts, we decided to re-install wordpress and keep the old wp-content file.
Now this is visible on trying to access the site(wp_debug is set to false, so ideally it shouldn't be happening) -
Warning: require(/home/vaidya/public_html/wp-includes/class-wp-error.php) [function.require]: failed to open stream: No such file or directory in /home/vaidya/public_html/wp-settings.php on line 74
Fatal error: require() [function.require]: Failed opening required '/home/vaidya/public_html/wp-includes/class-wp-error.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vaidya/public_html/wp-settings.php on line 74
Line 74 on wp-settings -
require( ABSPATH . WPINC . '/class-wp-error.php' );
Any suggestions?
The error message says, the the file "class-wp-error.php" is missing.
It should be located in the folder "'/home/vaidya/public_html/wp-includes/". It seems that you did not copy all required files.

Resources