TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,061
  • Total Topics: 21,338
  • Online today: 234
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 179
  • Total: 179

Error in download manager code

Started by gonther, September 26, 2008, 12:28:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gonther

Sorry, I don't know if this is a tiny portal specific error. I'm rather new to PHP.
When I go to the download section of my forum (TinyPortal v0.9.8 ), the page source starts with

GET /index.php?action=packages HTTP/1.1
Host: www.9xp.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en;q=0.7,zh;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.9xp.de/index.php?action=serversettings;sesc=4882b7c5fe400366a8d0918e3796062e
Cookie: PHPSESSID=5598ae29bbfbf85d40aaf300c39a1c1b; SMFCookie592=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%221%22%3Bi%3A1%3Bs%3A40%3A%22c81e86843a19c468a3848a788199b7286d808e9b%22%3Bi%3A2%3Bi%3A1407162138%3Bi%3A3%3Bi%3A0%3B%7D
If-Modified-Since: Tue, 05 Aug 2008 14:37:46 GMT


After this, it continues normally with "<!DOCTYPE html PUBLIC ..." etc.
Its only in the downloads section (/index.php?action=tpmod;dl)

Any idea?

gonther

#1
Update:

It seems to be some information the browser sends to the server. It always looks the same, so it must be old information stored somewhere on the server. I searched the MySQL databases for it with no result.

It's very strange. I'll contact my provider about it.


EDIT: Problem solved!  :)
I found the above text in .\Themes\default\languages\TPmodules.german-utf8.php
I have no idea how it got there. I recently installed the 'Language File Compare' and the 'Load Standard Language' mods. Maybe, something went wrong with this.

This website is proudly hosted on Crocweb Cloud Website Hosting.