Error logs are one of the fastest ways to understand why a website is failing. They can point to PHP fatal errors, missing files, plugin problems, permission issues, memory limits, broken redirects, and database connection failures.
TekLan shared hosting uses Enhance, so the right place to start is the Enhance logs area. cPanel log paths and screenshots are not relevant for TekLan shared hosting accounts.
Where to Find Logs in Enhance
- Log in to web.teklanhosting.co.uk.
- Use Logs from the left sidebar for account-level access and error logs.
- Open the affected website if you need to compare logs with website-specific settings.
- Load the broken page again, then refresh the logs so the newest error appears near the top.
Start With the Time
Find the approximate time the problem happened. A log full of old warnings can distract you from the current issue. If a visitor reported the problem, ask for the time, URL, browser, and what action they were taking.
Match the URL to the Error
If one page breaks and the rest of the site works, load that exact URL while watching the log. The relevant error often appears immediately.
If every page breaks, check for application-wide errors such as a missing config file, failed database connection, broken PHP version, or plugin fatal error.
Look for Fatal Errors First
Warnings and notices can matter, but fatal errors are usually the ones that break a request. In PHP logs, look for phrases such as:
PHP Fatal error
Uncaught
Allowed memory size exhausted
Maximum execution time exceeded
Class not found
Call to undefined function
Failed opening required
Connect Logs to Recent Changes
Error logs make more sense when you compare them with recent changes. Ask what changed just before the issue started:
- Plugin, theme, or CMS update.
- PHP version change in Enhance.
- Migration from another host.
- File permission change.
- New redirect rule.
- Database import or restore.
- New caching or security plugin.
Common Error Meanings
- Allowed memory size exhausted: the PHP memory limit is too low for the request, or the application is doing too much work.
- Class not found: missing plugin files, failed deployment, or broken autoload files.
- Call to undefined function: missing PHP extension, incompatible plugin, or wrong PHP version.
- Connection refused: a service such as database, SMTP, Redis, or external API is unavailable.
- Permission denied: file or directory ownership/permissions need checking.
Check PHP Settings if Needed
If the log points to PHP memory, extensions, or version compatibility, open the website in Enhance and go to Advanced → Developer tools → PHP. Review the PHP version, extensions, and php.ini values.
What to Include in a Support Ticket
If you need help, include:
- The affected URL.
- The approximate time the error happened.
- What changed recently.
- The exact error text if you can copy it.
- Whether the issue affects all pages or only one workflow.
That information is far more useful than "the site is broken" and usually cuts down the time needed to diagnose the issue.
Related TekLan Posts
Read How to Check the PHP Version in Enhance, How to Check Website Resource Usage in Enhance, and Changing Your PHP Version in Enhance.