Linux | naveenOS https://www.naveenos.com How may I help you - Magento Certified Developer Sun, 17 Jul 2016 13:19:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 How to replace string in parentheses using regex https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex#respond Wed, 27 Jun 2012 15:05:01 +0000 http://www.naveenos.com/?p=525 PHP, Java and other languages provide replace all functionality to replace any character by any specific character. But REGEX is best method to replace or remove any specific value using pattern. Suppose, we have input string is $xyz = "This is my best (friend)"; and we want to remove words from “()”. So it so […]

The post How to replace string in parentheses using regex first appeared on naveenOS.]]>
https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex/feed 0
Fatal error: Call to a member function addFieldToFilter() on a non-object in magento https://www.naveenos.com/2012/04/fatal-error-call-to-a-member-function-addfieldtofilter-on-a-non-object-in-magento https://www.naveenos.com/2012/04/fatal-error-call-to-a-member-function-addfieldtofilter-on-a-non-object-in-magento#respond Tue, 24 Apr 2012 08:00:50 +0000 http://naveenos.com/?p=484 Have you upgraded your magento version OR installed any module/extension manually? If you getting this error: “Fatal error: Call to a member function addFieldToFilter() on a non-object ……” after doing any step above then you have to following steps to solve: Step 1: Re-index the all tables. a) To re-index Go to your site admin […]

The post Fatal error: Call to a member function addFieldToFilter() on a non-object in magento first appeared on naveenOS.]]>
https://www.naveenos.com/2012/04/fatal-error-call-to-a-member-function-addfieldtofilter-on-a-non-object-in-magento/feed 0
Magento: Fatal error: Call to a member function getModelInstance() on a non-object in appMage.php on line https://www.naveenos.com/2012/04/magento-fatal-error-call-to-a-member-function-getmodelinstance-on-a-non-object-in-appmage-php-on-line https://www.naveenos.com/2012/04/magento-fatal-error-call-to-a-member-function-getmodelinstance-on-a-non-object-in-appmage-php-on-line#comments Fri, 13 Apr 2012 07:51:16 +0000 http://naveenos.com/?p=481 Today we are working on cron file that will call all model methods of my custom module. But we are getting error: "Magento: Fatal error: Call to a member function getModelInstance() on a non-object in appMage.php on line 141". when we are using: require_once 'app/Mage.php'; $customobj = Mage::getModel('custommodule/custommodule'); It was amazing for us that we […]

The post Magento: Fatal error: Call to a member function getModelInstance() on a non-object in appMage.php on line first appeared on naveenOS.]]>
https://www.naveenos.com/2012/04/magento-fatal-error-call-to-a-member-function-getmodelinstance-on-a-non-object-in-appmage-php-on-line/feed 1
What is Memcached? https://www.naveenos.com/2011/11/what-is-memcached https://www.naveenos.com/2011/11/what-is-memcached#respond Tue, 29 Nov 2011 11:50:52 +0000 http://naveenos.com/?p=440 Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached is simple yet […]

The post What is Memcached? first appeared on naveenOS.]]>
https://www.naveenos.com/2011/11/what-is-memcached/feed 0
Linux: How to use serach command in Linux? https://www.naveenos.com/2011/05/linux-how-to-use-serach-command-in-linux https://www.naveenos.com/2011/05/linux-how-to-use-serach-command-in-linux#comments Mon, 16 May 2011 11:33:49 +0000 http://naveenos.com/?p=361 In windows we can easily find the any file in the folder and it doesn’t matter that how many folders inside that folder.. and it is possible by pressing F3 key on the keyboard. But in the linux we have to use command prompt to find such type of searching. In ubuntu we can do […]

The post Linux: How to use serach command in Linux? first appeared on naveenOS.]]>
https://www.naveenos.com/2011/05/linux-how-to-use-serach-command-in-linux/feed 2