Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » getData_raw is calling post data processing (Function is not behaving as per the documentation)
Re: getData_raw is calling post data processing [message #7926 is a reply to message #7925] Wed, 01 October 2025 06:31 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 287
Registered: August 2008
Senior Member
That hasn't worked for me Tony. My code is

                // If the number of rows retrieved is more than the maximum sequence number then don't display some of the output task buttons
                $exammax =& RDCsingleton::getInstance('exam');
                $exammax->sql_select = "MAX(exam_seq_nbr) as maxseq";
                $exammax->sql_where = "rdc_no_post_getdata=true";
                $max_seq = $exammax->getData_raw($where);
and this has generated the following error:

Fatal Error: MySQL: Unknown column 'rdc_no_post_getdata' in 'where clause' (# 1054)
SQL query: SELECT MAX(exam_seq_nbr) as maxseq FROM exam WHERE rdcaccount_id='6' AND session_id='37' AND rdc_no_post_getdata=true
Error in line 1046 of file '/var/www/medaltest.com/includes/dml.mysqli.class.inc'.

I'll step through with my debugger and see if I can find out what happened.

However, I noted that the line numbers you quoted don't seem to match with what I'm seeing in std.table.class.inc. The header in that file is dated 14/11/24 and says revision 52.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: File classes/mnu_chart.class.inc is missing
Goto Forum:
  


Current Time: Sat Oct 25 16:16:09 EDT 2025

Total time taken to generate the page: 0.00897 seconds