How to fix "Database Error. Please report this to an administrator" ?
v TT v3.0
v TT v3.0
www.allinonetorrent.com
faruk:I try Upload torrent then this problem
if (!empty($_POST["name"]))
$name = $_POST["name"];
$name = (isset($_POST['name']) && !empty($_POST['name'])) ? preg_replace('/[^a-zA-Z0-9_ %\[\]\.\(\)%&-]/s', '', $_POST['name']) : 'Unknown Name';
Quote:$name = (isset($_POST['name']) && !empty($_POST['name'])) ? preg_replace('/[^a-zA-Z0-9_ %\[\]\.\(\)%&-]/s', '', $_POST['name']) : 'Unknown Name';
$name = (isset($_POST['name']) && !empty($_POST['name'])) ? preg_replace('/[^a-zA-Z0-9_ %\[\]\.\(\)%&-]/s', '', $_POST['name']) : 'Unknown Name'mysql -u root -p -e "SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION';"STorrents2020:Why on earth are you adding non-integer values as the primary key in your table? Is that even possible?The code is perfect. Trust me, I would get out of your database before other things begin to go haywire, just a word of advice. This is why experienced never encourage others clearly in need of help to race over and start editing fields/types/Engines.
STorrents2020:Anyway, what is the error mesage?
No users online
Torrents
Members
Online