Warning and Fatal Error on Wordpress Website with Woocommerce - php

I am getting some weird errors on my wordpress website today even though I haven't installed/updated any plugin etc. So far I have tried disabling all the plugins, changing themes and even checked permission for wordpress folders and files.
Everything looks good. I have even updated PHP version for my website from 5.6 to 7.0 and increased the update file limit from 8MB to 16 MB as suggested on wordpress but nothing has worked. These are the following errors that I am getting.
On My-Admin Page
careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
On Manage Themes Page in My Admin
Warning:
include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: An unexpected error occurred. Something may be wrong with
WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums. (WordPress could not
establish a secure connection to WordPress.org. Please contact your
server administrator.) in
/home/careeing/public_html/oldbookdepot.in/wp-includes/update.php on
line 499
On the home page of website
Warning:
include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Fatal error: Uncaught Error: Call to undefined function
twentyfourteen_has_featured_posts() in
/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php:19
Stack trace: #0
/home/careeing/public_html/oldbookdepot.in/wp-includes/template-loader.php(74):
include() #1
/home/careeing/public_html/oldbookdepot.in/wp-blog-header.php(19):
require_once('/home/careeing/...') #2
/home/careeing/public_html/oldbookdepot.in/index.php(17):
require('/home/careeing/...') #3 {main} thrown in
/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php
on line 19

Related

How to resolve Php Error occur after update wordpress

I update the wordpress. After that some issue were seen.
Warning: include(images/LayerSlider_v5.3.2.png): failed to open stream: No such
file or directory in
/home/cloudbed/public_html/druits.com/wp-content/plugins/LayerSlider/layerslider.php
on line 202
Warning: include(images/LayerSlider_v5.3.2.png): failed to open
stream: No such file or directory in
/home/cloudbed/public_html/druits.com/wp-content/plugins/LayerSlider/layerslider.php
on line 202
Warning: include(): Failed opening 'images/LayerSlider_v5.3.2.png'
for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/cloudbed/public_html/druits.com/wp-content/plugins/LayerSlider/layerslider.php
on line 202
Warning: Cannot modify header information - headers already sent by
(output started at
/home/cloudbed/public_html/druits.com/wp-content/plugins/LayerSlider/layerslider.php:202)
in /home/cloudbed/public_html/druits.com/wp-includes/pluggable.php on
line 1174
You can disable LayerSlider plugin and your site should go online without errors.
Then delete the plugin via FTP and try to install it again.
Something has gone wrong during the update.

Errors occurred during magento installation

I'm trying to install magento 1.x on my centos machine. After dowloading and extracting magento i faced this errrors
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /xxxx/app/Mage.php on line 54
I tried to run php shell/compiler.php compile the the errors disappeared and the installation page appeared but without any next or back buttons.
How can i fix this issue?
Make sure on the new server , you have permissions to open and rewrite files. some mangento extensions require full permissions before installations.

Magento URl error with PHP

I installed fresh magento 1.9.2.2. While installing and after it instaled, whenever i try my domain url the same error have been coming like shown below.
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /home/website/public_html/app/Mage.php on line 54
So I used
http://xxx.xxx.xxx.xxx [my ip address]/~website/
then in installtion I changed my path to my domain name. Its not working.
Anyone know any solution. Please help me.
I think that your problem caused by the .htaccess file. Try to rename it to test this idea or check rewrite/redirect rules.

Magento blank page

[20-Feb-2015 17:45:02 Europe/Berlin] PHP Fatal error: Class 'Varien_Autoload' not found in /home/vzvutpbd/public_html/app/Mage.php on line 53
[20-Feb-2015 17:46:32 Europe/Berlin] PHP Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/vzvutpbd/public_html/app/Mage.php on line 49
[20-Feb-2015 17:46:32 Europe/Berlin] PHP Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php:/usr/lib/php:/usr/local/lib/php:/home/vzvutpbd/php') in /home/vzvutpbd/public_html/app/Mage.php on line 49
Ensure that all files listed are there & have appropriate read permissions.
Magento - Wiki - Resetting File Permissions
This should resolve your issues, granted the files are indeed there.

Fatal error: Call to undefined function geoip_open()

all goes well suddenly i dont know why a fatal error occurred can any one please tell me the solution ???
Warning: include(lang.php) [function.include]: failed to open stream: Operation not permitted in /var/httpdocs/dev52/include.php on line 59
Warning: include() [function.include]: Failed opening 'lang.php' for inclusion (include_path='.:') in /var/httpdocs/dev52/include.php on line 59
Warning: include(lang2.php) [function.include]: failed to open stream: Operation not permitted in /var/httpdocs/dev52/include.php on line 61
Warning: include() [function.include]: Failed opening 'lang2.php' for inclusion (include_path='.:') in /var/httpdocs/dev52/include.php on line 61
Warning: include_once(inc.php) [function.include-once]: failed to open stream: Operation not permitted in /var/httpdocs/dev52/include.php on line 265
Warning: include_once() [function.include]: Failed opening 'inc.php' for inclusion (include_path='.:') in /var/httpdocs/dev52/include.php on line 265
Fatal error: Call to undefined function geoip_open() in /var/httpdocs/dev52/include.php on line 266
I would suggest you contact your webhost. If everything was working and it suddenly stops working, especially on a widely-used package like phpMyAdmin, it's more than likely someone changed a configuration setting and screwed it up.
If this doesn't help, or if you own the server yourself, try reinstalling phpMyAdmin.
This sometimes happens with nested includes, check to see if there are any include(); statements in lang.php and if so then include these files directly.

Categories