So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue.
However, some automated cpanel installers instead of solving the previous issues they created on opencart installations, now they add even more.
If you are trying to upload .ocmod.xml files via the extension installer and you get an error like this one:
SyntaxError: Unexpected token < in JSON at position 0
Warning: mkdir(): No such file or directory in ../admin/controller/extension/installer.php..
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize your top menu have a look at my Supermenu module.
To add a link to the default top category menu in opencart you will have to edit the file catalog/view/theme/yourtheme/template/common/header.tpl and if you have the default theme or some theme that didnt modify the top menu structure, in header.tpl the code of the top menu will look something like this:
<?php if ($categories) ..
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far every user knows to do this, but what most often forget is to activate the htaccess file.
To activate the htaccess file, connect to your store via a ftp client. In the root of your opencart store you will find a file called .htaccess.txt. To activate it, you must rename it to .htaccess (exactly like that without another dot at the end). After this, your seo urls will work or you could get an in..
Unlike opencart 1.5.x, the 2.x version comes with its own extension installer accessible in admin at extension > Extension Installer. But in order to install modules directly from the opencart admin you must have ftp enabled in your admin settings and the right ftp credentials added at the ftp settings in admin > system > settings on the ftp tab.
If you have the ftp set up in opencart then installing modules is very easy. You must simply upload the module archive through the admin extension installer page.The archive you are uploading must have its name ending in .ocmod.zip. If..