Hello Testing
Hello this is a test
Welcome to our technical tips blog – solutions and answers for numerous Joomla, Wordpress, Magento, Linux, MySQL and other problems.
Hello this is a test
Allow only localhost connections to the SMTP port (ban all outside) on Linux (Ubuntu etc). You could use: iptables -A INPUT -p tcp -s localhost –dport 25 -j ACCEPTAlthough the first version is better because self-addressed packets do not necessarily
This is how to get postfix mail transfer agent to log emails to a file instead of sending to the outside SMTP world. Create a user that will own the e-mail logs (or use an existing one). I called mine
This is usually to do with either a Plugin or a Theme functions.php file. It’s usually an incorrect JSON string being sent or look for an add_action(‘save_post’,’SOME_FUNCTION’); call causing it.
1. Stop MySQL sudo /etc/init.d/mysql stop 2. Start MySQL with the –skip-grant-tables option Ensure the directory /var/run/mysqld exists and correct owner set. sudo mkdir /var/run/mysqld sudo chown mysql /var/run/mysqld sudo mysqld_safe –skip-grant-tables & 3. Login to MySQL as root This will
To find which ports are up and running on your Ubuntu Linux server – use these 2 commands: This is useful to check if your server is being used as a Bittorrent e6969 is the default port for the most
I was building a simple Angular web API app based on the default WeatherForecast app that comes with Visual Studio 2022. Using Nuget Package Manager I added the “Swashbuckle.AspNetCore” package so that API JS services can be created using Swagger.
Step 1 – create a config.txt file for the CSR : [req] distinguished_name = req_distinguished_name req_extensions = v3_req prompt = no [req_distinguished_name] C = US ST = Illinois L = Some City O = Company Name OU = IT Dept
The Old Way The old way of getting stock info from Magento 2 was using stockRegistry and it would output or input an array. $productRepository = $objectManager->get(‘\Magento\Catalog\Api\ProductRepositoryInterface’); $stockRegistry = $objectManager->create(‘\Magento\CatalogInventory\Api\StockRegistryInterface’); $sku=”STARTNET_ITEM_123″; $product=$productRepository->get($sku); $stockdata = $stockRegistry->getStockStatus($product->getId(), 1); // for store id
You may have found that using the Magento2 editor it removes <a href> tags if they enclose in <div> tags. For example, if you are wanting to use Fonts Awesome to display a social media icon or some such thing: <a