Magento: Fixing Magento Category Order Problems

Fixing Magento Category Order Problems

Fixing Magento Category Order Problems

Recently, one of our clients could not get their product categories to appear in the order set in the Magento Catalog > Manage Categories screen. No matter how they dragged and dropped the categories, the ones near the top would not display as intended on the front end.

How Magento Orders Categories

Categories are displayed in navigation menus based on a field titled “position” in thecatalog_category_entity data table. By default, the order is displayed in ascending order. There are other ways of adding code to display categories alphabetically, but by default, the order shown is determined by the position value.

So, why would changing the order under Manage Categories not work?

What I Observed

When working in the Manage Categories menu, the client and I were focused on manipulating the top 2-3 categories, as those were the ones most important to him at the time. We could change their order, but even after re-indexing the Flat Catalog, the front end would still not display the correct order.
(more…)

Magento: No input file specified – Godaddy

Magento: No input file specified - Godaddy

Magento: No input file specified – Godaddy

After installing Magento in godaddy. I logged into the admin section, it shows “No input file specified”.

Solution:
Login to your Godaddy Account. Click on your hosting account.
Go to Settings > File Extensions Management and change .php and .php5 to run under PHP5.2X (instead of PHP5.2xFastCGI)

Magento: How to get any category’s description in Magento

How to get any category’s description in Magento

How to get any category’s description in Magento

First, let’s talk about how to get category by category id in Magento.

It’s easy to get category by id, just change the number in load() method.

$category=Mage::getModel('catalog/category')->load(23);

Then this is the dsecription:

echo $category->getDescription();

You can change the description in Catelog->Category in the backend, and you can easily get other attributes just change the getDescription() method.

Magento: Automated Bash Script Installer

Magento: Automated Bash Script Installer

Magento: Automated Bash Script Installer

The following SSH script will automate the process of installing Magento, with or without sample data. It will walk you through everything, and the only thing you need to setup first is the database and assign a user to the database.

You will need SSH access to use this. SSH is similar to FTP, in that it requires software that you’ll need to download in order to connect to your site. If you don’t have an SSH client, you can download PuTTY for free.
(more…)

Magento: “There has been an error processing your request”

Symptoms
The following error message is shown instead of your usual Magento page:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1286489434787

Cause
Usually, it is caused by calling incompatible classes in themes, extensions or templates, database connectivity issues or resource shortage (i.e. insufficient diskspace or PHP memory_limit option).
(more…)

Magento shows blank/empty page. How do I solve this?


Symptoms
Blank page is shown in Magento Frontend, Backend or Magento Connect Manager

Cause
If you see a blank page opening your Store in browser, it indicates that there is a PHP syntax error somewhere in the code of your site.
This usually happens when you modified files, templates or extensions manually, or installed a theme or extension with PHP syntax errors.

Troubleshooting
Before starting investigation please try to Disable Magento Compiler and Clear cached Magento data , in the most cases it should solve the issue.
To see the actual error message you need to login via FTP to your Store and use the following instructions:
(more…)

Page 1 of 512345

Pin It on Pinterest