What does your select statement look like? On Sun, May 2, 2010 at 5:43 PM, Parijat Kalia <kaliapari...@gmail.com> wrote: > Hey guys, > > I have a DB table called configurations , that has the following columns > > config_id -tiny int auto_incremented and primary key > admin_id varchar not null > topics varchar not null > languages tinyint not null > courses varchar(255) not null > group_id int(11) not null > > In a certain action, I have a doselect query, which selects columns topics, > languages, courses > > what I get as an error is this: > > Notice: Undefined offset: 3 in > C:\dev\sfproject\lib\model\om\BaseConfigurations.php on line 317 > > Notice: Undefined offset: 4 in > C:\dev\sfproject\lib\model\om\BaseConfigurations.php on line 318 > > Notice: Undefined offset: 5 in > C:\dev\sfproject\lib\model\om\BaseConfigurations.php on line 319 > > The lines 317 through 319 on the BaseConfigurations.php page are > > $this->languages = ($row[$startcol + 3] !== null) ? (int) $row[$startcol + > 3] : null; > $this->courses = ($row[$startcol + 4] !== null) ? (string) > $row[$startcol + 4] : null; > $this->group_id = ($row[$startcol + 5] !== null) ? (int) > $row[$startcol + 5] : null; > > > > have no clue what's up with this! Anyone with an understanding of thsi, > pleas help! > > Thanks a lot > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en >
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en