Wednesday
31 December
2014

tmp issue while Magento installation..

Issue While Magento installation..

 

Getting /tmp directory issue in Magento, ahh its really annoying but the solution behind it very simple. .. you will see error like this.. 

 

-#0 /home/daan/domains/../library/Zend/Cache/Backend/File.php(154): Zend_Cache::throwException('cache_dir must ...')
 -#1 /home/daan/domains/../library/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->setCacheDir('/domains/daan.h...')
 -#2 /home/daan/domains/../library/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
 -#3 /home/daan/domains/../library/Zend/Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
 -#4 /home/daan/domains/../library/Zend/Locale/Data.php(307): Zend_Cache::factory('Core', 'File', Array, Array)
 -#5 /home/daan/domains/../library/Zend/Locale/Format.php(796): Zend_Locale_Data::getList('nl_NL', 'day')
 -#6 /home/daan/domains/../library/Zend/Locale/Format.php(1106): Zend_Locale_Format::_parseDate('16-02-2013', Array)
 -#7 /home/daan/domains/../library/Zend/Date.php(4763): Zend_Locale_Format::getDate('16-02-2013', Array)

 

So the solution is first if you are using linux then give right permission to /var/cache folder, if you are using Window machine then first check in root folder , do you have tmp folder?

If not then please create tmp folder into the root. 

Still pertaining with the issue then please check this..

 

Go to this location lib/Zend/Cache/Backend/ and open file.php file you'll see the code something like this

protected $_options = array(
'cache_dir' => null,
'file_locking' => true,
'read_control' => true,
'read_control_type' => 'crc32',
'hashed_directory_level' => 0,
'hashed_directory_umask' => 0700,
'file_name_prefix' => 'zend_cache',
'cache_file_umask' => 0600,
'metadatas_array_max_size' => 100
);


change this code as below

protected $_options = array(
'cache_dir' => '/var/www/html/raindrops/magento/tmp',
'file_locking' => true,
'read_control' => true,
'read_control_type' => 'crc32',
'hashed_directory_level' => 0,
'hashed_directory_umask' => 0700,
'file_name_prefix' => 'zend_cache',
'cache_file_umask' => 0600,
'metadatas_array_max_size' => 100
);

 

Wednesday
17 December
2014

Understanding Mobile Back End As A Service

Understanding Mobile Back End As A Service

What if you could create an entire back end for your mobile applications that was feature-complete in data synchronization, push-notification support, user management and file-handling before you even started building the mobile experience? What if it was architected in such a way that you could easily create new cross-platform native and web...

Wednesday
17 December
2014

Design Principles: Visual Weight And Direction

Design Principles: Visual Weight And Direction

Every element on a web page exerts a visual force that attracts the eye of the viewer. The greater the force, the more the eye is attracted. These forces also appear to act on other elements, imparting a visual direction to their potential movement and suggesting where you should look next.

We refer to this force as visual weight1 and to the...

Wednesday
17 December
2014

Encrypting Blacklisted Words In WordPress With ROT13

Encrypting Blacklisted Words In WordPress With ROT13
3
(See large version

Countless algorithms for encrypting data exist in computer science. One of the lesser known and less common encryptions is ROT13, a derivative of the Caesar cypher1 encryption technique.

In this tutorial, we'll learn about ROT13 encryption and how it works. We'll see how text (or strings) can be programmatically encoded in ROT13 using... Now that we know what the options page will look like, let's build it using WordPress' Settings API5

Building the Settings Page

First, we create a submenu item in the main "Settings" menu by using add_options_page(), with its parent function hooked to admin_menu action.

Wednesday
17 December
2014

How To Master Fireworks' CSS Properties Panel And CSS Professionalzr

How To Master Fireworks' CSS Properties Panel And CSS Professionalzr
The article "Extracting CSS Properties From Design Objects in Fireworks71

Today, being a designer is about much more than drawing beautiful interfaces in Photoshop or Fireworks. To properly design a website or application, a UI designer must understand the technology with which their products will be built; therefore, they must have a minimum set of front-end development skills. The World Wide Web is not static. Quite...

Friday
17 December
2014

Upcoming Web Design Events (Dec. 2014 – June 2015)

Upcoming Web Design Events

The year may be slowly coming to an end, but there are still so many exciting conferences to keep in mind before we turn our calendars over to 2015. Our industry's indefatigable speakers aren't quite done yet!

We have to admit though, 2014 was a truly exciting year! With so much happening in the industry, conference organizers have done...