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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 173
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 113
  • Total: 113

DL manager error.

Started by Dynotrick, January 10, 2009, 11:41:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dynotrick

I get this error when I click "Upload" in the file manager admin area.  It appears on a blank white page.

8: Undefined variable: request
File: /var/www/forums/Sources/TPdlmanager.php
Line: 308


Running SMF 1.1.7 and TP 1.0.6 beta2
no mods installed (other than TP of course)

Anyone able to help with this?

G6Cad

Have you tried to upload a smaller file and with other exstensions ?

Alsowhen you name a file you want to upload, you cant have any spacing or signs in the file name

Dynotrick

I don't even get that far.  Blank white page as soon as I click to go to the upload page.


G6Cad

Make sure you got TP installed properly.

Upload the files from the package manually and then check the TP code inside the SMF files so it got added correctly.

Here is a guide for the code you can follow
Modification Instructions

Dynotrick

After thinking about this a bit more I'm pretty sure TP is installed right.  No errors from install and all those files look ok like on the page you mentioned.

This was all working fine until today.  In thinking what could have changed I remembered I was trying to upload a file last night, and having some trouble downloading it again.  I looked in the forum error log and found it's 1,118,481 pages long.  I looked at the database in PHPmyadmin and see the db_forumslog_errors table has 16,777,215 entries and is 3.9Gb.  Looks like it all happened in on second while trying to download that file.  What could have caused this? 

 


IchBin

If I were you I would empty that error log. Then deal with the errors that you are getting. You may not be getting some of those anymore. Also, many of the errors you're asking about have already been reported and asked about.

Dynotrick

#6
I've emptied that table in the database and now it's half working.  Uploading and Downloading small files (under 2 or 3 mb) works but I get the following errors on uploading (no error with downloading).

XXXXX   Today at 03:25:10 pm
XX.XX.XX.XX    34e0a4e4040b9ce78bac33fb20c5c5d2
http://XXXX.com/forums/index.php?action=tpmod;dl=upload
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /var/www/forums/Sources/TPdlmanager.php
Line: 308

XXXXX Today at 03:25:10 pm
XX.XX.XX.XX    34e0a4e4040b9ce78bac33fb20c5c5d2
http://XXXX.com/forums/index.php?action=tpmod;dl=upload
8: Undefined variable: request
File: /var/www/forums/Sources/TPdlmanager.php
Line: 308


Larger files (10mb+) produce the same error but no file is uploaded and it resets to the upload form with no fields filled out.  Also there is no limit on the server for upload size, this is a server I own, not a shared host.

Searched on this error and haven't found anything really helpful.  Maybe I'm using the wrong search terms?

Dynotrick

Another thing I can't find any mention of after over an hour of searching the forum here. 

I'm uploading via FTP and attempting to assign multiple files to an existing category.  However this does not seem possible as the system always creates a new category to put them in. 

For example I leave the "New Category" field blank and pick the existing category from the drop down menu.  It will assign the files to a new category called "-no name-" within the category I chose.  What I want to do is assign the files into my chosen category.

Is there a way to do this?  Or do I need to go into each file and reassign them to my desired category?

G6Cad

QuoteIs there a way to do this?  Or do I need to go into each file and reassign them to my desired category?

Yes

bloc

It seems like an error, please report it in the Bugtracker - if not done already.

This website is proudly hosted on Crocweb Cloud Website Hosting.