Wordpress down - no changes - php

Wordpress website went down without any changes.
Here are the error messages:
Warning: include(/home/theme/public_html/wp-content/themes/sachba/functions.php): failed to open stream: Permission denied in /home/user/public_html/wp-settings.php on line 425
Warning: include(): Failed opening '/home/sachbaco/public_html/wp-content/themes/theme/functions.php' for inclusion (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/user/public_html/wp-settings.php on line 425
Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/wp-settings.php:425) in /home/user/public_html/wp-includes/pluggable.php on line 1195
Any help please?

try setting permission on /home/user/public_html/wp-settings.php to 777 and try again. if it works then you must lower the permissions one by one until the error appears. *Do not leave wp-settings.php on 777 for a long time.

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.

Error messages for uploading files

I keep getting these error messages when using a plug in "üsers ultra pro":
Warning: mkdir(): No such file or directory in /homepages/2/d644181673/htdocs/app646332697/wp-content/plugins/users-ultra-pro/xooclasses/xoo.userultra.customizer.php on line 227
Warning: move_uploaded_file(/homepages/2/d644181673/htdocs/app646332697/usersultramedia/custom_avatar_image/uultra_default_avatar_image_.jpg): failed to open stream: No such file or directory in /homepages/2/d644181673/htdocs/app646332697/wp-content/plugins/users-ultra-pro/xooclasses/xoo.userultra.customizer.php on line 230
Warning: move_uploaded_file(): Unable to move '/tmp/phpTloN3B' to '/homepages/2/d644181673/htdocs/app646332697/usersultramedia/custom_avatar_image/uultra_default_avatar_image_.jpg' in /homepages/2/d644181673/htdocs/app646332697/wp-content/plugins/users-ultra-pro/xooclasses/xoo.userultra.customizer.php on line 230
Warning: getimagesize(/homepages/2/d644181673/htdocs/app646332697/usersultramedia/custom_avatar_image/uultra_default_avatar_image_.jpg): failed to open stream: No such file or directory in /homepages/2/d644181673/htdocs/app646332697/wp-content/plugins/users-ultra-pro/xooclasses/xoo.userultra.customizer.php on line 234
I have checked all the permissions are set to 755 but it still won't work. Any ideas? Thanks :)
Background: I am running a multi user site on Wordpress (think pinterest) where users will be able to upload images/text.

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.

Warning: include(): Failed opening failed to open stream: Permission denied

Warning: include(/home/sarvadcu/public_html/paradisetourism.co.in/wp-content/themes/midway/functions.php): failed to open stream: Permission denied in /home/sarvadcu/public_html/paradisetourism.co.in/wp-settings.php on line 329
Warning: include(): Failed opening '/home/sarvadcu/public_html/paradisetourism.co.in/wp-content/themes/midway/functions.php' for inclusion (include_path='.:/usr/local/altphp54/lib/php') in /home/sarvadcu/public_html/paradisetourism.co.in/wp-settings.php on line 329
Warning: Cannot modify header information - headers already sent by (output started at /home/sarvadcu/public_html/paradisetourism.co.in/wp-settings.php:329) in /home/sarvadcu/public_html/paradisetourism.co.in/wp-includes/pluggable.php on line 1196
It is problem with template path ,on here template function file not get proper path from wp-setting.php.
try to check out that path Or function file path .on theme activation.
when theme activate that time it find function.php file but it not get correctly so that.this error come.

pChart - running scripts as www-data doesn't work

So I'm having trouble running PHP scripts for pChart. Running them as the user who created them works fine, but if I sudo to www-data, I get these errors:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d
/mcrypt.ini on line 1 in Unknown on line 0
PHP Warning: include(/usr/lib/pchart/class/pDraw.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 4
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pDraw.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 4
PHP Warning: include(/usr/lib/pchart/class/pImage.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 5
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pImage.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 5
PHP Warning: include(/usr/lib/pchart/class/pData.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 6
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pData.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 6
PHP Fatal error: Class 'pData' not found in /usr/share/phpmyadmin/test.php on line 10
Does anyone have any idea what permissions or groups I'd need to change to get this working? I've tried changing everything mentioned in the output above to 777 but it's still happening.
Ok, it was permissions, though it's not clear which ones yet. It started working when I changed the pChart2.1.3 folder permissions to 777. Now I can tidy up.

Categories