Incorrect syntax of function mysqli_real_escape_string in functions.inc.php This error occurs when option 'magic_quotes_gpc' disabled in php config and postfixadmin used own functions to quoting strings. Fix: Patch attached with submission follows: How-To-Repeat: Install postfixadmin with mysqli support. Disable 'magic_quotes_gpc' in php config. Open http://URL_TO_POSTFIXADMIN/admin/create-domain.php When press button to create new domain, you'll get error messages.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->closed Committed. Thanks!
rafan 2008-05-17 13:21:31 UTC FreeBSD ports repository Modified files: mail/postfixadmin Makefile Added files: mail/postfixadmin/files patch-functions.inc.php Log: - Fix mysqli_real_escape_string syntax - Bump PORTREVISION PR: ports/122735 Submitted by: Skalozubov Ilia <root at skinc.su> Approved by: maintainer timeout (1 month) Revision Changes Path 1.27 +1 -1 ports/mail/postfixadmin/Makefile 1.1 +16 -0 ports/mail/postfixadmin/files/patch-functions.inc.php (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"