site unwritable

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
alettone
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Apr 30, 2016 6:40 am

site unwritable

Post by alettone » Sat Apr 30, 2016 6:46 am

Hello
i have just finished to install joomla 3.5.
but i can't update it and also install extensions.
the error is Cannot open file for writing log.

the administrator panel says that site is all unwritable, but the permission of /var/www/html/* are 755 for directorys and 644 for files.
i have tried to set 777 for all, but the error is the same.
help me please...

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30937
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: site unwritable

Post by Per Yngve Berg » Sat Apr 30, 2016 6:55 am

http://forum.joomla.org/viewtopic.php?f=621&t=582860 Please.

755/644 is correct. never use 777.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: site unwritable

Post by sovainfo » Sat Apr 30, 2016 7:47 am

When you scroll down to the bottom of the list you'll see what the log folder is pointing to. Your webserver needs write access to that folder!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

alettone
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Apr 30, 2016 6:40 am

Re: site unwritable

Post by alettone » Sat Apr 30, 2016 8:15 am

this is the fpa
Forum Post Assistant (v1.2.7) : 30th April 2016 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.5.0-Stable (Unicorn) 21-March-2016
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (777) | Owner: apache (uid: 1/gid: 1) | Group: apache (gid: 1) | Valid For: 1.5
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: No | GZip: 0 | Cache: 0 | FTP Layer: 1 | SSL: N/A | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: N/A | Unicode Slugs: N/A | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 3.10.0-123.el7.x86_64 | Technology: x86_64 | Web Server: Apache/2.4.6 (CentOS) PHP/5.6.20 | Encoding: gzip, deflate | Doc Root: /var/www/html | System TMP Writable: Yes

PHP Configuration :: Version: 5.6.20 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

MySQL Configuration :: Version: 5.5.5-10.1.13-MariaDB (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 15.19 MiB | #of Tables: 272
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.20) | date (5.6.20) | ereg () | libxml () | openssl () | pcre () | zlib (2.0) | filter (0.11.0) | hash (1.0) | Reflection ($Id: fbcf7a77ca8e3d4cd7501de8025235b947b8240f $) | SPL (0.2) | session () | standard (5.6.20) | apache2handler () | bz2 () | calendar () | ctype () | curl () | dom (20031129) | mbstring () | fileinfo (1.0.5) | ftp () | gd () | gettext () | iconv () | exif (1.4 $Id: f94e075e5a1ebe5108ef2729498d2f198df3c078 $) | mcrypt () | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | PDO (1.0.4dev) | pgsql () | Phar (2.0.2) | posix () | shmop () | SimpleXML (0.1) | sockets () | sqlite3 (0.7-dev) | sysvmsg () | sysvsem () | sysvshm () | tokenizer (0.1) | xml () | xmlwriter (0.1) | xsl (0.1) | mysql (1.0) | mysqli (0.1) | pdo_mysql (1.0.2) | pdo_pgsql (1.0.2) | pdo_sqlite (1.0.1) | wddx () | xmlreader (0.1) | apcu (4.0.11) | igbinary (1.2.1) | json (1.3.9) | memcache (3.0.8) | msgpack (0.5.7) | zip (1.13.2) | memcached (2.2.0) | mongo (1.6.13) | mhash () | apc (4.0.11) | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe

Apache Modules :: core | mod_so | http_core | mod_access_compat | mod_actions | mod_alias | mod_allowmethods | mod_auth_basic | mod_auth_digest | mod_authn_anon | mod_authn_core | mod_authn_dbd | mod_authn_dbm | mod_authn_file | mod_authn_socache | mod_authz_core | mod_authz_dbd | mod_authz_dbm | mod_authz_groupfile | mod_authz_host | mod_authz_owner | mod_authz_user | mod_autoindex | mod_cache | mod_cache_disk | mod_data | mod_dbd | mod_deflate | mod_dir | mod_dumpio | mod_echo | mod_env | mod_expires | mod_ext_filter | mod_filter | mod_headers | mod_include | mod_info | mod_log_config | mod_logio | mod_mime_magic | mod_mime | mod_negotiation | mod_remoteip | mod_reqtimeout | mod_rewrite | mod_setenvif | mod_slotmem_plain | mod_slotmem_shm | mod_socache_dbm | mod_socache_memcache | mod_socache_shmcb | mod_status | mod_substitute | mod_suexec | mod_unique_id | mod_unixd | mod_userdir | mod_version | mod_vhost_alias | mod_dav | mod_dav_fs | mod_dav_lock | mod_lua | prefork | mod_proxy | mod_lbmethod_bybusyness | mod_lbmethod_byrequests | mod_lbmethod_bytraffic | mod_lbmethod_heartbeat | mod_proxy_ajp | mod_proxy_balancer | mod_proxy_connect | mod_proxy_express | mod_proxy_fcgi | mod_proxy_fdpass | mod_proxy_ftp | mod_proxy_http | mod_proxy_scgi | mod_proxy_wstunnel | mod_systemd | mod_cgi | mod_php5 | Apache/2.4.6 (CentOS) PHP/5.6.20 |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) |

Elevated Permissions (First 10) :: administrator/ (777) | administrator/components/ (777) | administrator/components/com_finder/ (777) | administrator/components/com_finder/helpers/ (777) | administrator/components/com_finder/helpers/html/ (777) | administrator/components/com_finder/models/ (777) | administrator/components/com_finder/models/fields/ (777) | administrator/components/com_finder/models/forms/ (777) | administrator/components/com_finder/sql/ (777) | administrator/components/com_finder/tables/ (777) |
Extensions Discovered :: wrote:Components :: SITE :: com_wrapper (3.0.0) | com_mailto (3.0.0) |
Components :: ADMIN :: com_finder (3.0.0) | com_languages (3.0.0) | com_categories (3.0.0) | com_newsfeeds (3.0.0) | com_login (3.0.0) | com_installer (3.0.0) | com_config (3.0.0) | com_cache (3.0.0) | com_banners (3.0.0) | com_ajax (3.2.0) | com_media (3.0.0) | com_modules (3.0.0) | com_cpanel (3.0.0) | com_templates (3.0.0) | com_admin (3.0.0) | com_users (3.0.0) | com_messages (3.0.0) | com_checkin (3.0.0) | com_joomlaupdate (3.0.0) | com_content (3.0.0) | com_redirect (3.0.0) | com_search (3.0.0) | com_plugins (3.0.0) | com_menus (3.0.0) | com_tags (3.1.0) | com_contenthistory (3.2.0) | com_postinstall (3.2.0) |

Modules :: SITE :: mod_finder (3.0.0) | mod_custom (3.0.0) | mod_articles_archive (3.0.0) | mod_tags_popular (3.1.0) | mod_login (3.0.0) | mod_articles_categories (3.0.0) | mod_languages (3.0.0) | mod_whosonline (3.0.0) | mod_articles_category (3.0.0) | mod_search (3.0.0) | mod_related_items (3.0.0) | mod_tags_similar (3.1.0) | mod_users_latest (3.0.0) | mod_syndicate (3.0.0) | mod_articles_latest (3.0.0) | mod_articles_popular (3.0.0) | mod_footer (3.0.0) | mod_banners (3.0.0) | mod_stats (3.0.0) | mod_wrapper (3.0.0) | mod_random_image (3.0.0) | mod_menu (3.0.0) | mod_articles_news (3.0.0) | mod_breadcrumbs (3.0.0) | mod_feed (3.0.0) |
Modules :: ADMIN :: mod_custom (3.0.0) | mod_status (3.0.0) | mod_multilangstatus (3.0.0) | mod_login (3.0.0) | mod_submenu (3.0.0) | mod_version (3.0.0) | mod_title (3.0.0) | mod_logged (3.0.0) | mod_popular (3.0.0) | mod_toolbar (3.0.0) | mod_stats_admin (3.0.0) | mod_quickicon (3.0.0) | mod_latest (3.0.0) | mod_menu (3.0.0) | mod_feed (3.0.0) |

Plugins :: SITE :: plg_editors_codemirror (5.12) | plg_editors_tinymce (4.3.3) | plg_editors-xtd_module (3.5.0) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg_search_tags (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_contacts (3.0.0) | plg_search_categories (3.0.0) | plg_search_content (3.0.0) | plg_user_joomla (3.0.0) | plg_user_contactcreator (3.0.0) | plg_user_profile (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_extension_joomla (3.0.0) | plg_system_logout (3.0.0) | plg_system_remember (3.0.0) | plg_system_debug (3.0.0) | plg_system_p3p (3.0.0) | plg_system_stats (3.5.0) | plg_system_log (3.0.0) | plg_system_sef (3.0.0) | plg_system_redirect (3.0.0) | plg_system_cache (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_languagecode (3.0.0) | plg_system_highlight (3.0.0) | plg_system_updatenotification (3.5.0) | plg_captcha_recaptcha (3.4.0) | plg_finder_tags (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_content (3.0.0) | plg_content_emailcloak (3.0.0) | plg_content_loadmodule (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_vote (3.0.0) | plg_content_joomla (3.0.0) | plg_content_finder (3.0.0) | plg_content_pagebreak (3.0.0) | plg_authentication_ldap (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_cookie (3.0.0) |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) | protostar (1.0) |
Templates :: ADMIN :: hathor (3.0.0) | isis (1.0) |

alettone
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Apr 30, 2016 6:40 am

Re: site unwritable

Post by alettone » Sat Apr 30, 2016 8:18 am

the log path is /var/www/html/logs and the permission is set to 777

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30937
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: site unwritable

Post by Per Yngve Berg » Sat Apr 30, 2016 8:22 am

This is the cause of your issue: PHP API: apache2handler

The web-server does not access the files using the same user that you use to upload files with ftp.
It cause ownership permission issue. The web server is probably logged in as the user "www-data"

Set the PHP-API to "cgi-fcgi". or install SU Php.

alettone
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Apr 30, 2016 6:40 am

Re: site unwritable

Post by alettone » Sat Apr 30, 2016 8:29 am

sorry
can you write how can i set the PHP-API to "cgi-fcgi" ?
thanks

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30937
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: site unwritable

Post by Per Yngve Berg » Sat Apr 30, 2016 8:36 am

Sorry, I don't have any experience with CentOS.

Isn't there a Host you can talk to, or the person that installed the server?

alettone
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Apr 30, 2016 6:40 am

Re: site unwritable

Post by alettone » Sat Apr 30, 2016 8:38 am

i had installed the server and joomla....

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30937
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: site unwritable

Post by Per Yngve Berg » Sat Apr 30, 2016 8:45 am


User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44093
Joined: Sat Apr 05, 2008 9:58 pm

Re: site unwritable

Post by Webdongle » Sat Apr 30, 2016 9:50 am

alettone wrote:i had installed the server and joomla....
You may get more specific help about the server on https://www.centos.org/forums/
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “Installation Joomla! 3.x”