Brian Tafoya's blog

SVN/Websvn/Apache HOWTO on CentOS

First we will just install SVN and get your repository up and running with some users. For the purpose of this tutorial I'm going to be using CentOS, but it should be hard to find similar command on other flavours of Linux.

Install SVN

Install mod_dav_svn right away which is required to make SVN work with apache.

	yum install mod_dav_svn subversion
	

Create Repository

Magento USPS Rate Calculator Break

On December 17, 2010 the US Postal Service let customers know that a change was coming to the domestic shipping services.  These changes went into effect and caused the USPS shipping calculator in Magento to stop working.

The root cause is that the shipping method name now has a “®” symbol at the end of it.

ffmpeg commands for all needs!

ffmpeg is a multiplatform, open-source library for video and audio files. Here are a few commands for most of your conversion needs!

Getting infos from a video file
ffmpeg -i video.avi
Turn X images to a video sequence
ffmpeg -f image2 -i image%d.jpg video.mpg

This command will transform all the images from the current directory (named image1.jpg, image2.jpg, etc…) to a video file named video.mpg.

Magento Move / Magento Transfer

Magento Move / Magento Transfer

This tutorial provides detailed information how to move a Magento store from one host to another (or to a different hosting account).

MySQL database backup.

This tutorial assumes you have phpMyAdmin included by default in cPanel for your account. In other cases you will have to use the same tool or a similar one that is capable of exporting your MySQL database.

Alternatively if you don’t have phpMyAdmin installed but you have shell access you can use mysqldump tool. The syntax is as follow

SSL, INTERNET EXPLORER, AND YOUR E-STORE

So having to deal with the issue for what feels like the billionth time I figured I would blog about it and share with the world this wonderful 'situation' known as Internet Explorer (for short, IE) and SSL certificates.

A month ago we launched Fierce Costumes (www.fiercecostumes.com) and shortly after, Fierce and Sexy (www.fierceandsexy.com). Both stores are running on the fantastic e-commerce platform, Magento.

Magento Dataflow Export/Import form the command line

One issue with Magento is the overhead involved in importing/exporting data which can cause timeouts when run from the web. Here is a script which will run from the command line....

How to do an in-place 'import' with Subversion

Suppose, for example, that you wanted to put some of /etc under version control inside your repository:

# svn mkdir <a href="///root/svn-repository/etc" title="///root/svn-repository/etc">file:///root/svn-repository/etc</a> \
 -m "Make a directory in the repository to correspond to /etc"
# cd /etc
# svn checkout <a href="///root/svn-repository/etc" title="///root/svn-repository/etc">file:///root/svn-repository/etc</a> .
# svn add apache samba alsa X11 
# svn commit -m "Initial version of my config files"

How to remove CVS and/or .svn files and folders form the command line in Linux

So, you copied a bunch of directories from one source controlled project to another and you don’t want to go through and delete all those CVS or .svn directories by hand? Ok, no problem…

Apache 500 error on PHP Fatal Error - How to enable php error messages

Somehow along the way the way php returns errors when the display_errors flag is set to 'off' changed, causing me so much confusion! At first I thought it was siolated to ZendServer, but it is somewhere along php 5.2.12 that it was implemented.

So, for those developers having a rough time debugging in a development enviroment, such as using ZendServerCE on windows, make sure you enable the display_errors option in the server's php.ini.

Happy Debugging!

Magento Manage Category Product Grid Edit Link

One common request from my clients has been to include an 'Edit' link in the category product list, since strange enough Magento does not have one.

Fortunately this is a very simple task!

in the file 'app\code\core\Mage\Adminhtml\Block\Catalog\Category\Tab\Product.php' location the function 'protected function _prepareColumns()' and add to the end the below snippet.

Syndicate content
LiveZilla Live Help