Template error: File doesn't exist
Some users have reported the following (or similar) error after validating their sites in the Watchful dashboard:
/public_html/templates//index.php The file doesn't exist.
Cause
This is caused by a blank record in your template_styles or template_menu database table. These blank entries may result from an incomplete/manual template removal and possibly during migration between Joomla versions.
Resolution
To resolve this issue, create a backup of your site and then query the database as follows:
Joomla 2.5/3
SELECT DISTINCT template, client_id FROM #__template_styles
Be sure to replace #_ with your actual database prefix, for example:
SELECT DISTINCT template, client_id FROM jos_template_styles
Joomla 1.5
SELECT DISTINCT template, client_id FROM #__templates_menu
Be sure to replace #_ with your actual database prefix, for example:
SELECT DISTINCT template, client_id FROM jos_templates_menu
In the query results, you should find one record that is empty/lacks a name. Delete this empty record and confirm that your site is working as expected.
To confirm that the File does’t exist error is resolved, return to the Watchful dashboard and re-verify your site.
Search Knowledge base
Most popular
- Add a website to Watchful
- Does Watchful support managed hosts like WP Engine, Flywheel, and Pantheon?
- How do I generate reports for my clients?
- How to add Tags to your WordPress & Joomla websites in Watchful
- How to use the Auto Update Scheduler
- How to use the Auto Updater
- Managing your auto-updating softwares
- Scheduling remote backups for Joomla
- Scheduling remote backups for WordPress
- The three types of backups in Watchful