Search the Wiki

Viewing 191 to 200 of 233 items

Cleanly Delete all Orders, Sales & Customer Data in Magento

Last updated for Magento CE 1.4.1.1 This is a work-in-progress to assemble and keep current, the SQL required to perform these actions which are currently not part of the Magento core package but which are often useful for testing and debugging. Remember to back up your database before using any of these scripts! Delete *All* Order &  Full Article…

0

Easiest way to open CSV with commas in Excel

CSV files are automatically associated with Excel but when I open them, all the rows are basically in the first column, like this:   Turns out it was a regional setting issue; Go into your control panel –> Regional Settings –> Advanced Settings and change your list separator to a comma. Mine was set to semi-colon for South Africa after  Full Article…

0

Executing cron job for Magento use Cpanel

Cpanel cron jobs not working using magento? PHP Optional flags are sometimes required for a PHP cron job: php -q /home/username/public_html/cron.php   SSH Command to run a code script cron job: /bin/sh /home/username/public_html/file.sh  

0

View Linux version

You can use those commands below: cat /etc/*release* cat /etc/redhat-release

0

Install Epel for Centos 6

Install Epel for Centos 6. wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

0

Install Epel and php mcrypt for centos 7

Install Rpel and php mbcrypt for centos 7 Epel: yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm yum install php-mcrypt*

0

[CentOS-devel] Delta RPMs disabled by default?

[CentOS-devel] Delta RPMs disabled by default? You did a minimal install so the package selection you got is, err, minimal. You can enable delta rpms by installing the binary it needs and told you about. Running:   yum install deltarpm

0

Create a Country Drop Down in the Frontend of Magento

<?php $_countries = Mage::getResourceModel('directory/country_collection')                                     ->loadData()                                     ->toOptionArray(false) ?> <?php if (count($_countries) > 0): ?>     <select name="country" id="country">         <option value="">– Please Select –</option>         <?php foreach($_countries as $_country): ?>             <option value="<?php echo $_country[‘value’] ?>">                 <?php echo $_country['label'] ?>             </option>         <?php endforeach; ?>     </select> <?php endif; ?>

0

Enable mod_rewrite in Nginx

How to enable mod_rewrite in Nginx? You need to add the following line to Nginx configuration file: location / { try_files $uri $uri/ /index.php?q=$request_uri; }

0