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.
3
Restore (if needed)
Use phpMyAdmin or MySQL command line to restore from backup:
Error Logs
Monitor and troubleshoot errors in your store.Viewing Error Logs
Viewing Error Logs
Navigate to System → Maintenance → Error Logs to view recent errors and warnings.Log location:
system/storage/logs/error.logClearing Logs
Clearing Logs
Click Clear to delete the error log file. Recommended when log file becomes very large (>10MB).
Common Errors
Common Errors
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
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.Event System
View and manage system events (hooks).- 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.- Currency Updates
- GDPR Cleanup
- Subscription Renewals
Cache Management
Clearing Cache
Different cache types require different clearing methods.Modification Cache
Location:
system/storage/modification/Clear via Extensions → Modifications → RefreshImage Cache
Location:
image/cache/Manually delete folder contents or use FTPSystem Cache
Location:
system/storage/cache/Delete folder contents via FTP or file managerTemplate 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
Page Load Time
Page Load Time
Monitor average page load times. Target: less than 2 seconds for category/product pages.Tools: Google PageSpeed Insights, GTmetrix
Database Query Time
Database Query Time
Slow queries can impact performance. Enable query logging in development.
Error Rate
Error Rate
Monitor error.log file size and frequency. Increasing errors indicate issues.
Disk Space
Disk Space
Ensure adequate disk space for:
- Product images and uploads
- Log files
- Database growth
- Session storage
System Requirements
Server Requirements
Minimum Requirements:Checking PHP Configuration
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
Related Documentation
Store Settings
Configure general store settings
Development Setup
Set up local development environment
Extensions
Install system extensions

