Re: Problème WHERE

tofulm <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
ce problème de sql_quote c'est ici que cela plante :

https://git.spip.net/spip/spip/src/branch/master/ecrire/public/composer.php#L941

ce qui est etonnant, c'est une fonction sql_select qui est appelé et qui 
fait planté sql_quote.



Le 14/04/2021 à 16:37, tofulm a écrit :
>
> Oui effectivement, on peut enlever les quote autour de $type.
>
> par contre,  il y a un log dans mysql.log:
>
> ecrire/base/connect_sql.php:L169:spip_sql_erreur()::Pub:ERREUR: Erreur 
> 1305 de mysql: FUNCTION spip33_sngpckda.sql_quote does not exist
>
>
>
> Le 14/04/2021 à 16:05, Cerdic a écrit :
>> Ah bien vu, je pense que tu l’as quasiment.
>> Dans le second cas c’est 
>> probablement  array("=" , "$obj",sql_quote($type))
>>
>> -- 
>> Cédric
>>
> -- 
> tofulm

-- 
tofulm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.