Duplicate template not writable

Everything to do with Joomla! 3.x templates and templating.

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.
nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Duplicate template not writable

Postby nagaho1 » Wed Feb 08, 2017 3:09 pm

We had some problems with the last Joomla upgrade so I am trying to streamline the files before I try the latest.

After the last one we ended up with 2 copies of out custom template. One gives an error "the folder is not writable". If I change the name of that file to tell them apart, however, both of them change.

Also, you will see that I deleted Beez and Protostar templates in the Extension Manager, but they still show up in the Templates: Templates (Site) (and still did after I tried just taking the files off through FTP) but not in the Templates Styles. Isis shows up in the Extension Manager but not on the Template Manager.

Any help you can give me to have all this agree is appreciated. (I will put two of the attachments in the comments because it seems to be limiting me to 3.)
templates_styles.jpg
templates_error.jpg
templates_templates.jpg
You do not have the required permissions to view the files attached to this post.

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Wed Feb 08, 2017 3:12 pm

Other 2 attachments
extension_manager.jpg
ftp.jpg
You do not have the required permissions to view the files attached to this post.

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

Re: Duplicate template not writable

Postby Webdongle » Wed Feb 08, 2017 4:09 pm

The folder is not writeable but Joomla has file Owner Permissions which means it can change the file to 755 when it saves then change it back. (Or it deletes the file and replaces with a new one ... I have had several people tell me different versions of how Joomla does it). If the file will not save then you have a file Ownership issue on your server

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

Also note that the structure of some 3rd party extensions prevents them from being copied using the Template manager


Also, you will see that I deleted Beez and Protostar templates in the Extension Manager, but they still show up in the Templates:
Is not the correct way to remove them.

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Wed Feb 08, 2017 10:01 pm

Thanks.

Everything I read, including at least one post in the Joomla forum, said to remove templates in the Extension Manager, otherwise it causes other problems. So that is why I did it that way!

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Wed Feb 08, 2017 10:06 pm

Also I saw no way of doing it through the template manager, except in Styles, which I did, but it didn't delete them, they're still there.

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

Re: Duplicate template not writable

Postby Webdongle » Wed Feb 08, 2017 11:46 pm

Templates, like other extensions (Components, Modules and Plugins) are removed via Extensions >>> Manage >>> Manage ... select and then click the delete button. https://docs.joomla.org/Help36:Extensio ... ger_Manage

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Thu Feb 09, 2017 12:31 am

That's exactly what I did (which is what you said was "incorrect"). Yet they are still showing up in the Template Manager, and are still on my server, as I said in my original post.

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

Re: Duplicate template not writable

Postby Webdongle » Thu Feb 09, 2017 10:07 am


nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Thu Feb 09, 2017 1:28 pm

I tried using that form once and had a problem. But I'll try it again. Thanks.

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Thu Feb 09, 2017 2:20 pm

Problem Description :: Forum Post Assistant (v1.2.7) : 9th February 2017 wrote:Deleted templates in extensions, still show in templates
Forum Post Assistant (v1.2.7) : 9th February 2017 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.6.2-Stable (Noether) 4-August-2016
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: rfidp17 (uid: 1/gid: 1) | Group: rfidp17 (gid: 1) | Valid For: 3.6
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | FTP Layer: 0 | SSL: 0 | Error Reporting: none | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 2.6.32-642.13.1.el6.x86_64 | Technology: x86_64 | Web Server: Apache/2.4.16 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 | Encoding: gzip, deflate | Doc Root: /home/rfidp17/public_html | System TMP Writable: Yes

PHP Configuration :: Version: 5.6.16 | PHP API: cgi-fcgi | Session Path Writable: No | Display Errors: 1 | Error Reporting: 6135 | 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: -1 | Max. Execution Time: 30 | Memory Limit: 128M

