How to fix headers already sent error

Warning: Cannot modify header information – headers already sent (output started at script:line) How to fix? To fix  headers already sent error,you need to check following steps: Check if you have any output before headers are sent. Output can be: Unintentional: Whitespace before <?php and after ?> The UTF-8 Byte Order Mark specifically Other error messages or Read more about How to fix headers already sent error[…]

Cannot access txt file OpenCart store

If you got 404 error when you try to access .txt file on a opencart based store,you need to edit .htaccess file and comment or remove following lines: # Prevent Direct Access to files <FilesMatch “(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))”># Order deny,allow# Deny from all# This will solve problem,dont forget to backup your file.

How to install vqmod on opencart

Go to https://github.com/vqmod/vqmod/releases Download vqmod zip,vqmod archive is named vqmod-xxx-opencart.zip where xxx is vqmod version. Using FTP or filemanager, upload  “vqmod” folder from the zip and move  to the root of your opencart store. Check if  the vqmod folder have 777 permision. Goto http://www.yourstoreurl.com/vqmod/install You should get a success message. Go to http://www.yourstoreurl.com and press Read more about How to install vqmod on opencart[…]

How to force https on opencart

If you want to force https on your opencart store you need to add following lines in your .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] If you want to force https with www,you need to add following lines on your .htaccess file: RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]