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…
Search the Wiki
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…
MAGENTO – SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘x-xxxxxxxxxx-x-x-x-xxx-x’ for key ‘EAA51B56FF092A0DCB795D1CEF812B7B’
Some weeks ago I was trying to import/update some products in Magento 1.7 and I got the following error: An error occurred while saving this configuration: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1332892800-0-1-0-209-0' for key 'EAA51B56FF092A0DCB795D1CEF812B7B' The error message by itself doesn’t help that much and trying to google it didn’t bring any relevant 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…
No map sources were found in the Postfix configuration
In order to make Virtualmin work you will most likely need to fix this error. A problem was found with your Postfix Virtual Maps : No map sources were found in Postfix config. Just add the following text in Postfix Webmin > Servers > Postfix Mail Server > Virtual Domains > Domain mapping lookup tables Full Article…
Configuring Virtualmin for BCCing Email
Configuring Virtualmin for BCCing Email Before you can enable BCCing for any domains, the following steps must be performed : Login to Virtualmin as root, and go to Webmin → Servers → Postfix Mail Server. Click on the BCC Mapping icon, and make sure the Sender BCC mapping lookup tables field is set. If it is not, you should enter a map specification like hash:/etc/postfix/bcc . Then Full Article…
Magento PayPal Post Back Bug
Maybe anyone can help solve this issue. Everything worked fine ages, and yesterday, PayPal post back failed. It stopped updating any statuses. Log is showing [postback_to] => https://www.paypal.com/cgi-bin/webscr [postback] => mc_gross=1.00&invoice=100002123&auth_exp=08%3A29%3A30+Oct+19%2C+2014+PDT&protection_eligibility=Ineligible&address_status=unconfirmed&item_number1=test&payer_id=8EUEYETHYRST8&tax=0.17&address_street=%D1%84%D1%8B%D0%B2%D1%84%D1%8B%D0%B2%D1%84%D1%8B%D0%B2&payment_date=08%3A29%3A30+Sep+19%2C+2014+PDT&payment_status=Pending&charset=UTF-8&address_zip=dsfsdf&mc_shipping=0.00&mc_handling=0.00&first_name=Sergey&transaction_entity=auth&address_country_code=LV&address_name=%D1%8B%D0%B2%D1%84%D1%8B%D0%B2+%D0%B2%D1%84%D1%8B%D0%B2¬ify_version=3.8&custom=&payer_status=verified&business=Info%40eurofishshop.com&address_country=Latvia&num_cart_items=1&mc_handling1=0.00&address_city=%D1%84%D1%8B%D0%B2%D1%84%D1%8B%D0%B2&verify_sign=ALBe4QrXe2sJhpq1rIN8JxSbK4RZAc6KHII6HCE8Yo15IkQfFCf9w2Yp&payer_email=ianjanho%40gmail.com&mc_shipping1=0.00&parent_txn_id=&txn_id=1WA86899Y17300749&payment_type=instant&remaining_settle=10&auth_id=1WA86899Y17300749&last_name=Yakovel&address_state=J%C4%93kabpils&item_name1=test&receiver_email=Info%40eurofishshop.com&auth_amount=1.00&quantity1=1&receiver_id=BU6HTDF6LYK4L&pending_reason=authorization&txn_type=cart&mc_gross_1=0.83&mc_currency=EUR&residence_country=LV&transaction_subject=&payment_gross=&auth_status=Pending&ipn_track_id=b4311d9ee7e6&cmd=_notify-validate [postback_result] => HTTP/1.1 403 Forbidden Server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 285 Expires: Fri, 19 Sep 2014 15:30:16 GMT Date: Fri, 19 Sep Full Article…
How to apply Magento patches in Windows environment
Able to make it works on windows machine as well for PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh. Problem was: CURRENT_DIR=$PWD_BIN/ (line 60) and the value of $PWD_BIN is defined in same file PWD_BIN=which pwd (line 35) as which doesn't wok on windows so we will need to replace this value. Open bash Your current directory should be the root of magento. Full Article…
How to calculate directory size
In Centos, if you want to calculate directory size, you can use this command: du -msh /directory This command will show the unit of directory size.
Unable to resize root partition on EC2 centos
This is what it had to be done Stop the instance Create a snapshot from the volume Create a new volume based on the snapshot increasing the size Check and remember the current's volume mount point (i.e. /dev/sda1) Detach current volume Attach the recently created volume to the instance, setting the exact mount point Restart Full Article…