Can I uninstall a template manually? Topic is solved

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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Can I uninstall a template manually?

Post by Pallieguy » Mon Sep 20, 2021 5:25 pm

Hello,

Background:
I inherited a site that runs Joomla and we need to move to a new hosting service. Before the move I tried creating a local copy of the website so I could see what broke and be ready for it. After copying my files using filezilla and importing the DB I updated my configuration.php file to point at localhost I tried going to the site and I got an index of the site. Following the directories to where the root of the joomla installation was I got a useless error message about an unexpected endif, but nothing telling me the trace information so I don't know which file is throwing the error. From a different error I had run into I know that there is a template that is being used that is incompatible with the Joomla 3.9.26, however I can't log in to the admin area of Joomla as it's giving me a 404 error. I have full access to the DB and website files as they are all locally installed.

TLDR:
Can I remove a template from a Joomla site without logging into the admin page? If so, how?

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

Re: Can I uninstall a template manually?

Post by Webdongle » Mon Sep 20, 2021 5:48 pm

If you can't log in to Admin you have a bigger problem than the Template.

It appears you didn't copy the files correctly or you have .htaccess.
Rename .htaccess and try admin again. If you still have access to the other site https://docs.joomla.org/Copying_a_Jooml ... _method.29
Wamp is best localhost for PC (Mamp for a mac)
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".

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Mon Sep 20, 2021 6:03 pm

The admin login not showing is an issue I'm still working on, but to fix the unexpected endif issue I need to ditch the template so I can see the full trace of the error instead of just the punchline.

I copied every file from the host ftp, none of them failed in transfer. I've even run it again with an overwrite of any that are of a different size, again no failed transfers. What I have locally is exactly what is on the live site.
I've cleaned out my .htaccess file already (forgot to mention that one, sorry), still no go.
The local machine is running Ubuntu 20.04

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

Re: Can I uninstall a template manually?

Post by Webdongle » Mon Sep 20, 2021 9:43 pm

Pallieguy wrote:
Mon Sep 20, 2021 6:03 pm
...
The local machine is running Ubuntu 20.04
Could be an Ownership issue https://docs.joomla.org/Installing_Joom ... bian_Linux
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".

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Mon Sep 20, 2021 10:56 pm

Once it's downloaded I changed ownership and permissions to those I've configured in apache. I've made local copies of sites before, so I know this process when not using Joomla.

If I can get around the template issue I can follow the error message to debug. Is that not possible without getting to the joomla back-end?

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Mon Sep 20, 2021 11:44 pm

The short answer to your question, "Can I uninstall a template manually?" is yes. It requires a bit of a fiddle with a couple of database tables.

The first place to look is the table _templates_styles: (see the screenshot below from phpMyAdmin)
j3xTemplateStyles.png
You should also see the other frontend template that is assigned as the default/home (it has a "1" in the home column): change the 1 to a 0, then find the record for protostar and change the 0 to a 1. Then try to login to your backend. Don't delete any records from this table.

If you can then login to the backend you can then uninstall the template that's causing the error and we can take things from there, one step at a time.
You do not have the required permissions to view the files attached to this post.
Last edited by sozzled on Mon Sep 20, 2021 11:46 pm, edited 1 time in total.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

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

Re: Can I uninstall a template manually?

Post by Webdongle » Mon Sep 20, 2021 11:46 pm

Is it Owned by SU? It's been a long time since I used Ubuntu but I remember the files could not be edited with Nautilus unless it was called on the command line with Sudo not opened by Admin. Have you read https://docs.joomla.org/Installing_Joom ... bian_Linux ?

Also .htaccess might be causing problems. Make sure it does not exist. In addition make sure the Livesite var in configuration.php is not given a value.

Using Akeeba to transfer the site is the best way to rule out human error.
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".

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 5:30 pm

Thanks Sozzled, changing the home value made it so that I could see the page title, though there was zero content, still it's more than the useless error message I was getting. I tried getting to the Joomla backend and, after setting up a self-signed certificate, I can see the login screen, but is has an error message that "the template for this display is not available" and none of the logins work.

