Error upgrading to newer WordPress version

Posted by cikul | Posted in PHP, web, wordpress | Posted on 14-11-2009-05-2008

5

Today I trying to upgrade my WordPress to newer version (2.8.6), but while u try to upgrade i get this error :

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355240 bytes) in /home/cikul/public_html/dhika/wp-includes/http.php on line 1331

To Solve this problem, you must increasing your memory limit options for your application. In wordpress, to increase memory limit you must edit wp_settings.php in your wordpress installation folder.

Read the rest of this entry »

Incoming search terms:

 Fatal error: Out of memory (allocated *) (tried to allocate * bytes) wp-includes/http php on line 1331

How to : Get Category ID in WordPress

Posted by cikul | Posted in PHP, wordpress | Posted on 23-03-2009-05-2008

3

If you’re working on wordpress Theme, sometimes you need to know the categories ID for some categories. For example, in my cases, i need to exclude  “projects” category from my blog posts lists, you can use query_posts(‘cat=-3) for example if you know that project assigned with category ID=3. But if your themes using by several sites, you will difficult to define the category ID, because it will be different on another wordpress installation.

Read the rest of this entry »

Incoming search terms:

 wordpress get cat id|  wordpress get category id|  wordpress get_category_id|  get_category_id wordpress|  get category id wordpress|  wordpress get category id from post id|  wordpress get_cat_ID|  wordpress get cat name|  wordpress get cat id from archive|  wordpress get cat name for post id