LiteCommerce:I am getting fatal error "Class not found" in my store. How do I fix it?
The error could occur for several reasons:
- Non-writable permissions mode on the files and subdirectories inside the "var/run" directory (the compiled classes and templates cache).
- One or more tables in the store database could be damaged due to a MySQL service fault.
- Missing or damaged files in the store.
- Misconfigured PHP.
So, in each case solving the issue takes a different route.
Check whether the files and directories inside the "var/run/" directory (and the directory itself) are writable for PHP. If the files or directories are not writable, correct their permissions and make them writable.
Check and repair the damaged MySQL tables.
Missing or damaged files
Debug the error to find out which files exactly are missing or damaged and restore those files from an LC distributive of the same version.
Check the PHP configuration to find out what exactly is not correct.
Should require any assistance on investigating and resolving similar errors, feel free to contact our support team via your personal HelpDesk area.