Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
need help again
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-04-10 11:40:18
how this should be i get error 500, i think the line to be modified is this

if (mysqli_errno() == 1062)


and the code

if (!$res) {
if (mysqli_errno() == 1062)
 show_error_msg("Error", "It appears you tried to send your application twice.");
else
 show_error_msg("Error", "It appears something went wrong while sending your application. Please <a href=uploadapp.php>try again</a>.");
 } else
show_error_msg("Application sent", "Your application has succesfully been sent to the staff.");


Thx in advance
2022-04-10 13:51:16
if (!$res) {
if (mysqli_errno($GLOBALS["DBconnector"]) == 1062)
show_error_msg("Error", "It appears you tried to send your application twice.");
else
show_error_msg("Error", "It appears something went wrong while sending your application. Please <a href=uploadapp.php>try again</a>.");
 else
show_error_msg("Application sent", "Your application has succesfully been sent to the staff.");
}
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2022-04-10 13:55:23
2022-04-10 16:46:21
yep works thx
Last edited by djlive on 2022-04-10 16:57:10
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728