Web and Technology
  • Home
  • About
  • techtalk
  • links
  • puzzles
  • blog

Why not to have just facebook signup box for registration on your website

On November 25, 2011 · Leave a Comment · In techtalk

Few days ago, i came across a website zoomin.com, they were giving away a 20 page free photo book for every new signup.

Without a delay, i clicked on signup button, and guess what.. i see the following error page

Obviously, soon enough i realized that the error was [...]

Continue Reading →

Category Navigation Links in Magento

On September 18, 2011 · Leave a Comment · In techtalk

Sometimes new Megento users keep wondering how to add Category Navigation Links/Tree on the homepage.

For this you have to add atleast one subcategory in “default root category”

Select Catalog->Manage Categories Click on “default category” Select Add Subcategory button on top Make sure to select “Yes” for isActive and “Include in Navigation Menu”

Continue Reading →

Php: Fatal error: Allowed memory size of 134217728 bytes exhausted

On September 12, 2011 · Leave a Comment · In techtalk

You might notice these errors often if you are working with large size objects:-

Fatal error: Allowed memory size of 33554432 bytes exhausted
Fatal error: Allowed memory size of 134217728 bytes exhausted

You can try to increase the memory_limit by adding this statement in your php.ini file:-

ini_set(“memory_limit”, “256M”);

However you can still [...]

Continue Reading →

Php: Fatal error: Call to undefined function mb_detect_encoding()

On September 12, 2011 · 1 Comment · In techtalk

To Fix this error you most probably have to install mbstring extension for php.

From your server command line as root:

yum install php-mbstring

And restart apache:

service httpd restart

Things should be fine then, if it still does not work then you might need to enable mbstring extension in your php.ini file(generally found in [...]

Continue Reading →

Awesome dance by a fat kid

On September 9, 2011 · Leave a Comment · In links

Continue Reading →

PHP Warning: preg_match_all(): Compilation failed: unrecognized character after (?< at offset

On September 6, 2011 · Leave a Comment · In techtalk

While using preg_match_all function in php, i came across this issue of Compilation Failed.

On executing

preg_match_all(‘/<div>(?<product>.*)<\/li>/sU’, $body, $matches)

I got the following error:

PHP Warning:  preg_match_all(): Compilation failed: unrecognized character after (?< at offset 32 in …

This is probably you are having old version of pcre (for me it was 6.6-6) which needs [...]

Continue Reading →

PHP: Double quotes vs Single quotes

On August 30, 2011 · Leave a Comment · In techtalk

A famous interview question for php:- What to use to initialize a string in php ? Single quotes(‘) or Double quotes(“) ?

You should know the difference between these two, for e.g.

$website = “http://www.aviank.com”; $doubleQuoteStr = “I love $website”; $singleQuoteStr = ‘I love $website’; echo $doubleQuoteStr; echo $singleQuoteStr;

Output to above php script will [...]

Continue Reading →

[How To] Work using screens in Linux – Screen Commands

On August 20, 2011 · Leave a Comment · In techtalk

If you work on external linux machines (production servers, staging servers), then this post is for you.

Suppose there is server, on which an application is running, Now each time you login to the server you need to go to the application path, at the same time you may also want to look at the [...]

Continue Reading →

Poker Hands Ranking Order

On June 25, 2011 · Leave a Comment · In blog

This post is just for reference while playing poker.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1) Royal Flush - A straight from a ten to an ace with all five cards of the same suit. In poker all [...]

Continue Reading →

Nice FreeMarker (FTL) Editor for Eclipse

On June 6, 2011 · Leave a Comment · In techtalk

If you are working on a java project, and are using freemarker template language (FTL) for front end, you would have noticed the default editor doesn’t show any ftl tags in different colors, or autocomplete them.

If you are looking for a good editor for eclipse with FTL support, JBoss Tools may be of [...]

Continue Reading →
← Previous Entries
  • Subscribe
  • Recent Posts

    • Why not to have just facebook signup box for registration on your website
    • Category Navigation Links in Magento
    • Php: Fatal error: Allowed memory size of 134217728 bytes exhausted
    • Php: Fatal error: Call to undefined function mb_detect_encoding()
    • Awesome dance by a fat kid
  • Favourite Sites

    • Buy Handmade Greeting Cards
    • Do you like puzzles?
    • Get Custom Search Engine
    • Plan/Manage Your Trips
  • Browse by Tags

    3D apache2 chetan bhagat commercials creative css cURL dance emerald english entrepreneurs facebook freemarker funny gadgets games google google logo iit illiteracy india inspirational internet explorer Java javascript JSP lecture linux logo love maven motivational mplayer multimedia player mysql news photoshop php phpmyadmin Play startup struts2 tutorial ubuntu web design
  • Recent Comments

    • 余票查询 on Php: Fatal error: Call to undefined function mb_detect_encoding()
    • admin on How To Create New Google Logo – Photoshop Tutorial
    • Thavish Annal on How To Create New Google Logo – Photoshop Tutorial
    • admin on [How To] Create a Sticky Sidebar – which scrolls with page
    • Euri on [How To] Create a Sticky Sidebar – which scrolls with page
  • Archives

    • November 2011 (1)
    • September 2011 (5)
    • August 2011 (2)
    • June 2011 (3)
    • May 2011 (1)
    • April 2011 (1)
    • February 2011 (1)
    • January 2011 (2)
    • November 2010 (1)
    • September 2010 (1)
    • July 2010 (1)
    • June 2010 (8)
    • May 2010 (13)
    • April 2010 (14)
    • March 2010 (3)
    • September 2008 (1)
    • August 2008 (5)
    • July 2008 (11)
    • May 2008 (2)
    • February 2008 (2)
    • December 2007 (32)
    • November 2007 (10)

© Labalab Labs