Posts

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=

unexpected end of json input in Opencart Admin Order Edit

Image
Hi, I am getting this error in Opencart Edit order in Admin as javascript alert  unexpected end of json input . I found this  solution by just adding API in System-> Users->API . then select this api in System->Settings->[Edit]Store->Option Tab->Checkout Section . then I checked again by editing any order in admin. I didn't get error  again.My error has been fixed. For more detail of this  this follow given below link:-  https://www.fastcomet.com/community/opencart-2-error-syntaxerror-unexpected-end-of-input-ok/ 2. or the second solution for the same problem I found by fixing language character. I had spanish language installed where some character is generating this error. so I changed that character and problem has been fixed like !,~,`,^ etc.

Woocommerce reset password button not working- Wordpress

Image
I was facing problem that woo-commerce reset password button was not working. it was always showing disabled.when I click on button it also not showing any error that we need email address to reset password. I fixed it on my own. I found that woo-commerce cart page is selected as my account page in admin in woo-commerce setting page. also in cart page have short code  [woocommerce_cart]   and  [woocommerce_my_account] .so both shortcode was collapsing to each other. so I removed  [woocommerce_my_account]   shortcode from cart page and also I set my account page for my account page in woo-commerce setting page. Now its working fine. :)

Important Point about Multi store in Opencart

Main Store should to be in root folder like /public_html/ While adding new store in Opencart Admin URL must to be like this http://blumats.devinlabs.com/ not like this http://blumats.devinlabs.com Since by default opencart not assign any product or store so you would have to assign manually categories,product,module each thing sepreatly to new store.

Hindi Language or any other language than English making problem with Captcha code in Website Showing Quirks mode

Image
Select Encoding type of code as Encode in UTF-8 without BOM instead of   Encode of UTF-8 It will solve the problem with the translation of any page in any language  There is also given some Locale code of language list here:- Locale Code of all language What's different between UTF-8 and UTF-8 without BOM? Short answer: In UTF-8, a BOM is encoded as the bytes EF BB BF at the beginning of the file. Long answer: Originally, it was expected that Unicode would be encoded in UTF-16/UCS-2. The BOM was designed for this encoding form. When you have 2-byte code units, it's necessary to indicate which order those two bytes are in, and a common convention for doing this is to include the character U+FEFF as a "Byte Order Mark" at the beginning of the data. The character U+FFFE is permanently unassigned so that its presence can be used to detect the wrong byte order. UTF-8 has the same byte order regardless of platform endianness, so a byte order mark isn&#

Opencart Admin Login problem if username and password is still correct

I found I am not able login Opencart Admin since Username and Password is correct. This is problem due to root htaccess is redirecting to https:// and my sub folder have no any htaccess so if in our code have http:// URL setting then it will redirect https:// and cann't login to Admin if user and password is correct. it would only redirect to login page again and again. SOLUTION:-  1. put htaccess in subfolder OR WE CAN TRY 2. make url as http:// to https:// so that it will work for both. 

Change Localhost Apache XAMPP Port 80 to 1234

Note:-   From This Process You can install multiple Xampp in Single Computer or Drive. 1. Open XAMPP Control Panel. 2. To    O pen the Apache "httpd.conf" file   click the “Config” button next to Apache “Start” and “Admin” buttons in Xampp Control Panel that would be like this :- Apache(httpd.conf) In the popup menu that opens, click and open httpd.conf 3.  Within the httpd.conf file search for “listen”. You’ll find two rows with something like; #Listen 12.34.56.78:80 Listen 80 Change the port no to a port no. of your choice (e.g. port 1234) like below #Listen 12.34.56.78:1234 Listen 1234 4. Next, in the same httpd.conf file look for “ServerName localhost:” Set it to the new port no. ServerName localhost:1234 5.  Save and close the httpd.conf file. 6.  Now click the Apache config button again and open the “httpd-ssl.conf” file. 7. In the httpd-ssl.conf file, look for “Listen” again. You may find: Listen 443 Change it to listen on a new port no o