You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISE
Hi,
I can't get the Decimal Data type to work - all other types and auto
generated code work like a dance.
I continue to get Bind parameters failed Exception when I use the Data
type Decimal in my model.
Snippet from the auto generated code that fails:
if(!$mysqli_stmt->bind_param('i did......
From my error log I can see:
PHP Warning: mysqli_stmt::bind_param(): Undefined fieldtype
(parameter 3)
System:
Rise Editor 4.5.0.8
mysql Ver 14.14 Distrib 5.1.61, for redhat-linux-gnu (x86_64) using
readline 5.1
Code generators:
PHPforMySQL.exe
MySQL.exe
Any ideas?
Brgds.,
Kasper
oldby
unread,
Feb 28, 2012, 6:46:41 PM2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISE
Notice - there is a " " (whitespace) in the auto generated code for
the mysqli_stmt, I thought it could only be one of: (i|d|s|b)
Brgds.,
Kasper
oldby
unread,
Feb 28, 2012, 7:23:43 PM2/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISE
If I alter the auto generated code and add "d" instead of the
whitespace, the Decimal Data type works just fine.
Is this an error in the PHPforMySQL code generator - anyway, what is
the best fix to this problem?
Brgds.,
Kasper
Ola Hellgren
unread,
Feb 29, 2012, 5:15:58 AM2/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISE
Hi Kasper,
Thanks for informing us!
There's a fix available. Please, upgrade your PHPforMySQL by starting
the it, from the Windows start menu, and selecting "check for upgrade"
found in the Help menu.