When you deploy Magento to live server, everything is working fine, except when you save the configuration in back-end the issues occur. If it shows this message “Magento Fatal error: Class ‘Net_IDNA2’ not found in…..” you should not worry about it, because it is not your Magento’s issue, it is the server issue. When you Full Article…
How to prevent web access your version control on server
Version control systems/platforms such as Git and Subversion store their metadata in hidden folders. When left open via the web, they could reveal sensitive information such as passwords. This holds true even when directory listing is disabled. ————————————— Solution: RedirectMatch 404 /\.git You need to add the above line into your .htaccess or your server Full Article…
Custom configuration of Amazon RDS instances
Amazon RDS instances are convenient and scalable. However, whilst running long-running workflows with large datasets, the servers can come under considerable strain at times. Sometimes, we have noticed that certain transactions return with an error – not because something is wrong with the transaction syntax, rather that the MySQL server believes that the transaction is Full Article…
Negotiation:error – no acceptable variant
We faced this issue with Review function of Magento, it can’t access this function without index.php in the url. We spent many hours to research about this issue. Finally we found out the solution for it. You need to turn mod_negotiation OFF by adding the below line in Apache configuration file: Options -Multiviews After that Full Article…
Setting the default Timezone for PHP to use
he default time-zone used and displayed by PHP is UTC (Coordinated Universal Time)… Hence why it might look several hours off from your *local* time. While sometimes it’s best to leave the internal time-zone of PHP set on UTC (as it is a international time standard) and then convert (in PHP code) the UTC date-time Full Article…
Simple PHP Mail test
Prerequisites Access to your hosting via SSH or FTP Overview This is a handy little script to help test your hosting to ensure you can send emails from PHP based sites which include a contact form or similar. This includes CMS systems such as WordPress and Joomla as well as eCommerce platforms such as Magento. If Full Article…
Mail bouncing… receiving email issue
Starting from sometime yesterday (cannot be sure when without digging through logs) mail is now bouncing from my server. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, Full Article…
Finding the status of Magento cron jobs / tasks
As covered in our last article, you should have a “cron job” (crontab) set up to run Magento’s cron.php file every so often (15 minutes or so is fine) via PHP directly on the server to take care of housekeeping tasks that keep Magento working well. Some other tasks, like updating tracking / inventory status, Full Article…
GIT – Undoing Changes
Undo Uncommitted Changes Before we start undoing things, let’s take a look at the status of our repository. git status We have a tracked file and an untracked file that need to be changed. First, we’ll take care of index.html: git reset –hard This changes all tracked files to match the most recent commit. Note that the –hard flag is Full Article…
[ git ] error: unable to read askpass response from ‘/usr/libexec/openssh/gnome-ssh-askpass’
This is common error generated after running the the command "$ git push -u origin master" This error can be technically ignored because git will still work though this error is displayed. If you don't like to see this error you can run unset SSH_ASKPASS and gnome-ssh-askpass will not be invoked so does the error Full Article…