Posts

opencart 2.0.3.1 to 2.3.0.2 upgradation error

I got this error after up-gradation from opencart 2.0.3.1 to 2.3.0.2. Fatal error: Uncaught exception 'Exception' with message 'Error: Could not load model total!' in C:\xampp\htdocs\deleteme\system\engine\loader.php:169 Stack trace: #0 [internal function]: Loader->{closure}(Array, Array) #1 C:\xampp\htdocs\deleteme\system\engine\proxy.php(25): call_user_func_array(Object(Closure), Array) #2 C:\xampp\htdocs\deleteme\catalog\controller\common\cart.php(37): Proxy->__call('getTotal', Array) #3 C:\xampp\htdocs\deleteme\catalog\controller\common\cart.php(37): Proxy->getTotal(Array) #4 [internal function]: ControllerCommonCart->index(Array) #5 C:\xampp\htdocs\deleteme\system\engine\action.php(51): call_user_func_array(Array, Array) #6 C:\xampp\htdocs\deleteme\system\engine\loader.php(24): Action->execute(Object(Registry), Array) #7 C:\xampp\htdocs\deleteme\catalog\controller\common\header.php(129): Loader->controller('common/cart') #8 [inte

cPanel Cron Job || How to use cron job in Cpanel

For Taking Backup of MySQL   mysqldump --opt -Q -u yoursitesqlusername -p' yoursitesqlpassword ' yoursitesqldatabasename > /home/aaromis/backups/databasebackupname_`date +%Y_%m_%d`.sql For Taking Backup of FILES   #!/bin/bash tar czf ~/backups/backup_`date +%Y_%m_%d`.tgz ~/public_html In Cron Job Page Set Email,Unix Command Script File Path,Time ~ /backups/backup.sh   Where backups is foldername and backup.sh is Unix Command Script File name

Magento Help Files and Extension

Turn on the template path hints for frontend & backend by using this extension :-   Easy Template Path Hints (For below Magento Version 2.x) download me   Learning Magento Version 1.8,1.9 Version PDF :-     Magento- Beginner's Guide, 2nd Edition.pdf   download me  ,  Getting Started with Magento Extension Development.pdf   download me Learn Magento Version 2.0 PDF :-     Magento 2 Development Essentials 2016 .pdf   download me

Wordpress all Functions

https://codex.wordpress.org/Category:Functions
STAR LOGIC Programming PHP  INPUT <?php for($i=4;$i>=1;$i--){ for($j=1;$j<=$i;$j++){ echo "&nbsp;\t"; } for($k=4;$k>=$i;$k--){ echo "*"; echo "&nbsp;\t"; } echo "<br/>"; } for($l=1;$l<=4;$l++){ for($m=1;$m<=$l;$m++){ echo "&nbsp;\t"; } for($n=4;$n>=$l;$n--){ echo "*"; echo "&nbsp;\t"; } echo "<br/>"; } ?>  OUTPUT         *        *  *      *  *  *    *  *  *  *    *  *  *  *      *  *  *        *  *          *

Opencart Affiliate Program

Image
Opencart Store affiliate program is free and enables members to earn revenue by placing a link or links on their web site which advertises Your Store or specific products on it. Any sales made to customers who have clicked on those links will earn the affiliate commission. The standard commission rate is currently 5% NOTE:- There is no necessary to a Customer to be affiliate mean Any body can be an affiliate to earn commission money from site. and Customer can also be affiliate by registering sepreatly as an Affiliate. * Activate and configure your OpenCart affiliate program and manage your affiliates Description :  please login your OpenCart admin and Go to System-> Settings Page and    edit your store and select the Options tab  In the Options tab scroll down to the Affiliate section and change setting according to your choice for affiliate program.  When you are done with your settings. your can sign up as affiliate from frontend by going to the footer menu link  Aff

Magento 2 images,logo,font awesome,CSS and JavaScript not loading

Image
I was facing this  problem when I install Magento version 2. there solution is so simple 1. Open DOS Command Prompt from Xampp Control Panel. Now Type this command:- cd htdocs/ (your folder name) PRESS ENTER php bin/magento setup:static-content:deploy PRESS ENTER 2.  Or We can try this second way. We have to delete caches and sessions of Magento version 2. Go to following paths and delete everything: ROOT > var > cache > *DELETE ALL* ROOT > var > page_cache > *DELETE ALL* ROOT > var > session > *DELETE ALL* When Magento 2 is not in production mode, it will try to create symlinks for some static resources on local server. We have to change that behavior of Magento 2 by going to edit  ROOT > app > etc > di.xml  file. Open up  di.xml  in your favorite code editor, find the  virtualType name="developerMaterialization"  section. In that section below, you will find an item  <item name="view_preprocessed" xsi:type=