Items filtered by date: December 2014

Monday, 18 June 2012 20:01

Missing order Numbers

 

I am looking over my test sales and i see i am missing order numbers…

my last order number is 100000038 and the one before that is 100000036

what happened to 100000037 ?


This typically means they started the checkout process but didn’t complete it - at that point the order# had already been assigned and is simply abandoned. That’s what we’ve found with our stores anyway.

Published in Magento
Monday, 18 June 2012 19:58

How to fix Cookie Problem in Magento

 

Sometimes, when you try to add a product to your cart, it redirects you back to a Cookies Page, which is annoying.
So, here are two ways to fix this :

1. 1) Increase Cookie Lifetime

– Go to System –> Configuration –> General –> Web –> Session Cookie Management –> Cookie Lifetime = 5400
– By default, Cookie Lifetime = 3600. You can make it more than 5400 and try if it works.

2) Disable redirect to enable-cookies CMS page

– Go to System –> Configuration –> General –> Web –> Browser Capabilities Detection –> Redirect to CMS-page if cookies are disabled = No

Published in Magento
Monday, 18 June 2012 19:40

How to clear Magento cache

 

Option 1

This tutorial will show you how to clear and disable Magento cache. You should keep cache disabled while editing the Magento core or template files

1. Open Magento admin panel

2. Go to System>Cache Management

3. Check all Cache types and in the Actions box select refresh

4. Then select all Cache types and in the Actions box select disable

5. Also click Flush Magento Cache and Flush Cache Storage buttons

Now you are free to perform any changes to the template files. 


 

Option 2

To refresh or clear the cache in Magento:

  1. As admin login back-end > System > Cache Management
  2. Flush Magento Cache
  3. Flush Cache Storage
  4. Select all cache and then refresh
  5. Save cache settings


If you followed the steps correctly you should receive a message acknowledging that the cache has been cleared.


Cache Notes

 

I’m not sure what “Flush Magento Cache” does but “Flush Cache Storage” Removes all files and directories from the magento/var/cache directory or where you have it set to store.

  • Flush Magento Cache - clears cache of items that relate to magento (that magento has created)
  • Flush Cache Storage - clears the cache of everything that is in the cache (includes that created by other sites)
Published in Magento
Monday, 18 June 2012 17:21

Disable / Enable Profiler in Magento

If you have Profiler enabled in Admin / System / Configuration / Developer, you will see a link on the bottom of each page “[Profiler]”, and when you click on it, will expand to table that shows statistics about times, number of execution and memory used for each watched fragment of the code. It will also show profiling statistics for main connection to database and queries.

Published in Magento

 

Symptoms: TLS/SSL Socket 443 failure is preventing access to my Administrative (backend | control panel) or my Admin has been set to use secure access before TLS/SSL has been activated

1. Open your core_config_data table in phpMyAdmin.

2. Find the row with the path web/secure/use_in_adminhtml and change its value field from 1 to 0 to enable accessing admin panel from unsecure http://www.yourwebsite.com/admin url

Changing web/secure/use_in_frontend toggles customer shopping cart security, 1=on and 0=off which probably isn't of importance as you're trying to regain administrative access

3. Clear /var/cache, /var/session and after you've done the above and regained access your system, reindex your URL_rewrite index after changing settings. This is necessary because your config is cached and clearing it forces a reread of the configuration data from the core_config_data table.

You should now be able to access your Magento Admin panel by standard unsecured web access (port 80, http).

NOTE: Be aware that accidentally entering your leading https:// instead of http:// on your unsecure_base_url before you have enabled TLS/SSL on your webserver will lock you out, so if the above doesn't get you in, look for rows with web/unsecure/base_url and check for the aforementioned misconfiguration

Published in Magento

 

I am completely new to Magento.
I am trying to set it up on my wamp server.

But, during installation in the Web Access Options section under the Base URL, it gives a suggestion http://localhost/magento,
yet when clicking on continue it warns with :"Please enter a valid URL. Protocol is required (http://, https:// or ftp://)”.


 

Just disable your javascript using web developer toolbar in firefox

or for a permanent fix

1. Go to js\prototype and open the file “validation.js”. (FYI : All the validation takes place through this script on both front end and back end)

2. Find this line and remove it / Comment it

[’validate-url’, ‘Please enter a valid URL. Protocol is required (http://, https:// or ftp://)’, function (v) {
return Validation.get(’IsEmpty’).test(v) || /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i.test(v)
}],

3. Now continue your installation it works like a cake !!!

4. After your installation, Don’t forget to add it / uncomment it for validation of URLs in future  

or

 

Open \app\design\install\default\default\template\install\config.phtml and remove the class ‘validate-url’ from the base url input textbox. The textbox name is ‘config[unsecure_base_url]‘.

For more detailed information, visit our magento development blog.

www.blog.ecommercesoftwaresolutionsonline.com/archives/1014/magento-please-enter-a-valid-url-protocol-is-required-http-https-or-ftp-issue-in-magento-installation.html

Published in Magento

 

New order mails: System -> Configuration -> Sales Emails -> Order -> Send Order Email Copy To.

Low stock notifications are not sent as emails but as an RSS feed: Catalog -> Manage Products -> Notify Low Stock RSS.

Published in Magento

 

This is pretty easy, actually is just a Magento back-end configuration setting.

All you have to do is go into SYSTEM > CONFIGURATION > TAX ( part of SALES) and under the Price Display Settings set the Display Product Prices In Catalog to show Including and Excluding TAX.

Published in Magento
Monday, 18 June 2012 13:15

How to view Magento Error Logs

 

Mostly while working with Magento, you end up with serious errors or broken stuffs. So, Magento Error Logs come to the rescue here. Whenever you have a serious error on your site, you can just view your error logs and debug the error and get rid of that situation. As simple as it is.
Many of you may be wondering, how to switch on Magento Error Logs or view it. So,here are the simple steps :

1) Turn on your logging: Admin
> Configuration > Developer > Log Settings > Enabled = Yes

2) Watch your var/log/system.log and var/log/exception.log for raw information from this.

You may run into file permission errors, so you might need to set your folder permissions appropriately.

Published in Magento
Monday, 11 June 2012 00:00

PHP Operators: The === Operator

PHP’s === Operator enables you to compare or test variables for both equality and type. Refer below for example.

{code class="brush: php;"}{/code}

Published in PHP
Page 64 of 95