MySQL Configuration :: Version: 5.6.35 (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 12.52 MiB | #of Tables:  88
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.16) | date (5.6.16) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (2.0) | bcmath () | bz2 () | calendar () | ctype () | curl () | dom (20031129) | filter (0.11.0) | ftp () | gd () | gettext () | hash (1.0) | iconv () | SPL (0.2) | intl (1.1.0) | json (1.2.1) | mbstring () | mcrypt () | session () | standard (5.6.16) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $) | mysqli (0.1) | Phar (2.0.2) | posix () | pspell () | Reflection ($Id: e1a2c576686e394757985fc88c2e6243ab2bb511 $) | mysql (1.0) | SimpleXML (0.1) | soap () | sockets () | imap () | tidy (2.0) | tokenizer (0.1) | xml () | xmlreader (0.1) | xmlrpc (0.51) | xmlwriter (0.1) | xsl (0.1) | zip (1.12.5) | cgi-fcgi () | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_login (3.0.0) | com_joomlaupdate (3.6.1) | com_messages (3.0.0) | com_newsfeeds (3.0.0) | com_templates (3.0.0) | com_config (3.0.0) | com_search (3.0.0) | com_banners (3.0.0) | COM_ADMINMENUMANAGER (2.2.7) | com_postinstall (3.2.0) | com_finder (3.0.0) | com_ajax (3.2.0) | com_weblinks (3.0.0) | com_cpanel (3.0.0) | com_menus (3.0.0) | com_tags (3.1.0) | com_redirect (3.0.0) | Akeeba (3.7.10) | com_checkin (3.0.0) | com_categories (3.0.0) | com_plugins (3.0.0) | ListManager (1.2.7) | com_contenthistory (3.2.0) | com_languages (3.0.0) | com_content (3.0.0) | com_admin (3.0.0) | com_users (3.0.0) | com_installer (3.0.0) | CKEditor (3.0) | com_modules (3.0.0) | com_cache (3.0.0) | com_media (3.0.0) | Widgetkit (1.4.1) |

Modules :: SITE :: Widgetkit Twitter (1.0.0) | ListManager Filter Module (1.2.7) | mod_languages (3.5.0) | ListManager Compare Module (1.2.7) | mod_feed (3.0.0) | mod_random_image (3.0.0) | mod_finder (3.0.0) | mod_wrapper (3.0.0) | mod_articles_category (3.0.0) | mod_articles_archive (3.0.0) | mod_tags_similar (3.1.0) | mod_articles_categories (3.0.0) | mod_custom (3.0.0) | mod_articles_news (3.0.0) | Widgetkit (1.0.0) | mod_articles_latest (3.0.0) | mod_footer (3.0.0) | mod_search (3.0.0) | mod_breadcrumbs (3.0.0) | mod_stats (3.0.0) | mod_related_items (3.0.0) | mod_tags_popular (3.1.0) | mod_banners (3.0.0) | mod_syndicate (3.0.0) | mod_articles_popular (3.0.0) | ListManager Search Module (1.2.7) | mod_menu (3.0.0) | mod_weblinks (3.0.0) | ListManager Module (1.2.7) | mod_whosonline (3.0.0) | mod_users_latest (3.0.0) | mod_login (3.0.0) |
Modules :: ADMIN :: mod_feed (3.0.0) | mod_status (3.0.0) | mod_quickicon (3.0.0) | mod_title (3.0.0) | Admin Menu Manager (2.2.7) | mod_submenu (3.0.0) | mod_custom (3.0.0) | mod_toolbar (3.0.0) | mod_logged (3.0.0) | mod_latest (3.0.0) | mod_menu (3.0.0) | mod_popular (3.0.0) | mod_stats_admin (3.0.0) | mod_multilangstatus (3.0.0) | mod_version (3.0.0) | mod_login (3.0.0) |

