Hi
I have a local J4 site on my PC which is working fine, and on it I have a component called com_blphotos. There is also a site on the net called J4 with the same config.
They are both running J4.4.4
I just installed the latest version of the component on my PC (which of course does not have cPanel) and everything works well
So I installed it on the net site and now most admin pages give the error mentioned above. In fact the only admin item that doesn't is the config for my component.
I have looked in the code and the error comes from libraries/src/MVC/View/HtmlView.php.
I put the following line
print_r($this->_path['template']);exit;
after line 393
$this->_template = Path::find($this->_path['template'], $filetofind);
and this gives me
Array ( [0] => /home/birdli7/j4/administrator/templates/atum/html/com_cpanel/cpanel/ [1] => /home/birdli7/j4/administrator/components/com_blphotos/views/cpanel/ )
So it looks as it is trying to load a cPanel specific view from my component - which does not exist and has never done so.
Naturally with no admin access I can't really do much diagnosis, so any thoughts welcomed
Error 500 Layout default not found from custom component Topic is solved
Moderators: ooffick, 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.
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.
-
- Joomla! Apprentice
- Posts: 49
- Joined: Tue Sep 29, 2009 10:34 pm
Error 500 Layout default not found from custom component
Last edited by toivo on Tue Apr 30, 2024 11:04 pm, edited 1 time in total.
Reason: mod note: moved from 4.x Administration, retitled
Reason: mod note: moved from 4.x Administration, retitled
- AMurray
- Joomla! Exemplar
- Posts: 9864
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Error 500 Layout default not found
Can you run the FPA and post the report, please? See top of screen, red box Forum Post Assistant.
Where did BL Photos extension come from (I can't find it on the Extensions Directory)?
What server software is your local PC running e.g., XAMPP, WAMPServer or Windows (IIS)?
I don't understand your coding change, but I would avoid any amendments to the core.
How did you move the site from local (PC) to server (web host)? By Akeeba Backup, and Kickstart, or manually uploading (FTP) files, and exporting/importing the database?
Where did BL Photos extension come from (I can't find it on the Extensions Directory)?
What server software is your local PC running e.g., XAMPP, WAMPServer or Windows (IIS)?
I don't understand your coding change, but I would avoid any amendments to the core.
How did you move the site from local (PC) to server (web host)? By Akeeba Backup, and Kickstart, or manually uploading (FTP) files, and exporting/importing the database?
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Apprentice
- Posts: 49
- Joined: Tue Sep 29, 2009 10:34 pm
Re: Error 500 Layout default not found
Forum Post Assistant (v1.6.6) : 1-May-2024 wrote:Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.4-Stable (Pamoja) 16-April-2024
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: true | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 120 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.4: Yes | Database Supports J! 4.4.4: Yes | Database Credentials Present: Yes |
Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.73.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 472.72 GiB |
PHP Configuration :: Version: 8.2.18 | PHP API: cgi-fcgi | Session Path Writable: No | Display Errors: 0 | Error Reporting: 22517 | Log Errors To: /dev/null | Last Known Error: 16th November 2022 00:58:08. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 512M | Max. POST Size: 512M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 768M
Database Configuration :: Version: 10.6.17-MariaDB-log (Client:mysqlnd 8.2.18) | Database Size: 188.63 MiB | #of Tables with config prefix: 210 | #of other Tables: 4 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : REFERENCESUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLESUser Privileges : EXECUTEUser Privileges : CREATE VIEWUser Privileges : SHOW VIEWUser Privileges : CREATE ROUTINEUser Privileges : ALTER ROUTINEUser Privileges : EVENTUser Privileges : TRIGGERDetailed Environment :: wrote:PHP Extensions :: Core (8.2.18) | date (8.2.18) | libxml (8.2.18) | openssl (8.2.18) | pcre (8.2.18) | zlib (8.2.18) | filter (8.2.18) | hash (8.2.18) | json (8.2.18) | pcntl (8.2.18) | random (8.2.18) | readline (8.2.18) | Reflection (8.2.18) | SPL (8.2.18) | session (8.2.18) | standard (8.2.18) | cgi-fcgi (8.2.18) | bcmath (8.2.18) | bz2 (8.2.18) | calendar (8.2.18) | ctype (8.2.18) | curl (8.2.18) | dba (8.2.18) | dom (20031129) | enchant (8.2.18) | mbstring (8.2.18) | fileinfo (8.2.18) | ftp (8.2.18) | gd (8.2.18) | gettext (8.2.18) | gmp (8.2.18) | iconv (8.2.18) | imap (8.2.18) | intl (8.2.18) | ldap (8.2.18) | exif (8.2.18) | mysqlnd (mysqlnd 8.2.18) | odbc (8.2.18) | PDO (8.2.18) | pgsql (8.2.18) | Phar (8.2.18) | posix (8.2.18) | pspell (8.2.18) | shmop (8.2.18) | SimpleXML (8.2.18) | snmp (8.2.18) | soap (8.2.18) | sockets (8.2.18) | sqlite3 (8.2.18) | sysvmsg (8.2.18) | sysvsem (8.2.18) | sysvshm (8.2.18) | tidy (8.2.18) | tokenizer (8.2.18) | xml (8.2.18) | xmlwriter (8.2.18) | xsl (8.2.18) | zip (1.21.1) | mysqli (8.2.18) | pdo_mysql (8.2.18) | PDO_ODBC (8.2.18) | pdo_pgsql (8.2.18) | pdo_sqlite (8.2.18) | xmlreader (8.2.18) | monarxprotect (5.0.164) | imagick (3.7.0) | sodium (2.0.23) | ionCube Loader (13.0.2) | Zend OPcache (8.2.18) | Zend Engine (4.2.18) |
Potential Missing Extensions ::
Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: NoFolder Permissions :: wrote:Core Folders :: images/ (777) | 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) | api/ (755) |
Elevated Permissions (First 10) :: images/ (777) |Database Information :: wrote:Database statistics :: Uptime: 484854 | Threads: 140 | Questions: 613916545 | Slow queries: 5929 | Opens: 6883524 | Open tables: 4096 | Queries per second avg: 1266.188 |Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party:: WF_WORDCOUNT_TITLE (2.9.62) ? | WF_LINK_TITLE (2.9.62) ? | WF_KITCHENSINK_TITLE (2.9.62) ? | WF_FONTCOLOR_TITLE (2.9.62) ? | WF_SEARCHREPLACE_TITLE (2.9.62) ? | WF_MEDIA_TITLE (2.9.62) ? | WF_TABLE_TITLE (2.9.62) ? | WF_FONTSIZESELECT_TITLE (2.9.62) ? | WF_IMGMANAGER_TITLE (2.9.62) ? | WF_CAPTION_TITLE (2.9.41) ? | WF_HR_TITLE (2.9.62) ? | WF_FULLSCREEN_TITLE (2.9.62) ? | WF_TEMPLATEMANAGER_TITLE (2.9.62) ? | WF_FORMATSELECT_TITLE (2.9.62) ? | WF_MEDIAMANAGER_TITLE (2.9.62) ? | WF_CHARMAP_TITLE (2.9.62) ? | WF_NONBREAKING_TITLE (2.9.62) ? | WF_DIRECTIONALITY_TITLE (2.9.62) ? | WF_SOURCE_TITLE (2.9.62) ? | WF_CONTEXTMENU_TITLE (2.9.62) ? | WF_ARTICLE_TITLE (2.9.62) ? | WF_PRINT_TITLE (2.9.62) ? | WF_LISTS_TITLE (2.9.62) ? | JCE - Columns (1.0.0) ? | WF_BROWSER_TITLE (2.9.62) ? | WF_MICRODATA_TITLE (2.9.62) ? | WF_STYLE_TITLE (2.9.62) ? | WF_AUTOSAVE_TITLE (2.9.62) ? | WF_REFERENCE_TITLE (2.9.62) ? | WF_TEXTPATTERN_TITLE (2.9.62) ? | WF_IFRAME_TITLE (2.9.62) ? | WF_FONTSELECT_TITLE (2.9.62) ? | WF_STYLESELECT_TITLE (2.9.62) ? | WF_TEXTCASE_TITLE (2.9.62) ? | WF_IMGMANAGER_EXT_TITLE (2.9.62) ? | WF_EMOTIONS_TITLE (2.9.62) ? | WF_LANGCODE_TITLE (2.9.62) ? | WF_CLEANUP_TITLE (2.9.62) ? | WF_ANCHOR_TITLE (2.9.62) ? | WF_CLIPBOARD_TITLE (2.9.62) ? | WF_VISUALBLOCKS_TITLE (2.9.62) ? | WF_SPELLCHECKER_TITLE (2.9.62) ? | WF_ATTRIBUTES_TITLE (2.9.62) ? | WF_FILEMANAGER_TITLE (2.9.62) ? | WF_VISUALCHARS_TITLE (2.9.62) ? | WF_PREVIEW_TITLE (2.9.62) ? | WF_HELP_TITLE (2.9.62) ? | JCE - Noneditable (1.0.0) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.62) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.62) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.62) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.62) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.62) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.62) ? | WF_AGGREGATOR_AUDIO_TITLE (2.9.62) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.62) ? | WF_LINK_SEARCH_TITLE (2.9.62) ? |
Components :: Admin ::
Core :: com_postinstall (4.0.0) 1 | com_installer (4.0.0) 1 | com_messages (4.0.0) 1 | com_categories (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_content (4.0.0) 1 | com_menus (4.0.0) 1 | com_modules (4.0.0) 1 | com_workflow (4.0.0) 1 | com_finder (4.0.0) 1 | com_media (3.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_actionlogs (3.9.0) 1 | com_templates (4.0.0) 1 | com_plugins (4.0.0) 1 | com_privacy (3.9.0) 1 | com_cache (4.0.0) 1 | com_weblinks (4.3.1) 1 | com_mails (4.0.0) 1 | com_fields (4.0.0) 1 | com_checkin (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_languages (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_cpanel (4.0.0) 1 | com_banners (4.0.0) 1 | com_redirect (4.0.0) 1 | com_associations (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_tags (4.0.0) 1 | com_users (4.0.0) 1 | com_admin (4.0.0) 1 | com_config (4.0.0) 1 | com_ajax (4.0.0) 1 | com_login (4.0.0) 1 |
3rd Party:: COM_JCE (2.9.62) 1 | tc_blp (1.0) 1 | com_templateck (5.3.7) 1 | com_admintools (7.4.1) 1 | BL Photos (0.0.11) 1 | com_akeebabackup (9.9.2) 1 | com_kunena (6.3.0) 1 |
Modules :: Site ::
Core :: mod_banners (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_weblinks (4.3.1) 1 | mod_syndicate (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_users_latest (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_news (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_login (3.0.0) 1 | mod_custom (3.0.0) 1 |
3rd Party:: JT Scroll to Top (1.2) 1 | Marquee Image Crawler (4.0) 1 |
Modules :: Admin ::
Core :: mod_privacy_dashboard (3.9.0) 1 | mod_stats_admin (3.0.0) 1 | mod_version (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_messages (4.0.0) 1 | mod_latest (3.0.0) 1 | mod_user (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_feed (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_login (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_quickicon (3.0.0) 1 |
3rd Party::
Libraries ::
Core ::
3rd Party:: Kunena Framework (6.3.0) 1 | Regular Labs Library (23.12.537) 1 |
Plugins ::
Core :: plg_task_check_files (4.1) 1 | plg_task_blp_tidy_logs (4.1) 1 | plg_task_blp_report (4.1) 1 | plg_task_blp_force_checkin (4.1) 1 | plg_task_blp_generate_sitemap (4.1) 1 | plg_task_blp_bin_poor_quality (4.1) 1 | plg_task_blp_menu_check (4.1) 1 | plg_task_blp_check_ua_ip (4.1) 1 | plg_task_blp_rescan_ip (4.1) 1 | plg_task_blp_filecheck (4.1) 1 | plg_task_blp_archive_images (4.1) 1 | plg_task_site_status (4.1) 1 | plg_task_blp_image_check (4.1) 1 | plg_task_blp_random_images (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_task_blp_document_check (4.1) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_remember (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_logout (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_schedulerunner (4.1) 1 | plg_system_actionlogs (3.9.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_webauthn (4.0.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_httpheaders (4.0.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_weblinks (4.3.1) 0 | plg_system_debug (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_multifactorauth_email (4.2.0) 1 | plg_multifactorauth_webauthn (4.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_filesystem_local (4.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_weblinks (4.3.1) 0 | plg_finder_content (3.0.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_authentication_joomla (3.0.0) 0 | plg_authentication_ldap (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_token (3.9.0) 1 | plg_user_profile (3.0.0) 0 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 0 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_weblink (4.3.1) 0 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_api-authentication_basic (4.0.0) 1 | plg_api-authentication_token (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_search_weblinks (4.3.1) 0 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 0 | plg_content_pagebreak (3.0.0) 1 |
3rd Party:: PLG_TASK_ADMINTOOLS (7.4.1) 1 | PLG_TASK_AKEEBABACKUP (9.9.2) 1 | PLG_ACTIONLOG_ADMINTOOLS (7.4.1) 0 | PLG_ACTIONLOG_AKEEBABACKUP (9.9.2) 0 | PLG_SYSTEM_SOURCERER (10.0.2) 1 | PLG_SYSTEM_EMAILPROTECTOR (6.0.1) 1 | plg_system_kunena (6.3.0) 1 | PLG_SYSTEM_BACKUPONUPDATE (9.9.2) 1 | System - BLP Firewall (-) 1 | PLG_SYSTEM_ADMINTOOLS (7.4.1) 0 | PLG_SYSTEM_LOGINMODAL (1.0.1) 1 | plg_system_jce (2.9.62) 1 | itcs_scroll2top (4.0.0) 1 | System - BLP Content Process (-) 1 | System - BLP Handle Logins (-) 1 | Scroll To CK (1.4.0) 0 | PLG_SYSTEM_REGULARLABS (23.12.537) 1 | PLG_PRIVACY_KUNENA (6.3.0) 1 | plg_kunena_community (6.3.0) 0 | plg_kunena_kunena (6.3.0) 1 | plg_kunena_finder (6.3.0) 0 | plg_kunena_joomla (6.3.0) 1 | plg_kunena_comprofiler (6.3.0) 0 | plg_kunena_gravatar (6.3.0) 0 | plg_kunena_uddeim (6.3.0) 0 | plg_kunena_easysocial (6.3.0) 0 | plg_finder_kunena (6.3.0) 0 | plg_fields_mediajce (2.9.62) 1 | PLG_CONSOLE_ADMINTOOLS (7.4.1) 1 | PLG_CONSOLE_AKEEBABACKUP (9.9.2) 1 | plg_editors_codemirror (5.65.15) 1 | plg_editors_jce (2.9.62) 1 | plg_editors_tinymce (5.10.9) 1 | Authentication - for Birdlifephotog (1.0.0) ? | Postlogin package for Birdlifephoto (1.0.0) ? | plg_quickicon_kunena (6.3.0) 1 | plg_quickicon_jce (2.9.62) 1 | PLG_QUICKICON_AKEEBABACKUP (9.9.2) 1 | plg_sampledata_kunena (6.3.0) 0 | PLG_EDITORS-XTD_SOURCERER (10.0.2) 1 | plg_extension_jce (2.9.62) 1 | PLG_WEBSERVICES_AKEEBABACKUP (9.9.2) 1 | Search - BLP Uploaded Docs (-) 0 | Search - BLP Images (-) 0 | plg_installer_jce (2.9.62) 1 | plg_content_jce (2.9.62) 1 | AllVideos (by JoomlaWorks) (6.1.0) 1 | AllVideos (by JoomlaWorks) (6.1.0) 1 |Templates Discovered :: wrote:Templates :: Site :: tc_blp (20240408_1420) 1 | () ? | cassiopeia (1.0) 1 | blpj4_favorite (1.0.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Tue Apr 30, 2024 11:00 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability
Reason: mod note: disabled smilies in post Options for readability
-
- Joomla! Apprentice
- Posts: 49
- Joined: Tue Sep 29, 2009 10:34 pm
Re: Error 500 Layout default not found
Thanks - FPA info posted
The com_blphotos component was developed "in house" to support the requirements of our site and the J3 version has run for a number of years. The J4 version has been tested a fair bit but this is a fairly recent development and I can't track it down to any code changes.
Locally we develop on XAMPP, and generate an install ZIP file
We certainly do not normally patch core files - this was an attempt to get some diagnostics - Error 500 is not very helpful normally
The com_blphotos component was developed "in house" to support the requirements of our site and the J3 version has run for a number of years. The J4 version has been tested a fair bit but this is a fairly recent development and I can't track it down to any code changes.
Locally we develop on XAMPP, and generate an install ZIP file
We certainly do not normally patch core files - this was an attempt to get some diagnostics - Error 500 is not very helpful normally
- ceford
- Joomla! Hero
- Posts: 2762
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: Error 500 Layout default not found from custom component
In your test, the second item in the array should be (for the Home Dashboard):
"/home/birdli7/j4/administrator/components/com_cpanel/tmpl/cpanel/"
so you need to find out why it is /home/birdli7/j4/administrator/components/com_blphotos/views/cpanel/
You could step through all of the loadTemplate function in your local site with a debugger.
In your live site you can use file_put_contents(JPATH_ADMINISTRATOR . '/logs/test.php, $testvariable . "\n", FILE_APPEND); to write tests to a log file. Reload a page and see what you have. Also cPanel is nothing to do with the hosting service utility of that name.
"/home/birdli7/j4/administrator/components/com_cpanel/tmpl/cpanel/"
so you need to find out why it is /home/birdli7/j4/administrator/components/com_blphotos/views/cpanel/
You could step through all of the loadTemplate function in your local site with a debugger.
In your live site you can use file_put_contents(JPATH_ADMINISTRATOR . '/logs/test.php, $testvariable . "\n", FILE_APPEND); to write tests to a log file. Reload a page and see what you have. Also cPanel is nothing to do with the hosting service utility of that name.
-
- Joomla! Apprentice
- Posts: 49
- Joined: Tue Sep 29, 2009 10:34 pm
Re: Error 500 Layout default not found from custom component
Thanks for that. Finally tracked down my mistake - I had reset JPATH_COMPONENT to point to my component rather than com_cpanel. And I did not notice this when I installed my component as my tracing took up a lot of the screen so never scrolled down to the end, when I would have seen the error and realised what had caused it.