How to see the code of ‘.ctp’ file as colorful as ‘.php’ file in NetBeans

NetBeans is one of the best and powerful IDE for any WebDevelopment specially best for PHP frameworks such as ZenCart, OpenCart, CakePhp etc. CakePhp use their own custom file extension for its View files i.e. *.ctp. NetBeans doesn’t know about this file by default. So there are no color coding will be shown when these […]

Read More

How to change the default order status on WooCommerce

Sometimes, while developing an e-commerce website, you’ll need to automatically check the payment status and mark the order status as “Completed”, “Pending” or as per your requirement. A default order status is set on the basis of payment done. The Front-end users can check their order’s status in their Account History page. In this blog […]

Read More

HubBox Error: _messageErrorTemplate is not a function

Problem Statement On searching the wrong address in the HubBox popup, there is no error message. When checked on the console, you are getting an error like “_messageErrorTemplate is not a function“. Solution The error: “_messageErrorTemplate is not a function” is coming because this function is not declared as function in the HubBox library. To […]

Read More

HubBox Error: Failed to open stream /sample/../../vendor/autoload.php

Problem Statement While using the library provided by HubBox, there is an error occurring- require(C:\wamp64\www\HubBox\sample\src\public/../../vendor/autoload.php): failed to open stream: No such file or directory in C:\wamp64\www\HubBox\sample\src\public\index.php on line 14 Solution This error occurred because of dependencies on files that are missed. You need to solve this issue by using below steps: Step1: Delete the file sample/composer.lock from the library. Step2: Make a folder with the name “vendor” under /sample/ Step3: Run the command “composer install” in command prompt at /sample/   It will download all the dependency files which are required. After successfully downloading all the dependencies, you will able to use the HubBox library.

Read More