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
[SOLVED] Infobar error on TTV3.0 SB_DARK
Controls ·  Search New posts · Mark unread

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

Unknown User
2019-11-07 16:10:57
Im use TTV3.0 fresh install. After login see this error
[ATTACH type="full" alt="5225"]5225[/ATTACH]

This error [color=rgb(184, 49, 47)]"...Warning: Use of undefined constant username - assumed 'username'[/color] ... "  this problem on each page!? :unsure:

How to fix it!!  [color=rgb(97, 189, 109)]I solved the problem that way;[/color]

I open header.php and line 90

 print ("Connected as: <b>".class_user($CURUSER[username])."</b><img src='themes/SB_DARK_TTV3/images/blank.gif' width='20' height='24' alt='espace' />"); 


and changed it

print ("Connected as: <b>".class_user($CURUSER['username'])."</b><img src='themes/SB_DARK_TTV3/images/blank.gif' width='20' height='24' alt='espace' />"); 


....need username add '...' symbols
ttv3-error.png
ttv3-error.png
2019-11-07 23:22:40
you got it. Thats how you fix that
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)
Unknown User
2019-11-08 01:34:17
Yes, at first I had this problem. Later I found a solution to this problem with google help :)
2019-11-09 16:49:13
I fixed most of those, but im sure there are a few that I missed since I have no way to 100% test the whole script since I have no live site to find these errors as they pop up.
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)
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728