Plugins :: SITE :: PLG_INSTALLER_FOLDERINSTALLER (3.6.0) | plg_installer_webinstaller (1.1.0) | PLG_INSTALLER_URLINSTALLER (3.6.0) | plg_installer_packageinstaller (3.6.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_search_weblinks (3.0.0) | plg_search_contacts (3.0.0) | Search - List Manager (1.2.0) | plg_search_tags (3.0.0) | plg_search_content (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_categories (3.0.0) | plg_content_emailcloak (3.0.0) | Content - Widgetkit (1.0.0) | plg_content_loadmodule (3.0.0) | plg_content_geshi (3.0.0) | plg_content_vote (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_pagebreak (3.0.0) | plg_content_joomla (3.0.0) | plg_content_finder (3.0.0) | plg_editors_tinymce (4.4.0) | Editor - CKEditor (3.0) | Joomla Links (2.0.0beta1) | plg_editors_codemirror (5.17.0) | plg_captcha_recaptcha (3.4.0) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_module (3.5.0) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg_user_contactcreator (3.0.0) | plg_user_joomla (3.0.0) | plg_user_profile (3.0.0) | plg_finder_weblinks (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_content (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_categories (3.0.0) | plg_extension_joomla (3.0.0) | plg_system_languagecode (3.0.0) | System - Widgetkit Joomla (1.0.0) | plg_system_sef (3.0.0) | JA T3 Framework (2.7.3) | PLG_SYS_DSCONSTANT (1.0.1) | System - Widgetkit (1.0.0) | System - Widgetkit ZOO (1.0.0) | plg_system_highlight (3.0.0) | plg_system_updatenotification (3.5.0) | plg_system_stats (3.5.0) | plg_system_p3p (3.0.0) | plg_system_log (3.0.0) | plg_system_cache (3.0.0) | plg_system_remember (3.0.0) | plg_system_redirect (3.0.0) | plg_system_debug (3.0.0) | plg_system_logout (3.0.0) | plg_system_languagefilter (3.0.0) | plg_authentication_cookie (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_ldap (3.0.0) |
Templates Discovered :: wrote:Templates :: SITE :: protostar (1.0) | RFID 2013 (1.0.1) | beez3 (3.1.0) |
Templates :: ADMIN :: isis (1.0) | hathor (3.0.0) |

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Thu Feb 09, 2017 2:24 pm

If the above isn't enough information let me know. Thanks.

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

Re: Duplicate template not writable

Postby Webdongle » Thu Feb 09, 2017 3:44 pm

Session Path Writable: No ... should be Yes. Speak to your Host about it.

You need to update Joomla. Also check that your 3rd party extensions are up to date (not all 3rd party extensions notify of updates).

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Thu Feb 09, 2017 9:06 pm

OK.

I have been trying to update and have had problems. That is why I am trying to rectify some of these odd happenings and get rid of unused files before I try again.

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

Re: Duplicate template not writable

Postby Webdongle » Thu Feb 09, 2017 10:53 pm

nagaho1 wrote:OK.

I have been trying to update and have had problems. ...
Your OP said that you had problems updating in the past and that was why you were trying to sort out problems before updating this time. Are you now saying that you are having problems updating this time ?

Get your Host to fix Session Path Writable: No

Also you can make a copy of the site on localhost and try the update there.

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Fri Feb 10, 2017 3:35 am

I did have a problem this time also, although I didn't get error messages this time. It might have been an interruption in the upgrade but it was taking an awfully long time which didn't seem right either. Then I couldn't get into Joomla at all so we went to our backup.

I am having the host fix the issue you mentioned before I try again. Thanks.

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

Re: Duplicate template not writable

Postby Webdongle » Fri Feb 10, 2017 10:20 am

When you restored your backup did you delete all the files or just overwrite them ? If the later then there may be a mismatch of files on the server. There is also the possibility of being hacked.

A method to update you can use is
  1. Delete the folders/files
  2. Install Joomla (of the same version as your backup) to a new database
  3. Edit the configuration.php to connect to your original database and update
    That uses fresh/uncorrupted Joomla files to update your database ;)
  4. Delete the folders/files again
  5. Install the latest Joomla to another new database
  6. Download and install your 3rd party extensions.
    That gives you the the latest fresh/uncorrupted 3rd party extensions (without overwriting their database tables) :D
    All you need to do then is edit the configuration.php to connect to your original (updated) database :pop
A bit cumbersome yes but it works and has the added advantage of removing hack files if you have been hacked :D
Try it on localhost first if you wish.

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

Re: Duplicate template not writable

Postby Per Yngve Berg » Fri Feb 10, 2017 1:34 pm

Max. Upload Size: 2M | Max. POST Size: 8M

You have to increase to at least 16M in order to be able to update.

nagaho1
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Dec 01, 2015 8:03 pm

Re: Duplicate template not writable

Postby nagaho1 » Mon Mar 20, 2017 3:49 pm

The web host fixed the directory issue, then I was able to update with no problem.


Return to “Templates for Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 8 guests