Title: codeforweb's Replies - page 2 | WordPress.org

---

# codeforweb

  [  ](https://wordpress.org/support/users/codeforweb/)

 *   [Profile](https://wordpress.org/support/users/codeforweb/)
 *   [Topics Started](https://wordpress.org/support/users/codeforweb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codeforweb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codeforweb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codeforweb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codeforweb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codeforweb/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 16 through 30 (of 31 total)

[←](https://wordpress.org/support/users/codeforweb/replies/?output_format=md) [1](https://wordpress.org/support/users/codeforweb/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/codeforweb/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/codeforweb/replies/page/3/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Secure connection error](https://wordpress.org/support/topic/secure-connection-error/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/secure-connection-error/#post-11028744)
 * Before reading your post I was browsing through different posts and was trying
   to resolve the above mentioned error message and I have ended up in a blank page
   error that says[I had disabled the firewall service]
 * “This site can’t be reached 10.20.0.16 refused to connect.
    Search Google for
   admin plugins ERR_CONNECTION_REFUSED”
 * I’m also unable to restart my httpd service, and when I check the status for 
   httpd I get this message
 * [root@webserver ~]# service httpd status
    Redirecting to /bin/systemctl status
   httpd.service ● httpd.service – The Apache HTTP Server Loaded: loaded (/usr/lib/
   systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed(
   Result: exit-code) since Wed 2018-12-26 22:23:37 PST; 30min ago Docs: man:httpd(
   8) man:apachectl(8) Process: 16967 ExecStop=/bin/kill -WINCH ${MAINPID} (code
   =exited, status=1/FAILURE) Process: 1138 ExecReload=/usr/sbin/httpd $OPTIONS -
   k graceful (code=exited, status=0/SUCCESS) Process: 16965 ExecStart=/usr/sbin/
   httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 16965 (
   code=exited, status=1/FAILURE)
 * Dec 26 22:23:37 webserver.abc.com systemd[1]: Starting The Apache HTTP Server…
   
   Dec 26 22:23:37 webserver.abc.com systemd[1]: httpd.service: main process exited,
   code=exited, status=1/FAILURE Dec 26 22:23:37 webserver.abc.com kill[16967]: 
   kill: cannot find process “” Dec 26 22:23:37 webserver.abc.com systemd[1]: httpd.
   service: control process exited, code=exited status=1 Dec 26 22:23:37 webserver.
   abc.com systemd[1]: Failed to start The Apache HTTP Server. Dec 26 22:23:37 webserver.
   abc.com systemd[1]: Unit httpd.service entered failed state. Dec 26 22:23:37 
   webserver. abc.com systemd[1]: httpd.service failed.
 * Do you have any idea what might have gone wrong?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[WP Bootstrap Starter] Fix footer to bottom of the page](https://wordpress.org/support/topic/fix-footer-to-bottom-of-the-page/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/fix-footer-to-bottom-of-the-page/#post-11028705)
 * Thank you [@saidalkharusi](https://wordpress.org/support/users/saidalkharusi/)
   this worked well for me! :))
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[WP Bootstrap Starter] Unable to change background color for #page-sub-header](https://wordpress.org/support/topic/unable-to-change-background-color-for-page-sub-header/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unable-to-change-background-color-for-page-sub-header/#post-10437327)
 * After looking through all the folders and files I came across this
 * Resolution: Go to /inc/customizer.php file in your theme folder and search for#
   page-sub-header and change the background color from #fff to whatever color you
   need.
 * See Screenshot for details [https://snag.gy/yWFjim.jpg](https://snag.gy/yWFjim.jpg)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to update WordPress (4.9.4) to 4.9.6](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/#post-10415742)
 * Attached screenshot links for reference
 * [https://snag.gy/2DoMdK.jpg](https://snag.gy/2DoMdK.jpg)
 * [https://snag.gy/NuqhdG.jpg](https://snag.gy/NuqhdG.jpg)
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to update WordPress (4.9.4) to 4.9.6](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/#post-10415718)
 * Thank you [@sterndata](https://wordpress.org/support/users/sterndata/).
    SELinux
   was the issue!! After reading a lot of other posts and blogs came down to this
   resolution.
 * **Resolution:** Enter this command
 * ls -Z /var/www/html/path_to_your_website_folder/
 * If your output is as shown below (read, write permissions are only enabled for
   wp-content folder.)
 * -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 index.php
   -
   rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 license.
   txt -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 readme.
   html drwxrwxr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 wordpress-
   rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 wp-activate.
   php drwxrwxr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 wp-
   admin -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 wp-
   blog-header.php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:
   s0 wp-comments-post.php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:
   s0 wp-config.php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys_content_t:
   s0 wp-config-sample.php drwxrwxr-x. apache apache unconfined_u:object_r:httpd_sys**
   _rw_**content_t:s0 **wp-content** -rw-rw-r–. apache apache unconfined_u:object_r:
   httpd_sys_content_t:s0 wp-cron.php drwxrwxr-x. apache apache unconfined_u:object_r:
   httpd_sys_content_t:s0 wp-includes -rw-rw-r–. apache apache unconfined_u:object_r:
   httpd_sys_content_t:s0 wp-links-opml.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-load.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-login.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-mail.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-settings.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-signup.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 wp-trackback.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys_content_t:s0 xmlrpc.php
 * All you need to do is enable read write for all the other files and directories
   which can be done using the following command
 * chcon -R –type httpd_sys_rw_content_t /var/www/html/rr/path_to_your_website_folder/
 * Now the output should look something like this.
 * -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 
   index.php
    -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:
   s0 license.txt -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**
   content_t:s0 readme.html drwxrwxr-x. apache apache unconfined_u:object_r:httpd_sys**
   _rw_**content_t:s0 wordpress -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**
   _rw_**content_t:s0 wp-activate.php drwxrwxr-x. apache apache unconfined_u:object_r:
   httpd_sys**_rw_**content_t:s0 wp-admin -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys**_rw_**content_t:s0 wp-blog-header.php -rw-rw-r–. apache apache
   unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 wp-comments-post.php -rw-
   rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 wp-config.
   php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:
   s0 wp-config-sample.php drwxrwxr-x. apache apache unconfined_u:object_r:httpd_sys**
   _rw_**content_t:s0 wp-content -rw-rw-r–. apache apache unconfined_u:object_r:
   httpd_sys**_rw_**content_t:s0 wp-cron.php drwxrwxr-x. apache apache unconfined_u:
   object_r:httpd_sys**_rw_**content_t:s0 wp-includes -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys**_rw_**content_t:s0 wp-links-opml.php -rw-rw-r–. apache apache
   unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 wp-load.php -rw-rw-r–. apache
   apache unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 wp-login.php -rw-rw-
   r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:s0 wp-mail.
   php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**_rw_**content_t:
   s0 wp-settings.php -rw-rw-r–. apache apache unconfined_u:object_r:httpd_sys**
   _rw_**content_t:s0 wp-signup.php -rw-rw-r–. apache apache unconfined_u:object_r:
   httpd_sys**_rw_**content_t:s0 wp-trackback.php -rw-rw-r–. apache apache unconfined_u:
   object_r:httpd_sys**_rw_**content_t:s0 xmlrpc.php
 * Solution taken from [@toddalancox](https://wordpress.org/support/users/toddalancox/)‘
   s post. Thank you [@toddalancox](https://wordpress.org/support/users/toddalancox/).
   You made my day 🙂
    Hope this helps someone else too.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to update WordPress (4.9.4) to 4.9.6](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/#post-10412597)
 * The permissions for /wp-admin/includes is 775 apache:apache
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to update WordPress (4.9.4) to 4.9.6](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/unable-to-update-wordpress-4-9-4-to-4-9-6/#post-10411977)
 * I have updated the ownership to apache:apache, but it still shows the same error
   🙁
 * “Downloading update from [https://downloads.wordpress.org/release/wordpress-4.9.6-partial-5.zip…](https://downloads.wordpress.org/release/wordpress-4.9.6-partial-5.zip…)
 * Unpacking the update…
 * The update cannot be installed because we will be unable to copy some files. 
   This is usually due to inconsistent file permissions.: wp-admin/includes/update-
   core.php
 * Installation Failed”
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[WP Bootstrap Starter] Fix Header](https://wordpress.org/support/topic/fix-header-3/)
 *  [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fix-header-3/#post-10371121)
 * Hello [@moelle](https://wordpress.org/support/users/moelle/)
 * You can try adding “fixed-top” to the “site-header” class in the header.php file.
   
   For details check this image [https://snag.gy/i3Nk6e.jpg](https://snag.gy/i3Nk6e.jpg).
 * Hope this helps you. Have a great day!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[WP Bootstrap Starter] Transparent Background Image](https://wordpress.org/support/topic/transparent-background-image-2/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/transparent-background-image-2/#post-10337180)
 * Thank you for the help [@afterimagedesigns](https://wordpress.org/support/users/afterimagedesigns/)
 * I did it by reducing the opacity of my background image in Adobe Photoshop.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10305242)
 * [@sterndata](https://wordpress.org/support/users/sterndata/)
 * Thanks for the help Steve. I am able to upload the images to my WordPress without
   any issues! :))
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [8 years ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10268284)
 * The directory in which I have my WordPress theme is rr.
    My permissions are
 * /var/www – rwxr-xr-x (owner-root)
    /var/www/html – rwxr-xr-x (owner-root) /var/
   www/html/rr – rwxr-xr-x (owner-nobody) /var/www/html/rr/wp-content – rwxr-xr-
   x (owner-nobody)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [8 years ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10267974)
 * I executed this command
    find . type f -exec chmod 644 {} \; and the 500 error
   page is not being displayed now. I am able to view my web page.
 * But I am still unable to upload a background image. (same error appears “Unable
   to create directory wp-content/uploads/2018/05. Is its parent directory writable
   by the server?”)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [8 years ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10267540)
 * When I run this command ps -ef |grep php, its says PHP is running under root 
   user. Also I checked(cat /etc/sysconfig/selinux) SE Linux is in enforcing state,
   but how do I change them to 755/644??
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [8 years ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10267377)
 * Here is the link for the screenshot of my access permissions that I have set,
 * [Link1](https://expirebox.com/download/5c4fa0af1f30a124625c489997a953c2.html)
 * [Link2](https://expirebox.com/download/14817bcb64e0a184f01ca44e8454eea8.html)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Access Permissions WordPress](https://wordpress.org/support/topic/access-permissions-wordpress/)
 *  Thread Starter [codeforweb](https://wordpress.org/support/users/codeforweb/)
 * (@codeforweb)
 * [8 years ago](https://wordpress.org/support/topic/access-permissions-wordpress/#post-10267348)
 * Hi Steve,
 * I hosting my site on a Red Hat Linux on which I have set up a LAMP stack server.
   I read in a blog that changing access permission would fix the file upload error
   and followed the steps provided in links 1 and 2(mentioned in my question).
 * I feel the 500 error that I am getting now, is due to the permissions I have 
   set up. I have taken screenshots to show. But can I upload images in this forum
   or is there another way to show them?

Viewing 15 replies - 16 through 30 (of 31 total)

[←](https://wordpress.org/support/users/codeforweb/replies/?output_format=md) [1](https://wordpress.org/support/users/codeforweb/replies/?output_format=md)
2 [3](https://wordpress.org/support/users/codeforweb/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/codeforweb/replies/page/3/?output_format=md)