The template they were using appears to be entirely custom made by the old programmer so I'm going to go digging into that now. Thanks for your help, I'm sure I'll be back with more questions.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 5:53 pm

Pallieguy wrote:
Tue Sep 21, 2021 5:30 pm
I can see the login screen, but ... none of the logins work.
Two questions:

1) What happens—what messages, if any, appear on the screen—when you enter the username/password on the login form for the backend?

2) Would it be possible to see the Forum Post Assistant report for this website, please?

Image
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 7:05 pm

I managed to find the offending endif and so the custom template is back in use and that error message has gone away. Beyond that there is no message, the backend login page just reloads. This behaviour is the same regardless of the template I have set to home 1 in _template_styles.

There's a redirect somewhere that I know I'm missing at the moment as the root directory for Joomla is not the root directory of the site. My local copy of the site is in /var/www/html/<URL> and Joomla is installed in /var/www/html/<URL>/web/content/
If I use a browser and go to localhost/<URL> I get the directory index, but if I go to localhost/<URL>/web/content I get the site as it appears live, however all of the links return 404 errors. This makes sense, as they're trying to go to localhost/<URL>/web/content/<LINK URL> but that should be localhost/<URL>/<LINK URL> to match the live site. Looking through code I can see there's a regular reference to $this->baseurl so I'm looking to find where that is set as I think I need to update it.

I ran the FPA from /var/www/<URL>/web/content and got the following (with minor edits):
Forum Post Assistant (v1.6.2) : 21-Sep-2021 wrote:
Last PHP Error(s) Reported :: wrote:[21-Sep-2021 12:37:52 America/Denver] PHP Notice: Undefined variable: i in /var/www/html/<URL>/web/content/templates/<site>/html/mod_articles_categories/<site>small_items.php on line 53
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.26-Stable (Amani) 13-April-2021
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (755) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 120 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.26: Yes | Database Supports J! 3.9.26: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 5.4.0-84-generic | Technology: x86_64 | Web Server: Apache/2.4.41 (Ubuntu) | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 553.56 GiB |

PHP Configuration :: Version: 7.4.3 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: /var/www/html/php_errors.log | Last Known Error: 21st September 2021 12:37:52. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.3.31-MariaDB-0ubuntu0.20.04.1 (Client:mysqlnd 7.4.3) | Database Size: 839.21 MiB | #of Tables with config prefix: 152 | #of other Tables: 162 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.3) | date (7.4.3) | libxml (7.4.3) | openssl (7.4.3) | pcre (7.4.3) | zlib (7.4.3) | filter (7.4.3) | hash (7.4.3) | Reflection (7.4.3) | SPL (7.4.3) | session (7.4.3) | standard (7.4.3) | sodium (7.4.3) | apache2handler (7.4.3) | mysqlnd (mysqlnd 7.4.3) | PDO (7.4.3) | xml (7.4.3) | calendar (7.4.3) | ctype (7.4.3) | curl (7.4.3) | dom (20031129) | mbstring (7.4.3) | FFI (7.4.3) | fileinfo (7.4.3) | ftp (7.4.3) | gd (7.4.3) | gettext (7.4.3) | iconv (7.4.3) | imagick (3.4.4) | imap (7.4.3) | intl (7.4.3) | json (7.4.3) | ldap (7.4.3) | exif (7.4.3) | mysqli (7.4.3) | pdo_mysql (7.4.3) | pdo_pgsql (7.4.3) | pdo_sqlite (7.4.3) | pgsql (7.4.3) | Phar (7.4.3) | posix (7.4.3) | readline (7.4.3) | shmop (7.4.3) | SimpleXML (7.4.3) | sockets (7.4.3) | sqlite3 (7.4.3) | ssh2 (1.2) | sysvmsg (7.4.3) | sysvsem (7.4.3) | sysvshm (7.4.3) | tokenizer (7.4.3) | xmlreader (7.4.3) | xmlwriter (7.4.3) | xsl (7.4.3) | zip (1.15.6) | Zend OPcache (7.4.3) | Zend Engine (3.4.0) |
Potential Missing Extensions ::
Disabled Functions :: pcntl_alarm | pcntl_fork | pcntl_waitpid | pcntl_wait | pcntl_wifexited | pcntl_wifstopped | pcntl_wifsignaled | pcntl_wifcontinued | pcntl_wexitstatus | pcntl_wtermsig | pcntl_wstopsig | pcntl_signal | pcntl_signal_get_handler | pcntl_signal_dispatch | pcntl_get_last_error | pcntl_strerror | pcntl_sigprocmask | pcntl_sigwaitinfo | pcntl_sigtimedwait | pcntl_exec | pcntl_getpriority | pcntl_setpriority | pcntl_async_signals | pcntl_unshare | |

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: Maybe

