Closed SyBernot closed 5 years ago
After poking at this a bit more I found this: https://github.com/ADOdb/ADOdb/issues/146
so in the case where your not passing any bind variables the query should likely be
$rs = $onadb->Execute($options['sql']);
This seems to fix it for me ~219-sql.inc.php
if ($sqlopts === NULL){
$rs = $onadb->Execute($options['sql']);
}else{
$rs = $onadb->Execute($options['sql'],$sqlopts);
}
found #84 and #126 so I'll go that route
v18.1.1. Running on php5.6 this works:
this does not
I know this works fine with my old install (php5.3 v13.03.01) and I can't see any changes to sql.inc.php. I suspect it's a combination of a bug in sql.inc.php and a change in the php-mysql stuff. What's bothersome about it is the error doesn't show up in the return and there's that
after the error and I have been unsuccessful at tracking where that comes from down. i.e.
actually prints the error and doesn't have the trailing garbage. This could be something else on my end, I'm about ready to spin up a fresh vm and just do a fresh install but I wanted to check just in case. So can you get that simple select to run on newer versions of php?
I tried running on 7.2 but ran into the login issue in one of the other bug reports.