DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Ajax DataGrid  
DwZone Forum Index -> Ajax DataGrid

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 171 to 180 of 485 (Total: 409) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Adding a record  
View this persons public profile  Andrew   3:18 2 Nov 2011  
   Re: Adding a record  
View this persons public profile  Gianluigi   9:23 2 Nov 2011  
    Re: Adding a record  
View this persons public profile  Andrew   14:08 2 Nov 2011  
 
Ok found the problem. The record was being saved, but I had left off one field which was the one used to determine what was displayed in the grid. All sorted now. Thanks for your help.

Just one issue, when adding in the hidden field for field that is used to create the recordset, I am getting this error in the error log and a blank screen because of it.


[Thu Nov 03 08:41:37 2011] [error] [client ] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in individual_records_misc.php on line 166, referer:

I found this line that was created and it looks incorrectly formed.

$dwzGrid_1->SetMainPar("600|_@_|200|_@_|void|_@_|false|_@_|true|_@_|false|_@_|false|_@_|false|_@_|false|_@_|false|_@_|false|_@_|true|_@_|true|_@_|true|_@_|false|_@_|true|_@_|false|_@_|true|_@_|15|_@_|10,15,20,25,40|_@_||_@_|Form|_@_|en|_@_|utf-8;65001;Unicode (UTF-8)|_@_|like|_@_|date|_@_||_@_|false|_@_|Required|_@_|Max length must be {1}|_@_|Text format|_@_|Date format|_@_|Min value must be {1}|_@_|Max value must be {1}|_@_|Not the first item|_@_|false|_@_||_@_|false|_@_|false|_@_|false|_@_|false|_@_|false|_@_|,|_@_|No|_@_|false|_@_|root|_@_|row|_@_|Nodes|_@_|false|_@_|None;12;#000000;false;false;false;#FFFFFF|_@_|None;12;#000000;false;false;false;#FFFFFF;0;#000000;0,3|_@_|A4;L;25;25;25;25;false;Center;1|_@_|No|_@_|georef_id|_|String|_|#_start_# #_ec_ho_# $_SESSION['georef_id'] ."#_dot_comma_# #_end_#|_|Always|_@_||_@_||_@_|#000000|_@_|0.6|_@_|10|_@_|350|_@_|_s|_@_|false|_@_|None|_@_|<b>{0} - {1} Item(s)</b>|_@_|false|_@_|false|_@_|false|_@_|false|_@_|false|_@_|ASC|_@_|false|_@_|false|_@_||_@_||_@_||_@_|");

Where it has $_SESSION['georef_id'] ."#_dot_comma_#

There seems to be a double quote where it shouldn't be. I tried fixing it manually with #_ec_ho_# trim(" .$_SESSION['georef_id'] .")#_dot_comma_#

but although the error went away, there was no value going into the database, and yes the session has been set because if it wasn't there would be no results in the grid.
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Adding a record  
View this persons public profile  Gianluigi   2:21 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Andrew   2:57 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Andrew   3:02 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Gianluigi   3:27 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Andrew   3:42 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Gianluigi   3:58 3 Nov 2011  
   Re: Adding a record  
View this persons public profile  Andrew   16:47 3 Nov 2011  
Last Visit: Saturday 11 Jan, 2025 0:43 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: