Welcome Guest, Not a member yet? Register   Sign In
Bug? in Database Library
#5

[eluser]ifew[/eluser]
i tested in my server (DA, apache 1.3, php 5.2, mysql5)
it show error

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 41 bytes) in /public_html/system/database/drivers/mysql/mysql_result.php on line 168

sql command in controller
Code:
$this->db->from('tag');
$this->db->where('metaname', "category");
$this->db->order_by("id", "desc");
$query = $this->db->get();
$template['list_category'] = $query->result();

database
Code:
CREATE TABLE `tag` (
  `id` tinyint(5) NOT NULL auto_increment,
  `parent_id` tinyint(5) default NULL,
  `language` varchar(15) collate utf8_unicode_ci default NULL,
  `metaname` varchar(20) collate utf8_unicode_ci default NULL,
  `name` varchar(100) collate utf8_unicode_ci default NULL,
  `slug` varchar(100) collate utf8_unicode_ci default NULL,
  `description` varchar(255) collate utf8_unicode_ci default NULL,
  `keyword` varchar(255) collate utf8_unicode_ci default NULL,
  `counter` int(10) default '0',
  `image` varchar(110) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


Messages In This Thread
Bug? in Database Library - by El Forum - 06-03-2008, 05:22 AM
Bug? in Database Library - by El Forum - 06-03-2008, 07:36 AM
Bug? in Database Library - by El Forum - 06-03-2008, 09:31 PM
Bug? in Database Library - by El Forum - 06-04-2008, 08:40 AM
Bug? in Database Library - by El Forum - 06-05-2008, 07:16 AM
Bug? in Database Library - by El Forum - 06-05-2008, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB