I am getting this message 100 times in my error log and my site is down right now with the message"website is currently unable to handle this request.
HTTP ERROR 500
"PHP Warning:
require(/home/user/public_html/domain.com/wp-includes/post.php):
failed to open stream: No such file or directory in
/home/user/public_html/domain.com/wp-settings.php on line 142 PHP
Fatal error: require(): Failed opening required
'/home/user/public_html/domain.com/wp-includes/post.php'
(include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php')
in /home/user/public_html/domain.com/wp-settings.php on line 142
the error message is clear enough. WordPress looks for the /home/user/public_html/domain.com/wp-includes/post.php file which is missing. The 500 error code indicates that there was a server error. Make sure that the file is available where WordPress it expects to be.
Related
I am getting this issue, anyone be able to help me?
Warning:
require_once(/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-admin/includes/class-wp-list-table.php):
failed to open stream: No such file or directory in
/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-content/themes/xstore/framework/thirdparty/tgm-plugin-activation/class-tgm-plugin-activation.php on line 2170
Fatal error: require_once(): Failed opening required
'/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-admin/includes/class-wp-list-table.php'
(include_path='.:/usr/share/php') in
/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-content/themes/xstore/framework/thirdparty/tgm-plugin-activation/class-tgm-plugin-activation.php
on line 2170
The error says that the file class-wp-list-tables.php doesn't exists. Check by yourself if the file exists in your disk, otherwise this may be a permission error (the owner of the file is not the same that is running under php), but in most of the cases if was a permission error you had a "permission denied" error. Under certain circumstances you can fall in a "no such file or directory" for a permission error. Check if the file exists fist.
I've been searching around for hours now and can't seem to find any solutions.
I've been using WAMP Server on window for forever now, but suddenly last night I get the errors
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0.
Fatal error: Unknown: Failed opening required 'C:/Users/User/www/OMG/index.php' (include_path='.;c:\php\includes') in Unknown on line 0
now to test this out, I've only created an index.php file with the following
<?php echo "Hello"; ?>
I still receive the errors. It doesn't matter if I use localhost/OMG or a virtual host address om.g
I've been pulling my hair out, and cant find anything that works from inside the php.ini, etc...
Any help would be very much appreciated.
I am uploading my Wordpress site to a hosting by ftp. It uploads well, but I see the following errors when I try to access the website:
Warning: require_once(/home/content/90/8733390/html/marreroinmobiliaria.com/wp-content/themes/realhomes/framework/functions/real-estate-search.php): failed to open stream: No such file or directory in /home/content/90/8733390/html/marreroinmobiliaria.com/wp-content/themes/realhomes/framework/functions/load.php on line 22
Fatal error: require_once(): Failed opening required '/home/content/90/8733390/html/marreroinmobiliaria.com/wp-content/themes/realhomes/framework/functions/real-estate-search.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/90/8733390/html/marreroinmobiliaria.com/wp-content/themes/realhomes/framework/functions/load.php on line 22
What could be? Any help will be appreciated.
it sounds like there is some part of the link before public HTML (the part before the domain name in the error message) that must be included in your php
I am facing a strange problem. I am trying to integrate a REST api in phonegap application.
When I request the url say http://myserver/index.php?m=login via a rest client in my browser it works fine.
But when I invoke it via jQuery ajax it returns the following error:
Warning:
include(C:/Domains/my-portal.org/httpdocs/mmode/template/mobile/index.php)
[function.include]: failed to open stream: No such file or directory
in C:\Domains\my-portal.org\httpdocs\mmode\index.php on line 13
Warning: include(C:/Domains/my-portal.org/httpdocs/mmode/template/mobile/index.php)
[function.include]: failed to open stream: No such file or directory
in C:\Domains\my-portal.org\httpdocs\mmode\index.php on line 13
Warning: include() [function.include]: Failed opening 'C:/Domains/myportal.org/httpdocs/mmode/template/mobile/index.php' for inclusion (include_path='.;./includes;./pear;C:\PHP\includes') in C:\Domains\my-portal.org\httpdocs\mmode\index.php on line 13
Now the problem is not cross-domain scripting because the response header returns "Access-Control-Allow-Origin: *". And I have also white-listed the domain in cordova settings.
Can anyone please guide me what could be the problem here?
I keep getting these error messages in my error log:
PHP Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'PDO Connection Error: SQLSTATE[00000] [1135] Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
PHP Fatal error: Class 'Doctrine_Connection_Exception' not found in /var/www/vhosts/domain.com/httpdocs/application/plugins/doctrine/lib/Doctrine/Connection.php on line 474
PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/vhosts/domain.com/httpdocs/system/codeigniter/CodeIgniter.php' (include_path='.:') in /var/www/vhosts/domain.com/httpdocs/index.php on line 140
PHP Warning: require_once(/var/www/vhosts/domain.com/httpdocs/system/codeigniter/CodeIgniter.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Too many open files in system in /var/www/vhosts/domain.com/httpdocs/index.php on line 140, referer: ''
I do not know if these issues are related to each other or not. Just thought I'd mention it.
Everytime one of this error occurs, the corresponding page on my site does not load. Please help me decode the issue.
Some more information - The site is hosted on Media temple's DV plan.
Thanks in advance,
Kamalesh
For the first error: Your SQL server is out of memory. This isn't fixable by PHP, you need to (let someone) configure your SQL server so it has more available memory -OR- profile and optimize your queries (if possible).
The second error: Some PHP file can't find the file that contains the Doctrine_Connection_Exception, from the first error I can see that it does exists and sometimes can be found, I'm guessing it's a problem with your include path,
Thanks for your suggestions. I think I have figured out the problem.
We switched on 'keep_alive' in httpd.conf recently. The errors have stopped propping up on switching it off.