Home

Category: #DEV

Run Tasks/Jobs in the Background while closing the SSH Session

We usually run imports and exports for our email marketing software using PHP-CLI (Command-line Interface). The problem comes when we want to work on something else. Instead of opening multiple terminal sessions, we use this little application called Screen. This little application is quite handy

Roshan Jonnalagadda avatarRoshan Jonnalagadda1 min read

Simple way to check if CRON is working!

Recently, we moved from hosting our app on Amazon EC2 instances to Elastic Beanstalk Service. For those who had a go at hosting their apps on Elastic Beanstalk, you would know the struggles with .ebextensions. There are far more documentation and examples available now than when it was first

Roshan Jonnalagadda avatarRoshan Jonnalagadda3 min read

Deleting Magento Customer Address Programmatically

When upgrading Magento for one of our customers, we've realized somehow all the shipping information were half complete. It either had a region filled out without address or zip code. When you enter that customer's profile and try to save it, it wouldn't save because these are required fields. This

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read

Lessons Learnt from Heavy Loss Due to Fraudulent Transactions

We have lost $1,000s from Credit Card Disputes arising from fraudulent transactions within a year of trading from just one of our software products. Crazy, right? We thought so too. So here's what we've learned from this experience on protecting our businesses from fraudulent transactions. For

Roshan Jonnalagadda avatarRoshan Jonnalagadda8 min read

You do not have the SUPER Privilege and Binary Logging is Enabled

Recently while trying to upgrade our project management app, I encountered this error, "You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)". What we initially thought was the lack of TRIGGER privileges

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read

Solve Nginx+PHP-FPM Access Denied Issue

Recently one of our services went down due to an Apache upgrade that caused Htaccess to have contents that are no longer supported. When we go to our app, it throws out an “Access Denied” error. Our developers looked into all sorts of possible scenarios including IonCube Issues File Permission

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read

Clean up Magento CE Database Manually

I take no responsibility for this code. If you need it for Magento EE, please see this link . I highly recommend you take a backup of your database first. DO NOT execute these SQL statements on production database directly. Alternatively, use Magento Database Repair Tool . -- -- Magento CE database

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read

Magento Redirection to Old Site [FIX]

Recently, we had to setup a staging site for one of our customers. He runs one of the most popular online pharmacies in New Zealand. Here are some of the solutions we tried for the redirection problem. This is where Magento continues to redirect the website to the old URL. When you see this

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read

My love affair with Docker

Last few days has been the worst for our business and part of it is to do with a much-hated hosting provider - OVH . Some devs like it, and some don't! If you read the reviews about this hosting, you'd probably find a lot of bad things said about them and their network than good ones. The only

Roshan Jonnalagadda avatarRoshan Jonnalagadda6 min read

Easy Script to Test your CRON Job

Developers would know this...often times, we setup CRON Jobs to run on specific times to execute a specific file or perform a task but we really don't know if it's running as it should. Now I know many developers choose to have a script that probably logs its execution on a log file somewhere or

Roshan Jonnalagadda avatarRoshan Jonnalagadda2 min read