Error: wp-blog-header.php: failed to open stream

Discussion regarding Joomla! 4.x security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
gela12
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Apr 02, 2023 6:18 pm

Error: wp-blog-header.php: failed to open stream

Post by gela12 » Sun Apr 02, 2023 6:22 pm

Hello everyone, please help me. My site was working fine. I didn't change anything, and suddenly when I entered the site, only a white screen appeared. Then I turned php_flag display_errors on and the site displayed this message. What should I do to enable the site? Thanks in advance

Warning: require(/home/guri/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/politfor/public_html/index.php on line 18

Warning: require(/home/guri/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/politfor/public_html/index.php on line 18

Fatal error: require(): Failed opening required '/home/guri/public_html/wp-blog-header.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/guri/public_html/index.php on line 18
Last edited by toivo on Sun Apr 02, 2023 8:40 pm, edited 1 time in total.
Reason: mod note: moved from 4.x General Questions, retitled

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17474
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error: wp-blog-header.php: failed to open stream

Post by toivo » Sun Apr 02, 2023 8:45 pm

Welcome to the Joomla forum!

The error message indicates that your website has been compromised, in other words, hacked. The file index.php in the main Joomla folder does not contain code that loads a file called wp-blog-header.php.

Read the sticky topics of the forum Security in Joomla 4.x and read the instructions how to follow best security practice and rebuild the website.
Toivo Talikka, Global Moderator

gela12
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Apr 02, 2023 6:18 pm

Re: Error: wp-blog-header.php: failed to open stream

Post by gela12 » Sun Apr 02, 2023 10:01 pm

thx u :(

gela12
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sun Apr 02, 2023 6:18 pm

my site is compromised (hacked)

Post by gela12 » Sun Apr 02, 2023 10:05 pm

hello my website is hacked. i have backups in jetbackup5 but when I try to full restore, spins process on restore database users... Does it take a long time to wait or is there no point?
screen is here https://ibb.co/pnK1pry
Last edited by toivo on Sun Apr 02, 2023 11:50 pm, edited 1 time in total.
Reason: mod note: merged with the current topic

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44125
Joined: Sat Apr 05, 2008 9:58 pm

Re: my site is compromised (hacked)

Post by Webdongle » Sun Apr 02, 2023 11:22 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “Security in Joomla! 4.x”