Jump to content


David Leiva

Member Since 09 Apr 2012
Offline Last Active Apr 01 2013 03:26 PM
-----

Topics I've Started

where is stored uploaded image path?

01 April 2013 - 01:19 PM

maybe this is a stupid question, but i do not find the solution.. please help.

 

I move a uploaded image to another directory in after upload question...

 

After do that, obiously, image cant be displayed in the list view, firebug raise Network error event because image is not there..

 

I have checked the database and there is no path in the image field..

 

so... how can GC display the images of the table, if they have been moved to another places?  i have a forlder for each row.. which contains the image.

 

thanks in advance..


library error when bootstrap theme and datetime field

01 April 2013 - 12:36 PM

Hello,

 

I think this is a little bug.

 

 

I have a table with 2 datetime fields.

 

When table is displayed with grocery crud i get:


A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: libraries/grocery_crud.php

Line Number: 278
A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: libraries/grocery_crud.php

Line Number: 278

   It seems to be a problem with the datetime parser.

anyone can confirm this?

 

Thankss..


relation n_n missing when unset field

23 October 2012 - 07:17 PM

Hello,

I think this is a bug.

I have a relation_n_n working fine in view mode.
I need to edit the record but with no relation_n_n changes, so I use unset_fields or unset_edit_fields to avoid the relation modification in edit mode but when changes are applied the relation records are deleted so after that i can not see the records in the view mode.

Of course, if i dont use unset_fields, i can see the relation in edit mode, and when i save it, everything works fine.

any solution?

callback_after_insert primary key = 0 ??

05 October 2012 - 12:25 PM

Hello,

Very strange..
I'm using the callback_after_insert, but the $primary_key parameter is 0 but the record was inserted correctly...

I check the $this->db->insert_id() inside the callback function and same value... 0,

any ideas ?
thanks

ajax_list_info ambiguous field in search

27 September 2012 - 05:43 PM

Hello,

I have a table with some fields and some relations with others.

I get the list view with no problem, but when i try to filter the results (using the search feature in flexigrid table) I get:

500 Internal Server Error - http://localhost/bb/...ajax_list_info"

With firebug i got the server response and the problem is that the query is ambiguous in one field..

Error Number: 1052</p><p>Column 'name' in where clause is ambiguous</p><p>
how could i sove this ?

thanks