Apache Modules :: core | mod_so | mod_watchdog | http_core | mod_log_config | mod_logio | mod_version | mod_unixd | mod_access_compat | mod_alias | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_host | mod_authz_user | mod_autoindex | mod_deflate | mod_dir | mod_env | mod_filter | mod_mime | prefork | mod_negotiation | mod_perl | mod_php7 | mod_reqtimeout | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | Apache/2.4.41 (Ubuntu) |
Potential Missing Modules :: mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |
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) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 509666 | Threads: 8 | Questions: 18499 | Slow queries: 1 | Opens: 1890 | Flush tables: 1 | Open tables: 433 | Queries per second avg: 0.036 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_finder (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_admin (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_fields (3.7.0) 1 | com_search (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_modules (3.0.0) 1 | com_weblinks (3.7.0) 1 | com_associations (3.7.0) 1 | com_tags (3.1.0) 1 | com_ajax (3.2.0) 1 | com_media (3.0.0) 1 | com_banners (3.0.0) 1 | com_content (3.0.0) 1 | com_checkin (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_plugins (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_config (3.0.0) 1 | com_redirect (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_privacy (3.9.0) 1 | com_installer (3.0.0) 1 | com_templates (3.0.0) 1 | com_messages (3.0.0) 1 | com_login (3.0.0) 1 | com_languages (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_menus (3.0.0) 1 | com_users (3.0.0) 1 |
3rd Party:: com_xmap (2.3.4) 1 | COM_FPSS (3.12.0) 1 | com_docman (3.5.9) 1 | comprofiler (2.6.0) 1 | com_docman_import (2.1.2) 1 | com_maximenuck (9.0.14) 1 | Maximenu CK (9.0.13) 1 |

Modules :: Site ::
Core :: mod_breadcrumbs (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_weblinks (3.7.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_login (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_search (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_languages (3.5.0) 1 | mod_menu (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_users_latest (3.0.0) 1 |
3rd Party:: mod_docman_documents (3.5.9) 1 | Community Builder Online module (2.6.0) 1 | Maximenu CK (8.0.13) 1 | Maximenu CK (9.0.13) 1 | VS Image Rotator (1.1.3) 1 | mod_docman_categories (3.5.9) 1 | Frontpage Slideshow (by JoomlaWorks (3.12.0) ? | Community Builder Login module (2.6.0) 1 | Simple Spotlight (3.1) 1 | Community Builder Workflows module (2.6.0) 1 | Social Media Icon Links (1.6.0) 1 |

Modules :: Admin ::
Core :: mod_multilangstatus (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_toolbar (3.0.0) 1 | mod_status (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_login (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_version (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_sampledata (3.8.0) 1 | mod_title (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_logged (3.0.0) 1 |
3rd Party:: Community Builder Admin module (2.6.0) 1 | Frontpage Slideshow Statistics (adm (3.12.0) ? |

Libraries ::
Core ::
3rd Party:: ExtJS (3.4) 1 | Community Builder Library (2.6.0) 1 |

Plugins ::
Core :: plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_weblinks (3.7.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_weblinks (3.7.0) 0 | plg_system_log (3.0.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_sef (3.0.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_logout (3.0.0) 1 | plg_system_updatenotification (3.5.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_weblink (3.7.0) 0 | plg_editors-xtd_image (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_weblinks (3.7.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_content (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_fields_textarea (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_finder (3.0.0) 0 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_<site>loadmodule (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_geshi (2.5.0) 0 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 |
3rd Party:: plg_search_docman (3.5.9) 1 | PLG_SYSTEM_JQUERYEASY (1.5.6) 1 | plg_system_docman_redirect (2.1.2) 1 | Readmore.js System Plugin (1.0.3) 1 | plg_sys_topofthepage (2.0) 1 | plg_system_joomlatoolsscheduler (1.0.0) 1 | Community Builder System plugin (2.6.0) 1 | plg_system_joomlatoolsupdater (1.1.0) 1 | PLG_SYSTEM_SSLREDIRECT (0.11.0) 1 | System - Maximenu CK Mobile (1.2.2) 0 | plg_system_joomlatools (3.4.12) 1 | Button - Readmore.js (1.0) 1 | plg_editors-xtd_doclink (3.5.9) 1 | plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 | Editor - RedactorJS (1.1) 1 | plg_finder_docman (3.5.9) 1 | User - MediaWiki Login (2.7) 0 | Xmap - SobiPro Plugin (2.0.2) 0 | Xmap - Virtuemart Plugin (2.0.3) 0 | XMAP_PLUGIN_K2 (1.3) 0 | Xmap - WebLinks Plugin (2.0.1) 0 | Xmap - Mosets Tree Plugin (2.0.2) 0 | Xmap - Content Plugin (2.0.4) 0 | Xmap - Kunena Plugin (3.0.0) 0 | AllVideos (by JoomlaWorks) (6.1.0) 1 | AllVideos (by JoomlaWorks) (6.1.0) 1 | Content - Content Restriction (1.1.0 Prealph) 1 | plg_content_doclink (3.5.9) 1 |
Templates Discovered :: wrote:
Templates :: Admin :: hathor (3.0.0) 1 | bluestork (2.5.0) 1 | isis (1.0) 1 |

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 7:17 pm

I'm surprised that you were able to use the Joomla! Update component to maintain this website with the PHP environment settings Max. Upload Size = 2M and Max. POST Size = 8M as low as those! :o

How have you been updating J! software on your website all of this time? ???

Why do you still have J! 2.5 extensions installed on your website? Xmap "died" years ago and bluestork is inappropriate. ???

You're also using PHP 7.4.3 and there's a fair bet that some of your third-party extensions are incompatible with it (which may explain the error message, although that's just a guess). ;)

The question from me to you is: by what method did you update your original J! 2.5 website to J! 3.something and then update from J! 3.something over time to J! 3.9.26 (which is already outdated)? Did you, perhaps, simply overwrite your filesystem using the files extracted from the J! 3.9.26 installation package? :-\

Getting back to the frontend template, the FPA report does not find any frontend templates installed. Which may indicate that you uninstalled the protostar and beez3 templates somehow. Did you do that? ???
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 7:57 pm

As I said in my original post, this is a copy of the site on my local machine and I inherited its current setup. I don't need the local php environment to be configured to be able to update the site it's not actually hosting.

The old extensions were setup by the previous programmer(s) who I inherited the site from. When old extensions/plugins/templates were no longer supported they were deactivated, but not uninstalled. Part of the move to the new hosting service is cleaning up the mess the site has become over the years. I want to do this locally so I know what I'm in for and so I don't have to pay for new server space until I know what I'm doing. There was no documentation about the site so I'm going in blind.

I've used Joomla's content manager to install and update the extensions and modules we use. I check the compatibility of things before I update. I don't know how they updated from J2.5 to J!3.x, but suspect they used the tools provided at the time.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 8:22 pm

Thanks for your reply. It's a good idea, when using a PC-hosted webserver, to mirror (as close as possible) the PHP, MySQL and Apache parts with the real site hosted on the 'net. The FPA report just says that you don't have any frontend templates installed: this indicates an issue within the database. As I wrote earlier, it's possible (if you know what you're doing) to uninstall extensions—templates are one type of extension—but if you don't have access to the backend then it's much more difficult to manage what you've got. We'd need to understand the condition of the database, analyse it (repair/patch it "manually") and also look at whether there were files needed to "drive" the extensions that you want to use.

Perhaps someone else may have some more "step-by-step" instructions you could use?

I don't know anything about using J!'s "content manager" to install/update extensions, sorry. That's the first I've heard of using a mechanism like that for that purpose. Extensions are installed/updated/managed with the Extension manager; J! is updated with the Joomla! Update component.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 8:54 pm

I would love a set of instructions for how they got this working. Sadly, there is no documentation for the site. I've been google/forum diving and figuring it out one error at a time though.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 8:57 pm

Well ... here's another question for you:

On the live site—the one hosted on the internet not in your PC webhost/environment—does everything work there? That is, can you login to the backend on the website on the internet before you cloned it and set things up for it to operate on your PC?
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

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

Re: Can I uninstall a template manually?

Post by Webdongle » Tue Sep 21, 2021 9:01 pm

Suggest
Rename the .htaccess
In Global config change rewrite to no
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".

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 9:18 pm

@Sozzled: Yes, it's still live and working.

@Webdongle: I just changed the RewriteBase in the Joomla directory's .htaccess from / to /web/content and can now navigate the page the same as if it was live, though logging in to the site or the Joomla backend still isn't working, the login pages jsut reload without logging in. If I remove the .htaccess file it goes back to the 404 error with every link.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 9:36 pm

@Pallieguy: OK, so the old website works and you can login to it (front and backend) and the cloned/copy of it doesn't. What does that tell you? ???
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Tue Sep 21, 2021 9:51 pm

To be honest, it tells me that it's something of a miracle that the live site is still live.
Seriously though, it tells me that the issue lies with the login controller. With the RewriteBase change I now have access to the public parts of the site and the joomla log files are being updated properly, so I should be able to keep debugging.
I jsut needed to get past that template issue.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10947
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Can I uninstall a template manually?

Post by sozzled » Tue Sep 21, 2021 10:03 pm

What this tells me is that your cloned website is not a genuine replica of the original website. That's what it tells me. Sorry for my bluntness.

A J! website is not just the tens of thousands of files in the file system and the database that it references. Its the hosting environment as well: i.e. Apache, MySQL and PHP. In simulating the hosting environment on a PC platform, it's hard to get all of these things identical (but you can get pretty close). So, what is the environment used with the original website?

The FPA report for the original website would tell us that. ;)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

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

Re: Can I uninstall a template manually?

Post by Webdongle » Wed Sep 22, 2021 1:53 pm

Copy it with Akeeba
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".

Pallieguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 16, 2021 5:41 pm

Re: Can I uninstall a template manually?

Post by Pallieguy » Wed Sep 22, 2021 4:30 pm

This isn't a cloned website it's a copied website and I know it's not an identical environment, it's not supposed to be. Moving from the current host to the new host will have settings that are different and I need to be able to fix issues that arise from those difference. It's more practical and less expensive to do this locally than to try it on the new host server first. This is especially true given there is no documentation so I have to learn how things were configured over the years, including any patches and/or Band-aid fixes.

The debugging I'm doing now is far more useful than an error free cloning of the site from server A to server B. I just needed to get past that template problem.

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

Re: Can I uninstall a template manually?

Post by Webdongle » Wed Sep 22, 2021 5:15 pm

Pallieguy wrote:
Wed Sep 22, 2021 4:30 pm
This isn't a cloned website it's a copied website ...
Same difference. Use Akeeba to copy the site to localhost. It will cut down on human error and the installer (packed in the backup) is verbose and often show problems.
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".


Post Reply

Return to “Templates for Joomla! 3.x”