web stats analysis

Archive for March, 2013

How to remove Reminder: Change Magento`s default phone numbers and callouts before site launch notification in magento

Reminder: Change Magento`s default phone numbers and callouts before site launch

Follow below steps

Step-1 : Copy Inbox.php file from app/code/core/Mage/AdminNotification/Model/Resource

Step-2 : Paste to app/code/local/Mage/AdminNotification/Model/Resource (If Mage/AdminNotification/Model/Resource is not available in app/code/local folder, create those folders.)

Step-3 : Now open Inbox.php file and find following code

$select = $adapter->select()
->from($this->getMainTable())
->where(‘title = ?’, $item['title']);

Step-4 : And replace with following code

$select = $adapter->select()
->from($this->getMainTable())
->where(‘url=? OR url IS NULL’, $item['url'])
->where(‘title=?’, $item['title']);

Step-5 : Save the Inbox.php file and upload it on server

Step-6 : Now Delete Notifications message from System >> Notifications

Step-6 : Now log out from your admin panel and login again

How to Set Flat Rate in magento ?

How to Change Flat Rate in magento ?

Solution

In your admin panel go to the System >> Configuration Menu

And after click on Shipping Methods under Sales Menu on the left side

Now you will see Price field under Flat Rate

Now here you can change Flat Rate and save it.

Now you will check checkout page in your website

Could not determine temp directory, please specify a cache_dir manually in magento

Follow below steps

Step-1 : Open lib/Zend/Cache/Backend/File.php

Step-2 : Find following code

‘cache_dir’ => ‘null’,

Step-3 : And replace with following code

‘cache_dir’ => ‘tmp/’,

Step-4 : Save the File.php file and upload it on server

Step-5 : And create tmp folder on root directory of your magento installation

Error : There has been an error processing your request in magento

Download the following php.ini file and upload it on root directory of your magento installation

Click here to download php.ini file

how to Install the extension through Magento Connect

How To Install Magento Extensions – Magento

Follow below steps

Step-1 : Login into your website admin panel

Step-2 : Go to the menu - System -> Magento Connect -> Magento Connect Manager

Step-3 : Paste the extension key in  Paste extension key to install and after click on Install button

magento connect manager 404 error

Magento Connect Manager redirects to 404 page error

Solution

Set the file permission 755 for downloader folder

And Set the file permission 644 for downloader/index.php file

Paypal Standard option does not appear on the Checkout page in magento

PayPal payment not showing on the Checkout page in magento

Solution

Changed the Currency Setup India to US Doller, because Paypal does not accept INR.

could not create a new document because the scratch disks are full in photoshop

Could not create a new document because the scratch disk are full?

Follow below steps

Step-1 : Open Photoshop

Step-2 : Go to the menu – Edit -> Preferences -> Plugins & Scratch Disks

Step-3 : In Scratch Disks: In First: Select D: instead of Startup. Then Second: could be another drive

Step-4 : Now restart Photoshop

How to validate html.textboxfor length in asp.net mvc

Min and Max value validation in asp.net mvc

How to create an ASP.NET MVC validation for minimum and maximum length?

Validating html.textboxfor length in asp.net mvc

Length validation in asp.net mvc

Type following code

[MaxLength(20, ErrorMessage = "Password must between 6 to 20"), MinLength(6, ErrorMessage = "Password must between 6 to 20")]

public string Password { get; set; }

How to validate email in asp.net mvc

How to validate email address in asp.net mvc razor

Validate email in Asp.Net MVC 3

Expression for email validation in asp.net mvc

RegularExpression for email validation in asp.net mvc

Type following code
[RegularExpression(".+\\@.+\\..+", ErrorMessage = "Please Enter your valid email")]
public string Email { get; set; }