All xampp wordpress websites same error.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

All xampp wordpress websites same error.

Postby dec0d3d » 05. April 2017 00:34

Hello.
I did a few wordpress websites on xampp and now they showing all the same error.

1- one of them is totally out of order, so it seems a database error but last time i checked it was fine and i didn't touch it anymore.
2- all the other websites show the same error:
Warning: require(C:\xampp\htdocs\*foldername*/wp-includes/post.php): failed to open stream: No such file or directory in C:\xampp\htdocs\*foldername*\wp-settings.php on line 167
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\*foldername*/wp-includes/post.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\*foldername*\wp-settings.php on line 167

Can you please tell me what can i do to open those websites and recover them because i really need them.

Thanks in advance.
Regards.
dec0d3d
 
Posts: 4
Joined: 05. April 2017 00:21
XAMPP version: v3.2.2
Operating System: Windows

Re: All xampp wordpress websites same error.

Postby Altrea » 05. April 2017 15:30

Hi,

dec0d3d wrote:2- all the other websites show the same error:
Warning: require(C:\xampp\htdocs\*foldername*/wp-includes/post.php): failed to open stream: No such file or directory in C:\xampp\htdocs\*foldername*\wp-settings.php on line 167
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\*foldername*/wp-includes/post.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\*foldername*\wp-settings.php on line 167

So, who put this *foldername* in the path?

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: All xampp wordpress websites same error.

Postby dec0d3d » 05. April 2017 19:30

I just replaced the actual folder name with *foldername*
The folder real name its medical. To be clear, they used to work just fine before.
dec0d3d
 
Posts: 4
Joined: 05. April 2017 00:21
XAMPP version: v3.2.2
Operating System: Windows

Re: All xampp wordpress websites same error.

Postby Altrea » 05. April 2017 20:07

dec0d3d wrote:I just replaced the actual folder name with *foldername*

But why?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: All xampp wordpress websites same error.

Postby dec0d3d » 05. April 2017 21:31

I think you misunderstood. I replaced it here when i copy pasted the error, i didn't chance the name on localhost. Or you were asking why did i do it here? :D
Anyway, any suggestions/help?
dec0d3d
 
Posts: 4
Joined: 05. April 2017 00:21
XAMPP version: v3.2.2
Operating System: Windows

Re: All xampp wordpress websites same error.

Postby Altrea » 05. April 2017 21:52

dec0d3d wrote:Or you were asking why did i do it here? :D

That is exactly what i wanted to know.
Anyways, it is not the best idea to mask the only helpful message that can help us to help you.
That is like driving into a car repair shop and don't want to tell which component is making weird noises.

dec0d3d wrote:Anyway, any suggestions/help?

The error message is very clear. PHP cannot find or access files. Which files in which folders and if they are present and accessible for Apache can only be clear for you.
We don't have that information.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: All xampp wordpress websites same error.

Postby dec0d3d » 06. April 2017 00:30

What about i didn't even touch the files and they suddenly just miss something?
How can i fix that since i'm not very good at solving this kind of problems.

Thanks for your help btw! :)
dec0d3d
 
Posts: 4
Joined: 05. April 2017 00:21
XAMPP version: v3.2.2
Operating System: Windows

Re: All xampp wordpress websites same error.

Postby Altrea » 06. April 2017 01:16

dec0d3d wrote:What about i didn't even touch the files and they suddenly just miss something?

Maybe you touched the configuration!? Or your files gets lost on some mysterious ways?
XAMPP don't delete any of your files so i don't see how this could be a XAMPP problem.

dec0d3d wrote:How can i fix that since i'm not very good at solving this kind of problems.

If this is a configuration problem, correct the configuration.
If this is a data constistence problem, maybe the only solution would be to restore a backup of your files and/or data.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 137 guests