Skip to main content

Overview

OpenCart’s system configuration section provides tools for maintaining your store, managing logs, performing backups, and handling system-level tasks. Regular maintenance ensures optimal performance and security.
Access system tools from System menu in the admin panel.

System Tools

Backup and Restore

Create backups of your store’s database to protect against data loss.
1

Select Tables

Navigate to System → Maintenance → Backup / Restore.Select tables to backup:
  • All tables (recommended for full backup)
  • Specific tables (for partial backup)
2

Download Backup

Click Backup to download a .sql file containing your data.
Backups are downloaded directly to your browser - store them securely off-site.
3

Restore (if needed)

Use phpMyAdmin or MySQL command line to restore from backup:
Backup Best Practices:
  • Create backups before updates or major changes
  • Store backups in multiple locations (local + cloud)
  • Test restore procedures periodically
  • Include both database AND files (upload/ directory)
  • Automate daily backups via cron job

Error Logs

Monitor and troubleshoot errors in your store.
Navigate to System → Maintenance → Error Logs to view recent errors and warnings.Log location: system/storage/logs/error.log
Click Clear to delete the error log file. Recommended when log file becomes very large (>10MB).
PHP Notices: Minor issues, usually safe to ignore
Warnings: Potential problems that should be investigated
Fatal Errors: Critical issues that stop execution
Database Errors: Connection or query problems

Upload Management

Manage file uploads and track upload history.
View uploaded files at System → Maintenance → Uploads. This includes files uploaded through product options or customer accounts.

Developer Tools

Modification System

OpenCart’s OCMOD system allows extensions to modify core files without directly editing them.
1

Install Modification

Upload modification XML via Extensions → Installer or place in system/storage/modification/ directory.
2

Refresh Modifications

Navigate to Extensions → Modifications and click Refresh to apply changes.
3

Clear Cache

Clear modification cache to see results immediately.

Theme Editor

Edit theme templates directly from the admin panel.
Theme editing in production is risky. Always:
  1. Create backups before editing
  2. Test changes in development environment
  3. Use version control for theme files

Event System

View and manage system events (hooks).
Event Fields:
  • Code: Unique identifier for the event
  • Trigger: System trigger point (e.g., catalog/model/checkout/order/addOrder/after)
  • Action: Route to call when triggered
  • Status: Enable/disable event
  • Sort Order: Execution priority

Cron Jobs

Setting Up Automated Tasks

Configure cron jobs for scheduled maintenance and updates.
Updates exchange rates from configured currency services.

Cache Management

Clearing Cache

Different cache types require different clearing methods.

Modification Cache

Location: system/storage/modification/Clear via Extensions → Modifications → Refresh

Image Cache

Location: image/cache/Manually delete folder contents or use FTP

System Cache

Location: system/storage/cache/Delete folder contents via FTP or file manager

Template Cache

Location: Managed by TwigDeleted automatically on theme changes

Database Maintenance

Optimizing Tables

Regularly optimize database tables for better performance.
Run optimization during low-traffic periods as it may temporarily lock tables.

Cleaning Old Data

Performance Monitoring

Key Metrics to Track

Monitor average page load times. Target: less than 2 seconds for category/product pages.Tools: Google PageSpeed Insights, GTmetrix
Slow queries can impact performance. Enable query logging in development.
Monitor error.log file size and frequency. Increasing errors indicate issues.
Ensure adequate disk space for:
  • Product images and uploads
  • Log files
  • Database growth
  • Session storage

System Requirements

Server Requirements

Minimum Requirements:
Required PHP Extensions:

Checking PHP Configuration

Delete phpinfo.php after checking - it exposes server configuration details.

Security Hardening

File Permissions

Set correct permissions:
  • Directories: 755
  • Files: 644
  • config.php: 444 (read-only)

Disable Directory Listing

Add to .htaccess:

Move Admin Directory

Rename /admin to something unique:

SSL Certificate

Use HTTPS for all traffic:
  • Install SSL certificate
  • Force HTTPS in .htaccess
  • Update store URLs in settings

Store Settings

Configure general store settings

Development Setup

Set up local development environment

Extensions

Install system extensions