How to fix server error on OpenCart

Identify and fix every page returning an HTTP 5xx server error so search engines can crawl and index those URLs again.

Steps for OpenCart

  1. Enable OpenCart's error log via Admin > System > Settings > [Store] > Server tab, set Error Log to Yes.
  2. Download and review the error log from system/logs/error.txt — it will show the PHP error and file causing the 500.
  3. Disable recently installed extensions via Admin > Extensions > Extensions, select the type, and Uninstall/Disable.
  4. Check file permissions on the server; OpenCart requires specific permissions (e.g. 755 on directories, 644 on files) — wrong permissions can cause 500 errors.
  5. After fixing, submit the URL in Google Search Console > URL Inspection > Request Indexing.
Official OpenCart documentation ↗

What is server error?

An HTTP 500 (or any 5xx) response means your web server encountered an error and could not deliver the page — instead of your store content, visitors and search-engine crawlers receive an error message. Common culprits include broken app/plugin code, a crashed database connection, exhausted server memory, a misconfigured hosting environment, or a recent theme/code change that introduced a bug. Unlike a 404 ("page not found"), a 5xx error tells crawlers the page should exist but the server failed to produce it.

Google explicitly drops URLs from its index when they persistently return 5xx errors — your products, categories, and blog posts simply disappear from search results, costing you organic traffic and revenue. Even intermittent 5xx errors waste your crawl budget: Googlebot retries and eventually de-prioritises your site, slowing the indexing of new and updated pages. Shoppers who land on a broken page immediately leave, driving up bounce rates and signalling poor quality to both users and search engines. If high-revenue pages stay broken long enough, recovering their rankings can take weeks or months even after the fix.

See the complete Server error guide for every platform and the full background.

Not sure if your OpenCart store has this?

Run a free SEOLZ scan — we’ll find server error and every other issue across your whole site.

Scan my site free

Fix server error on another platform